summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix mypy violationsTakeshi KOMIYA2017-10-071-1/+1
|
* Update type annotations for new mypyTakeshi KOMIYA2017-05-071-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Drop unused code (again)Takeshi KOMIYA2017-03-221-4/+0
| |
* | Revert "Drop unused codes"Takeshi KOMIYA2017-03-221-0/+4
| | | | | | | | This reverts commit 0f47b1d09d4d39a0ac0fe9feb16d1865a84bea75.
* | Drop unused codesTakeshi KOMIYA2017-03-221-4/+0
| |
* | Fix mypy violationsTakeshi KOMIYA2017-02-081-2/+5
| |
* | Remove deprecated pycompat-modulesTakeshi KOMIYA2017-01-071-41/+1
| |
* | Refactor sphinx.util.pycompat (reorder definitions)Takeshi KOMIYA2017-01-021-29/+47
| |
* | fix flake8shimizukawa2016-12-051-1/+2
| |
* | Merge branch '1.5-release' into mastershimizukawa2016-12-051-3/+6
|\ \ | |/
| * Inprovement of warnings mechanism. Now support disabling emit warnings and ↵shimizukawa2016-12-041-1/+2
| | | | | | | | add documentation.
| * Emit several warnings that will be deprecated in Sphinx 1.6. There is no way ↵shimizukawa2016-12-041-3/+4
| | | | | | | | to hide the warnings.
* | Add type-check annotations to sphinx.utilTakeshi KOMIYA2016-11-161-4/+13
|/
* Merge branch 'stable' into 1.5-releaseTakeshi KOMIYA2016-11-161-0/+1
|\
| * insert blank line(s) to adapt latest flake8/pycodestyleshimizukawa2016-11-161-0/+1
| |
* | Use new style python classesTakeshi KOMIYA2016-09-101-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-07-261-1/+1
|\ \ | |/
| * Fix flake8 violationTakeshi KOMIYA2016-07-261-1/+1
| |
* | Refactor code using ``with`` syntaxTakeshi KOMIYA2016-05-261-4/+1
|/
* Merge branch 'stable'Georg Brandl2016-01-141-1/+1
|\
| * Obligatory copyright update.Georg Brandl2016-01-141-1/+1
| |
* | Fixes #1984: Hint None being valid for primary_domain.Robert Lehmann2015-09-111-0/+2
|/
* final pep8 fixes; reactivate most warnings in flake8Georg Brandl2015-03-081-9/+8
|
* util: pep8 fixesGeorg Brandl2015-03-081-4/+9
|
* Merge pull request #1727 from lehmannro/restore-pycompatRobert Lehmann2015-02-241-1/+39
|\
| * Also restore pycompat.class_types and deprecate it properly.Robert Lehmann2015-02-241-0/+1
| |
| * Slated for removal in 1.4.Robert Lehmann2015-02-141-3/+4
| |
| * Also restore pycompat.{String,Bytes}IO.Robert Lehmann2015-02-141-0/+3
| |
| * Warn when accessing deprecated attributes.Robert Lehmann2015-02-141-20/+23
| | | | | | | | | | Previously, only calling a deprecated function issued a warning. Attributes (like sphinx.util.pycompat.class_types) would never warn.
| * Restore pycompat API. Fixes #1726.Robert Lehmann2015-02-141-1/+31
| | | | | | | | | | | | | | | | | | All compatibility helpers which have been in this module should be resurrected -- and, at the same time, deprecated -- to grant backwards-compatibility with older Sphinx versions to third-party extensions. This does NOT restore compatibility with any older Python versions.
* | refs #1235: i18n: 'literal-block' node can be translated if 'literal-block' ↵shimizukawa2015-02-221-0/+13
|/ | | | is set to `gettext_additional_targets`.
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
| * fix: deque missingTakayuki Shimizukawa2014-09-261-0/+2
| |
| * Now sphinx.ext.autodoc work with python-2.5 again, again.Takayuki Shimizukawa2014-09-261-1/+3
| |
| * Fix #1512 env.record_dependency crashes on multibyte directoriestk0miya2014-09-151-0/+3
| |
* | use b prefix for bytes instead of sphinx.pycompat.b function.Takayuki Shimizukawa2014-05-011-5/+1
| |
* | remove 'six' name except importing line.Takayuki Shimizukawa2014-04-301-4/+4
| |
* | use UnicodeMixin for __str__, __unicode__ to support py2/py3 in one source. ↵Takayuki Shimizukawa2014-04-301-0/+14
| | | | | | | | refs #1350.
* | use six privided text_type() to replace with unicode() to support py2/py3 in ↵Takayuki Shimizukawa2014-04-291-1/+1
| | | | | | | | one source. refs #1350.
* | introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-23/+8
| | | | | | | | refs #1350.
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |
* | merge with stableGeorg Brandl2014-03-011-0/+2
|\ \ | |/
| * Fix inspect using the "__builtins__" CPython specific module.Georg Brandl2014-03-011-0/+5
| |
* | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
* | merge headsTakayuki Shimizukawa2014-01-151-177/+8
|\ \ | |/ |/|
| * Drop python-3.1 and remove support codesTakayuki Shimizukawa2013-12-151-2/+2
| |