summaryrefslogtreecommitdiff
path: root/sphinx/pycode/pgen2/pgen.py
Commit message (Collapse)AuthorAgeFilesLines
* pycode: Replace pgen2 by own parserTakeshi KOMIYA2017-07-261-403/+0
|
* Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
|
* Fix mypy violationsTakeshi KOMIYA2017-02-081-1/+1
|
* Add type-check annotations to sphinx.*Takeshi KOMIYA2016-11-161-10/+17
|
* Fix #2919: Drop py26 supportTakeshi KOMIYA2016-09-151-4/+1
|
* 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 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-301-1/+1
| | | | 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-291-2/+2
| | | | iteration' on py3. refs #1350.
* use six privided iteritems(),itervalues() to support py2/py3 in one source. ↵Takayuki Shimizukawa2014-04-291-7/+9
| | | | refs #1350.
* consistency nitsGeorg Brandl2014-01-221-1/+3
|
* Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-7/+8
| | | | | | | | | | | - 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.
* Remove XXXes from the pgen2 code.Georg Brandl2010-01-171-2/+2
|
* Make the _ gettext alias an explicit import instead of installing into builtins.Georg Brandl2010-01-171-2/+2
|
* Add pgen2 and custom utilities.Georg Brandl2008-12-291-0/+384