summaryrefslogtreecommitdiff
path: root/sphinx/pycode/pgen2
Commit message (Collapse)AuthorAgeFilesLines
* consistency nitsGeorg Brandl2014-01-222-2/+5
|
* Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-195-17/+22
| | | | | | | | | | | - 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-153-3/+8
|\
| * Closes #1152: Fix pycode parsing errors of Python 3 code by including two ↵Georg Brandl2014-01-123-2/+5
| | | | | | | | | | | | | | 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
| |
* | Drop python-2.5 and remove 2.4,2.5 support codesshimizukawa2013-12-151-89/+0
|/
* merge with 1.0Georg Brandl2010-12-281-1/+1
|\
| * major.minor version is enough for the grammar pickle.Georg Brandl2010-12-091-1/+1
| |
* | don't assume strings to be byte stringsDasIch2010-05-241-1/+1
| |
* | Fixed issue #1DasIch2010-05-011-1/+3
|/
* merge with trunkGeorg Brandl2010-02-172-1692/+3071
|\
| * Work a bit on the experimental Cython version of pgen2.parse.Georg Brandl2010-01-312-1692/+3071
| |
* | Remove XXXes from the pgen2 code.Georg Brandl2010-01-172-3/+3
| |
* | Make the _ gettext alias an explicit import instead of installing into builtins.Georg Brandl2010-01-172-3/+3
|/
* merge in Ben's bundle with more py3k compatibilityGeorg Brandl2009-01-101-0/+5
|\
| * Changed the tokenizer in pgen2 to add a newline to lines even if it's ↵mitsuhiko2009-01-091-0/+5
| | | | | | | | missing. This makes sure that a file that does not end with a newline is properly parsed.
* | normalize raise statementsBenjamin Peterson2009-01-101-2/+2
|/
* Add support for decoding strings and comments to the analyzer.Georg Brandl2009-01-041-1/+3
|
* Support all types of string literals in literals.py.Georg Brandl2009-01-041-10/+44
|
* Add Python license info, add parse.c source generated by Cython.Georg Brandl2009-01-012-1/+3264
|
* * 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.
* Some speedups in pytree.Georg Brandl2008-12-301-0/+156
| | | | Add Cython parse.py replacement, yielding a 2x speedup in parsing.
* Add pgen2 and custom utilities.Georg Brandl2008-12-298-0/+1452