Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | verify the types of AST strings and identifiers (closes #12609 and #12610) | Benjamin Peterson | 2011-07-22 | 1 | -0/+14 |
| | |||||
* | fix ws | Benjamin Peterson | 2011-06-27 | 1 | -1/+1 |
| | |||||
* | add more ast tests (closes #11302) | Benjamin Peterson | 2011-06-27 | 1 | -0/+178 |
| | | | | A patch from Vincent Legoll. | ||||
* | Merged revisions 87876-87877 via svnmerge from | Georg Brandl | 2011-01-09 | 1 | -0/+8 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87876 | georg.brandl | 2011-01-09 08:38:51 +0100 (So, 09 Jan 2011) | 1 line #10869: do not visit root node twice in ast.increment_lineno(). ........ r87877 | georg.brandl | 2011-01-09 08:50:48 +0100 (So, 09 Jan 2011) | 1 line Add missing line. ........ | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -10/+10 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | #7092 - Silence more py3k deprecation warnings, using ↵ | Florent Xicluna | 2010-03-21 | 1 | -1/+3 |
| | | | | test_support.check_py3k_warnings() helper. | ||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -6/+1 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -1/+6 |
| | | | | Patch by flox | ||||
* | test expect base classes | Benjamin Peterson | 2009-10-27 | 1 | -0/+8 |
| | |||||
* | better col_offsets for "for" statements with tuple unpacking #6704 | Benjamin Peterson | 2009-08-15 | 1 | -1/+8 |
| | | | | Patch from Frank Wierzbicki. | ||||
* | the Slice in x[::] has to have step as None to help the interpreter | Benjamin Peterson | 2009-07-20 | 1 | -1/+2 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -5/+5 |
| | |||||
* | when no module is given in a 'from' relative import, make ImportFrom.module NULL | Benjamin Peterson | 2009-06-13 | 1 | -0/+4 |
| | |||||
* | keep the slice.step field as NULL if no step expression is given | Benjamin Peterson | 2009-06-13 | 1 | -0/+6 |
| | |||||
* | Use assertRaises. | Georg Brandl | 2009-01-13 | 1 | -6/+1 |
| | |||||
* | ast.literal_eval can properly evaluate complex numbers now. This fixes ↵ | Armin Ronacher | 2009-01-13 | 1 | -0/+11 |
| | | | | issue4907. | ||||
* | Add the "ast" module, containing helpers to ease use of the "_ast" classes. | Georg Brandl | 2008-06-10 | 1 | -9/+100 |
| | |||||
* | Revert unwanted changes. | Georg Brandl | 2008-06-07 | 1 | -100/+9 |
| | |||||
* | Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc() | Georg Brandl | 2008-06-07 | 1 | -9/+100 |
| | | | | to ease standalone use of the algorithm. | ||||
* | Make AST nodes pickleable. | Georg Brandl | 2008-03-30 | 1 | -0/+14 |
| | |||||
* | Make _fields attr for no fields consistent with _attributes attr. | Georg Brandl | 2008-03-30 | 1 | -0/+3 |
| | |||||
* | Convert test_ast to unittest and add a test for r62049. | Georg Brandl | 2008-03-30 | 1 | -34/+61 |
| | |||||
* | Adapt test_ast to the new ExceptHandler type. | Georg Brandl | 2008-03-30 | 1 | -1/+2 |
| | |||||
* | #2503 make singletons compared with "is" not == or != | Benjamin Peterson | 2008-03-29 | 1 | -2/+2 |
| | | | | Thanks to Wummel for the patch | ||||
* | Patch #1759: Backport of PEP 3129 class decorators | Christian Heimes | 2008-02-23 | 1 | -1/+1 |
| | | | | with some help from Georg | ||||
* | Fix AST compiler bug #1501934: incorrect LOAD/STORE_GLOBAL generation. | Neil Schemenauer | 2006-07-09 | 1 | -1/+1 |
| | |||||
* | Remove debugging prints. | Jeremy Hylton | 2006-04-04 | 1 | -4/+0 |
| | |||||
* | Comment out the prints. These appear to be only for debugging purposes. | Neal Norwitz | 2006-04-04 | 1 | -2/+4 |
| | | | | Jeremy, please fix this correctly after the alpha. | ||||
* | Add lineno, col_offset to excephandler to enable future fix for | Jeremy Hylton | 2006-04-04 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | tracing/line number table in except blocks. Reflow long lines introduced by col_offset changes. Update test_ast to handle new fields in excepthandler. As note in Python.asdl says, we might want to rethink how attributes are handled. Perhaps they should be the same as other fields, with the primary difference being how they are defined for all types within a sum. Also fix asdl_c so that constructors with int fields don't fail when passed a zero value. | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-01 | 1 | -1/+1 |
| | |||||
* | Patch #1440601: Add col_offset attribute to AST nodes. | Martin v. Löwis | 2006-03-01 | 1 | -42/+67 |
| | |||||
* | Set EOL style to native. | Tim Peters | 2006-02-28 | 1 | -178/+178 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-02-28 | 1 | -179/+178 |
| | |||||
* | SF patch #1438387, PEP 328: relative and absolute imports. | Thomas Wouters | 2006-02-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | - IMPORT_NAME takes an extra argument from the stack: the relativeness of the import. Only passed to __import__ when it's not -1. - __import__() takes an optional 5th argument for the same thing; it __defaults to -1 (old semantics: try relative, then absolute) - 'from . import name' imports name (be it module or regular attribute) from the current module's *package*. Likewise, 'from .module import name' will import name from a sibling to the current module. - Importing from outside a package is not allowed; 'from . import sys' in a toplevel module will not work, nor will 'from .. import sys' in a (single-level) package. - 'from __future__ import absolute_import' will turn on the new semantics for import and from-import: imports will be absolute, except for from-import with dots. Includes tests for regular imports and importhooks, parser changes and a NEWS item, but no compiler-package changes or documentation changes. | ||||
* | Even though we don't currently use unicode or complex numbers in the test, | Neal Norwitz | 2006-02-27 | 1 | -3/+3 |
| | | | | | | be complete when when checking types. Yield cannot be tested outside a function, so add a comment to that effect. | ||||
* | Generate code to recursively copy an AST into | Martin v. Löwis | 2006-02-26 | 1 | -0/+179 |
a tree of Python objects. Expose this through compile(). |