summaryrefslogtreecommitdiffstats
path: root/Demo/parser
Commit message (Collapse)AuthorAgeFilesLines
* Update Demo/parser directory; backport unparse fixes from py3k.Mark Dickinson2010-06-305-170/+297
|
* unparse.py: fix mispaced parentheses in chained comparisonsMark Dickinson2010-06-282-1/+5
|
* Fix typo in test_unparse.py.Mark Dickinson2010-06-281-1/+1
|
* Fix some shallow bugs in Demo/parser/unparse.py, and add tests:Mark Dickinson2010-06-282-6/+77
| | | | | | | | - insert commas between entries in del statement - left and right shifts were represented as >> and << (respectively); reverse - unindent properly after for: else: or while: else: - add parens around the result of an unary operation - add parens around negative numbers, to avoid turning (-1)**2 into -1**2.
* get unparse to at least unparse its selfBenjamin Peterson2008-08-191-2/+2
|
* Whitespace normalization.Tim Peters2007-04-251-1/+1
|
* Patch #1683328: fixes and enhancements for "unparse" demo.Georg Brandl2007-03-191-51/+50
|
* Patch #1552024: add decorator support to unparse.py demo script.Georg Brandl2006-10-271-0/+3
|
* Whitespace normalization.Tim Peters2006-04-101-19/+19
|
* Patch #1441452: Add more AST nodes.Martin v. Löwis2006-04-101-15/+236
|
* unparse.py can now unparse itself.Martin v. Löwis2006-02-281-2/+139
|
* Set EOL style to native.Tim Peters2006-02-281-158/+158
|
* Whitespace normalization.Tim Peters2006-02-281-158/+158
|
* Start of a source code unparser.Martin v. Löwis2006-02-272-0/+164
|
* Minor spelling nit.Georg Brandl2005-08-251-1/+1
|
* Remove some obsolete files, and update the README.Fred Drake2000-10-233-113/+0
|
* Sort the list of files processed before running the test on each.Fred Drake2000-08-231-3/+1
|
* Moved all the imports to the top.Fred Drake1999-11-191-9/+5
| | | | | | | Use the methods on the AST object instead of module-level functions; these have been implemented for a couple of versions now, and are already used in the module documentation in preference to the functions.
* nannifiedGuido van Rossum1998-09-143-100/+100
|
* Removed pprint.py.Fred Drake1997-04-162-137/+0
| | | | Removed pprint.py from the README; it's now in the standard lib.
* Always use spaces for indentation.Fred Drake1997-04-151-17/+16
| | | | | Added pformat() function: formats object to a string representation with no trailing newline; returns the string.
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-271-1/+1
|
* (Demo/parser/FILES, Demo/parser/Makefile, Demo/parser/parser.tex,Fred Drake1996-09-124-13/+132
| | | | | | Demo/parser/texipre.dat): Clean up support files for stand-alone documentation formatting, make sure copyright statement is consistent with the copyright.
* Final set of changes by Fred before 1.4beta3Guido van Rossum1996-08-265-104/+150
|
* Demos for Fred's parser moduleGuido van Rossum1996-08-219-0/+491