summaryrefslogtreecommitdiff
path: root/sphinx/pycode/pgen2/driver.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Closes #1152: Fix pycode parsing errors of Python 3 code by including two ↵Georg Brandl2014-01-121-1/+2
| | | | | | | 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
|
* major.minor version is enough for the grammar pickle.Georg Brandl2010-12-091-1/+1
|
* Remove XXXes from the pgen2 code.Georg Brandl2010-01-171-1/+1
|
* * Add a tag-finding method based on tokens.Georg Brandl2008-12-301-9/+9
| | | | | * Don't parse immediately if tokenizing suffices. * Also cache by file name.
* Add pgen2 and custom utilities.Georg Brandl2008-12-291-0/+145