Serhiy Storchaka
08995a3390
Issue #24098 : Fixed possible crash when AST is changed in process of
...
compiling it.
2016-10-07 21:51:09 +03:00
Trent Nelson
25a48610a8
Make PyAST_obj2mod C89 compliant. (Follow-up commit from asdl_c.py.)
2012-12-13 07:22:16 +00:00
Benjamin Peterson
5eed3062f5
allow None identifiers
2011-07-22 17:20:58 -05:00
Benjamin Peterson
77820242dd
verify the types of AST strings and identifiers ( closes #12609 and #12610 )
2011-07-22 10:39:50 -05:00
Benjamin Peterson
5b9ce31c39
bump revision
2010-06-22 19:49:47 +00:00
Benjamin Peterson
1056ca264f
fix code formatting
2010-06-09 19:45:04 +00:00
Alexandre Vassalotti
102d70e06c
Update version information for AST changes in r77422.
2010-01-11 22:46:43 +00:00
Alexandre Vassalotti
b646547bb4
Issue #2333 : Backport set and dict comprehensions syntax.
2010-01-11 22:36:12 +00:00
Brett Cannon
3ad57e2625
Update the version # of Python-ast.c based on the backport of set literals from
...
r77400.
2010-01-10 02:48:50 +00:00
Alexandre Vassalotti
ee936a2130
Issue #2335 : Backport set literals syntax from Python 3.x.
2010-01-09 23:35:54 +00:00
Benjamin Peterson
5f429e0227
account for PyObject_IsInstance's new ability to fail
2009-12-13 00:54:15 +00:00
Benjamin Peterson
8fa3e933c1
update ast version
2009-06-13 20:30:48 +00:00
Benjamin Peterson
a72be3b325
when no module is given in a 'from' relative import, make ImportFrom.module NULL
2009-06-13 20:23:33 +00:00
Benjamin Peterson
aff36f1295
fix compiler warning
2008-10-19 13:59:01 +00:00
Armin Ronacher
35e01fbeaa
Fixed #4067 by implementing _attributes and _fields for the AST root node.
2008-10-19 08:27:43 +00:00
Amaury Forgeot d'Arc
05e344954d
#3743 : PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
...
PyString_FromFormat which has an independent implementation, and uses "%zd".
This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.
Reviewed by Martin von Loewis.
2008-09-10 22:04:45 +00:00
Gregory P. Smith
dd96db63f6
This reverts r63675 based on the discussion in this thread:
...
http://mail.python.org/pipermail/python-dev/2008-June/079988.html
Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
2008-06-09 04:58:54 +00:00
Christian Heimes
593daf545b
Renamed PyString to PyBytes
2008-05-26 12:51:38 +00:00
Georg Brandl
e34c21c2a0
Make AST nodes pickleable.
2008-03-30 20:20:39 +00:00
Georg Brandl
1721e75749
Fix error message -- "expects either 0 or 0 arguments"
2008-03-30 19:43:27 +00:00
Georg Brandl
2c55c597fa
Make _fields attr for no fields consistent with _attributes attr.
2008-03-30 19:00:49 +00:00
Georg Brandl
c52ed59473
#2505 : allow easier creation of AST nodes.
2008-03-30 07:01:47 +00:00
Georg Brandl
a48f3ab895
Patch #2511 : Give the "excepthandler" AST item proper attributes by making it a Sum.
2008-03-30 06:40:17 +00:00
Georg Brandl
f2bfd54d6f
Properly check for consistency with the third argument of
...
compile() when compiling an AST node.
2008-03-29 13:24:23 +00:00
Amaury Forgeot d'Arc
473445c964
Silence a compilation warning
2008-03-28 20:17:51 +00:00