56 Commits (2bc1e8fbf2c5be55e1f186d956121bc26eee40c5)

Author SHA1 Message Date
Benjamin Peterson 5eed3062f5 allow None identifiers 15 years ago
Benjamin Peterson 77820242dd verify the types of AST strings and identifiers (closes #12609 and #12610) 15 years ago
Barry Warsaw cf0d8ab818 Replay changeset 70238:03e488b5c009 from fubar branch. Original commit 15 years ago
Benjamin Peterson 5b9ce31c39 bump revision 16 years ago
Benjamin Peterson 1056ca264f fix code formatting 16 years ago
Alexandre Vassalotti 102d70e06c Update version information for AST changes in r77422. 16 years ago
Alexandre Vassalotti b646547bb4 Issue #2333: Backport set and dict comprehensions syntax. 16 years ago
Brett Cannon 3ad57e2625 Update the version # of Python-ast.c based on the backport of set literals from 16 years ago
Alexandre Vassalotti ee936a2130 Issue #2335: Backport set literals syntax from Python 3.x. 16 years ago
Benjamin Peterson 011e9f1726 Merged revisions 76774 via svnmerge from 16 years ago
Benjamin Peterson 5f429e0227 account for PyObject_IsInstance's new ability to fail 16 years ago
Benjamin Peterson 8fa3e933c1 update ast version 17 years ago
Benjamin Peterson a72be3b325 when no module is given in a 'from' relative import, make ImportFrom.module NULL 17 years ago
Georg Brandl 4aef703c45 Merged revisions 66801,66803-66804,66813,66854-66856,66866,66870-66872,66874,66887,66903,66905,66911,66913,66927,66932,66938,66942,66962,66964,66973-66974,66977,66992,66998-66999,67002,67005,67007,67028,67040-67041,67044,67070,67089,67091,67101,67117-67119,67123-67124 via svnmerge from 17 years ago
Benjamin Peterson aff36f1295 fix compiler warning 17 years ago
Armin Ronacher 35e01fbeaa Fixed #4067 by implementing _attributes and _fields for the AST root node. 17 years ago
Amaury Forgeot d'Arc 05e344954d #3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Georg Brandl e34c21c2a0 Make AST nodes pickleable. 18 years ago
Georg Brandl 1721e75749 Fix error message -- "expects either 0 or 0 arguments" 18 years ago
Georg Brandl 2c55c597fa Make _fields attr for no fields consistent with _attributes attr. 18 years ago
Georg Brandl c52ed59473 #2505: allow easier creation of AST nodes. 18 years ago
Georg Brandl a48f3ab895 Patch #2511: Give the "excepthandler" AST item proper attributes by making it a Sum. 18 years ago
Georg Brandl f2bfd54d6f Properly check for consistency with the third argument of 18 years ago
Amaury Forgeot d'Arc 473445c964 Silence a compilation warning 18 years ago
Georg Brandl fc8eef3c78 Patch #1810 by Thomas Lee, reviewed by myself: 18 years ago
Christian Heimes 4034685a58 Issue #2051 and patch from Alexander Belopolsky: 18 years ago
Christian Heimes 5224d28d38 Patch #1759: Backport of PEP 3129 class decorators 18 years ago
Neal Norwitz 7b7d1c8282 Fix a couple of problems in generating the AST code: 19 years ago
Brett Cannon 0db62aaf09 Modify Parser/asdl_c.py so that the __version__ number for Python/Python-ast.c 19 years ago
Brett Cannon d080d4b047 Check in changed Python-ast.c from a cosmetic change to Python.asdl (in 19 years ago
Martin v. Löwis 0cc56e5c59 Introduce asdl_int_seq, to hold cmpop_ty. 20 years ago
Martin v. Löwis 9eec489c4a Regenerate. 20 years ago
Martin v. Löwis 01b810106c Make _kind types global for C++ compilation. 20 years ago
Anthony Baxter a863d334aa low-hanging fruit in Python/ - g++ still hates all the enum_kind declarations 20 years ago
Martin v. Löwis ad7c44c047 Regenerate. 20 years ago
Jeremy Hylton 2f327c14eb Add lineno, col_offset to excephandler to enable future fix for 20 years ago
Neal Norwitz 19379f18a6 * Fix a refleak of *_attributes. 20 years ago
Martin v. Löwis 03e5bc02c9 Fix memory leak on attributes. 20 years ago
Martin v. Löwis 49c5da1d88 Patch #1440601: Add col_offset attribute to AST nodes. 20 years ago
Neal Norwitz 53d960c010 Don't pollute namespace as bad as before. All the types are static now. 20 years ago
Thomas Wouters 34aa7ba114 from __future__ import with_statement addon for 'with', mostly written by 20 years ago
Thomas Wouters f7f438ba3b SF patch #1438387, PEP 328: relative and absolute imports. 20 years ago
Martin v. Löwis ace990cf5a Regenerate. 20 years ago
Guido van Rossum c2e20744b2 PEP 343 -- the with-statement. 20 years ago
Martin v. Löwis 577b5b960d Create _ast module. 20 years ago
Thomas Wouters dca3b9c797 PEP 308 implementation, including minor refdocs and some testcases. It 20 years ago
Martin v. Löwis d3a5f53a27 Avoid reinitializing the types twice. 20 years ago
Martin v. Löwis 8d0701daf1 Stop generating empty arrays. 20 years ago