summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year.Georg Brandl2014-03-011-178/+6
|\
| * merge with stableGeorg Brandl2014-03-011-0/+2
| |\
| * | 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 headsshimizukawa2014-01-151-1/+9
| |\ \
| * | | Drop python-3.1 and remove support codesshimizukawa2013-12-151-2/+2
| | | |
| * | | Drop python-2.5 and remove 2.4,2.5 support codesshimizukawa2013-12-151-177/+7
| | | |
* | | | Update copyright year.Georg Brandl2014-03-011-1/+1
| |_|/ |/| |
* | | Fix inspect using the "__builtins__" CPython specific module.Georg Brandl2014-03-011-0/+5
| |/ |/|
* | Closes #908: On Python 3, handle error messages from LaTeX correctly in the ↵Georg Brandl2014-01-111-0/+7
|/ | | | pngmath extension.
* fix: make.bat is always saved with 'LF' instead of 'CRLF' for both Win/Unix.shimizukawa2013-02-101-0/+16
|
* conf.py now accept CRLF end-of-line.shimizukawa2013-02-101-0/+29
|
* Fix pyflakes issues.Georg Brandl2013-01-131-1/+1
|
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* * fix for Python2.5: test failed by using os.path.relpath that introduced at ↵shimizukawa2012-05-021-0/+24
| | | | Python-2.6.
* Closes #810: fix deprecation warnings with Python 3. What is left over is ↵Georg Brandl2012-01-291-0/+5
| | | | from nose or docutils.
* Fix #767: safely encode SphinxErrors when printing to sys.stderr.Georg Brandl2011-09-211-0/+6
|
* Fix #705: read module source in ModuleAnalyzer in binary mode, decode ↵Georg Brandl2011-09-191-0/+6
| | | | afterwards.
* merge with 1.0Georg Brandl2011-01-041-1/+1
|\
| * New year update.Georg Brandl2011-01-041-1/+1
| |
* | Fix loading JS searchindex data in Py3k.Georg Brandl2010-10-291-0/+3
| |
* | Next is new in 2.6.Georg Brandl2010-08-211-7/+8
| |
* | Group conditional sections in pycompat.Georg Brandl2010-08-211-72/+65
| |
* | mergeGeorg Brandl2010-08-211-12/+14
|\ \
| * | Supply substitute implementation of itertools.(i)zip_longest.Georg Brandl2010-08-211-3/+26
| | |
* | | Added a fallback for itertools.izip_longest to pycompat for python versions ↵DasIch2010-08-211-0/+21
|/ / | | | | | | < 2.6
* | Added a fallback for itertools product to pycompat for python versions < 2.6DasIch2010-08-211-0/+12
| |
* | Improve support for automatic 2to3 conversion of config files. It now kicks ↵Georg Brandl2010-07-311-48/+17
| | | | | | | | in whenever the original file raises SyntaxErrors on compiling.
* | Run 2to3 on config files which contain Python 2.x unicode literals.Georg Brandl2010-07-301-5/+62
| |
* | Unify version_info checks.Georg Brandl2010-07-281-1/+1
| |
* | Move bytes to pycompat.Georg Brandl2010-07-281-0/+5
| |
* | Fix assignment.Georg Brandl2010-07-281-1/+1
| |
* | Use next() function instead of iter.next().Georg Brandl2010-07-281-0/+8
| |
* | Move the "b" function to pycompat.Georg Brandl2010-07-281-0/+8
| |
* | Add a constant for class types, which lacks types.ClassType in Py3k.Georg Brandl2010-07-281-0/+12
|/
* Move doctest blocks out of blockquotes even if there is more than one.Georg Brandl2010-06-011-0/+7
|
* Refactor util package.Georg Brandl2010-01-171-0/+11
|
* Happy new year!Georg Brandl2010-01-011-1/+1
|
* Make check happy.Georg Brandl2009-06-171-1/+2
|
* Restore Python 2.4 compatibility.Georg Brandl2009-06-161-0/+74