summaryrefslogtreecommitdiff
path: root/sphinx/pycode
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix flake8 violationsTakeshi KOMIYA2017-01-122-3/+3
| |
* | Add type-check annotations to sphinx.*Takeshi KOMIYA2016-11-166-50/+70
|/
* Merge branch 'stable' into 1.5-releaseTakeshi KOMIYA2016-11-161-0/+2
|\
| * insert blank line(s) to adapt latest flake8/pycodestyleshimizukawa2016-11-161-0/+2
| |
* | Fix #2919: Drop py26 supportTakeshi KOMIYA2016-09-151-4/+1
| |
* | Use new style python classesTakeshi KOMIYA2016-09-101-1/+1
| |
* | Remove sphinx version from the filename of compiled grammar filesTakeshi KOMIYA2016-07-121-2/+1
| | | | | | | | | | | | Now sphinx bundles the compiled grammar files. Then it will be replaced on upgrading sphinx. So the sphinx version is not needed on its filename.
* | Bundle sphinx/pycode/Grammar-*.pickle (ref: #2765)Takeshi KOMIYA2016-07-121-16/+26
| | | | | | | | | | | | So far, sphinx generates the grammar files on demand. It causes uninstallation does not remove whole of files. With this fix, Sphinx bundles the files in the package.
* | Refactor code using ``with`` syntaxTakeshi KOMIYA2016-05-261-4/+1
|/
* Merge with 'stable'shimizukawa2016-01-241-1/+1
|\
| * Fix #2253: ``:pyobject:`` option of ``literalinclude`` directive can't ↵shimizukawa2016-01-201-1/+1
| | | | | | | | detect indented body block when the block starts with blank or comment lines.
* | Merge branch 'stable'Georg Brandl2016-01-142-2/+2
|\ \ | |/
| * Obligatory copyright update.Georg Brandl2016-01-142-2/+2
| |
| * Fix #1789 `:pyobject:` option of `literalinclude` directive includes ↵Takeshi KOMIYA2015-04-021-3/+14
| | | | | | | | following lines after definitions
* | Add a test for doc on coroutine functions and general support for ↵Alberto Berti2015-11-101-2/+1
| | | | | | | | async/await py3.5 syntax
* | Treat async/await as anonymous token and deal with them in tokenize.pyAlberto Berti2015-11-092-2/+14
| | | | | | | | .. as cpython's parser does
* | Update Python3 grammar to Python3.5Alberto Berti2015-11-093-20/+44
| | | | | | | | Taken from https://hg.python.org/cpython/file/3.5/Grammar/Grammar@99014:0c704864b917
* | Fix Python 2.6 incompatibility introduced in 4e77027.Valentin Lorentz2015-08-201-1/+4
| |
* | Make grammar generation deterministic.Valentin Lorentz2015-08-191-4/+11
| |
* | Fix #1789 `:pyobject:` option of `literalinclude` directive includes ↵Takeshi KOMIYA2015-03-311-3/+14
|/ | | | following lines after definitions
* final pep8 fixes; reactivate most warnings in flake8Georg Brandl2015-03-082-17/+21
|
* enables flake8 E401: multiple imports on one lineshimizukawa2015-03-071-1/+2
|
* Merge branch 'stable'Georg Brandl2015-01-032-2/+2
|\
| * all: update copyrightGeorg Brandl2015-01-032-2/+2
| |
* | Fix: pgen2 tokenizer doesn't recognize `...` literal (Ellipsis for py3). ↵Takayuki Shimizukawa2014-08-281-2/+9
| | | | | | | | | | | | Closes #1547 I think pgen2 code derived from lib2to3 package. Basically, the package only support python2 code then it doesn't recognize `...` literal.
* | fix py2/py3 compat for 'iter.next()/next(iter)' and ↵Takayuki Shimizukawa2014-05-011-1/+1
| | | | | | | | 'dict.values()/list(dict.values())'. refs #1350.
* | wrap py3 iterators with list() for each places that expect a list object. ↵Takayuki Shimizukawa2014-04-302-3/+4
| | | | | | | | refs #1350.
* | remove 'six' name except importing line.Takayuki Shimizukawa2014-04-301-4/+3
| |
* | use six privided text_type() to replace with unicode() to support py2/py3 in ↵Takayuki Shimizukawa2014-04-292-4/+7
| | | | | | | | one source. refs #1350.
* | provide __next__() and use native next() to support py2/py3 in one source. ↵Takayuki Shimizukawa2014-04-291-2/+2
| | | | | | | | refs #1350.
* | wrap iterator with list() to avoid 'dictionary changed size during ↵Takayuki Shimizukawa2014-04-292-3/+3
| | | | | | | | iteration' on py3. refs #1350.
* | use six privided iteritems(),itervalues() to support py2/py3 in one source. ↵Takayuki Shimizukawa2014-04-292-10/+13
| | | | | | | | refs #1350.
* | introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-3/+5
| | | | | | | | refs #1350.
* | Update copyright year.Georg Brandl2014-03-012-2/+2
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-012-2/+2
| |
* | consistency nitsGeorg Brandl2014-01-222-2/+5
| |
* | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-196-22/+28
| | | | | | | | | | | | | | | | | | | | | | - 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-152-90/+1
|\ \ | |/ |/|
| * Drop python-2.5 and remove 2.4,2.5 support codesTakayuki Shimizukawa2013-12-152-90/+1
| |
* | Fix new grammar files to have correct starting symbol at the top.Georg Brandl2014-01-122-3/+8
| |
* | Closes #1152: Fix pycode parsing errors of Python 3 code by including two ↵Georg Brandl2014-01-126-50/+166
| | | | | | | | | | | | | | grammar versions for Python 2 and 3, and loading the appropriate version for the running Python version.
* | Closes #641: use Sphinx version in cache pickle filename.Georg Brandl2014-01-101-2/+4
|/
* Closes #1102: Support multi-context "with" statements in autodoc by updatingGeorg Brandl2013-03-301-26/+16
| | | | pycode grammar from lib2to3.
* Closes #1127: Fix traceback when autodoc tries to tokenize a non-Python file.Georg Brandl2013-03-301-1/+4
|
* Copyright update.Georg Brandl2013-01-012-2/+2
|
* Closes #796: use package_dir everywhere instead of __file__.Georg Brandl2011-11-011-1/+2
|
* Activate the viewcode extension in the automatically generated apidoc project.Georg Brandl2011-10-071-0/+1
|
* Fix #705: read module source in ModuleAnalyzer in binary mode, decode ↵Georg Brandl2011-09-191-8/+15
| | | | afterwards.
* Remove unused imports.Georg Brandl2011-09-191-2/+0
|
* merge with 1.0Georg Brandl2011-05-151-14/+2
|\