Benjamin Peterson
|
cff9237d57
|
check after comments, too (#13832)
|
2012-01-19 17:46:13 -05:00 |
Benjamin Peterson
|
188bee5873
|
don't leak node
|
2012-01-19 08:48:18 -05:00 |
Benjamin Peterson
|
79c1f96438
|
only check this when parsing python
|
2012-01-19 08:48:11 -05:00 |
Meador Inge
|
fa21bf015d
|
Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement
|
2012-01-19 01:08:41 -06:00 |
Benjamin Peterson
|
8d5a62df10
|
murder tabs
|
2012-01-16 09:54:28 -05:00 |
Benjamin Peterson
|
527c622926
|
make YieldFrom its own distinct from Yield (closes #13780)
|
2012-01-14 08:58:23 -05:00 |
Nick Coghlan
|
1f7ce62bd6
|
Implement PEP 380 - 'yield from' (closes #11682)
|
2012-01-13 21:43:40 +10:00 |
Antoine Pitrou
|
3a5d4cb940
|
Issue #13748: Raw bytes literals can now be written with the `rb` prefix as well as `br`.
|
2012-01-12 22:46:19 +01:00 |
Benjamin Peterson
|
f51d36a743
|
evidently some buildbots don't have python 3 installed
|
2011-12-29 12:07:21 -06:00 |
Benjamin Peterson
|
3ab85886d6
|
run AST toolchain on python3
|
2011-12-29 12:03:55 -06:00 |
Antoine Pitrou
|
ab0e9f7089
|
Issue #10350: Read and save errno before calling a function which might overwrite it.
Original patch by Hallvard B Furuseth.
|
2011-12-16 12:29:37 +01:00 |
Antoine Pitrou
|
c345ce1a69
|
Issue #10350: Read and save errno before calling a function which might overwrite it.
Original patch by Hallvard B Furuseth.
|
2011-12-16 12:28:32 +01:00 |
Amaury Forgeot d'Arc
|
942d5ba125
|
Merge branch 3.2
|
2011-11-22 22:02:01 +01:00 |
Amaury Forgeot d'Arc
|
58e8761da6
|
Issue #13436: Fix a bogus error message when an AST object was passed
an invalid integer value.
|
2011-11-22 21:51:55 +01:00 |
Antoine Pitrou
|
f364e7b598
|
Fix memory leak with FLUFL-related syntax errors (!)
|
2011-11-13 01:02:02 +01:00 |
Antoine Pitrou
|
9ec2593bda
|
Fix memory leak with FLUFL-related syntax errors (!)
|
2011-11-13 01:01:23 +01:00 |
Meador Inge
|
70d86bdef1
|
Issue 13243: Rename _Py_identifier to _Py_IDENTIFIER in asdl_c.py
Parser/asdl_c.py was missed in commit 7109f31300fb when _Py_identifier
was replaced with _Py_IDENTIFIER. Thanks to Eric Snow for the patch.
|
2011-10-22 14:06:50 -05:00 |
Martin v. Löwis
|
1c67dd9b15
|
Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.
|
2011-10-14 15:16:45 +02:00 |
Martin v. Löwis
|
bd928fef42
|
Rename _Py_identifier to _Py_IDENTIFIER.
|
2011-10-14 10:20:37 +02:00 |
Martin v. Löwis
|
1ee1b6fe0d
|
Use identifier API for PyObject_GetAttrString.
|
2011-10-10 18:11:30 +02:00 |
Martin v. Löwis
|
afe55bba33
|
Add API for static strings, primarily good for identifiers.
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
|
2011-10-09 10:38:36 +02:00 |
Martin v. Löwis
|
d63a3b8beb
|
Implement PEP 393.
|
2011-09-28 07:41:54 +02:00 |
Éric Araujo
|
6f08f53e79
|
Merge 3.2
|
2011-09-02 17:32:30 +02:00 |
Benjamin Peterson
|
0224d4e699
|
accept bytes for the AST 'string' type
This is a temporary kludge and all is well in 3.3.
|
2011-08-31 22:13:03 -04:00 |
Benjamin Peterson
|
5a3f49bb7e
|
revert code which conditionally writes Python-ast.h (closes #12727)
|
2011-08-11 14:42:28 -05:00 |
Benjamin Peterson
|
257a1d0f28
|
2.x syntax
|
2011-08-09 18:48:02 -05:00 |
Benjamin Peterson
|
4ec450d3c7
|
make this work on 2.4
|
2011-08-09 18:38:57 -05:00 |
Benjamin Peterson
|
6f7500424c
|
make this work with py2.5
|
2011-08-09 16:49:52 -05:00 |
Benjamin Peterson
|
398256b230
|
don't rewrite the header file if it hasn't changed; this reduces development build time
|
2011-08-09 16:28:58 -05:00 |
Benjamin Peterson
|
4dc6499613
|
the bool asdl type died a while ago
|
2011-08-09 16:10:09 -05:00 |
Benjamin Peterson
|
e249841903
|
add a asdl bytes type, so Bytes.s be properly typechecked
|
2011-08-09 16:08:39 -05:00 |
Benjamin Peterson
|
8a4b42b7f4
|
merge 3.2
|
2011-07-22 11:10:43 -05:00 |
Benjamin Peterson
|
180e63507d
|
None is ok for identifiers but not strings
|
2011-07-22 11:09:07 -05:00 |
Benjamin Peterson
|
86f088e8e5
|
merge 3.2
|
2011-07-22 10:55:02 -05:00 |
Benjamin Peterson
|
2193d2b72b
|
type check AST strings and identifiers
This is related to a21829180423 as well as #12609 and #12610.
|
2011-07-22 10:50:23 -05:00 |
Benjamin Peterson
|
efad2449fc
|
hardcode the old svn __version__
|
2011-07-22 10:39:12 -05:00 |
Benjamin Peterson
|
0bd152cd67
|
remove ast.__version__ (closes #12273)
|
2011-07-15 21:10:13 -05:00 |
Benjamin Peterson
|
620b2c8c98
|
comment which is not applicable anymore
|
2011-07-15 15:27:34 -05:00 |
Benjamin Peterson
|
0c1036270d
|
remove intrcheck.c, which hasn't been used for years
|
2011-06-20 19:22:34 -05:00 |
Victor Stinner
|
0c9f31b4c0
|
(Merge 3.2) Issue #12016: my_fgets() now always clears errors before calling
fgets(). Fix the following case: sys.stdin.read() stopped with CTRL+d (end of
file), raw_input() interrupted by CTRL+c.
|
2011-05-30 23:47:01 +02:00 |
Victor Stinner
|
4f71101eed
|
Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix
the following case: sys.stdin.read() stopped with CTRL+d (end of file),
raw_input() interrupted by CTRL+c.
|
2011-05-30 23:46:00 +02:00 |
Benjamin Peterson
|
758888d437
|
don't restrict unexpected EOF errors to the first line (closes #12216)
|
2011-05-30 11:12:38 -05:00 |
Benjamin Peterson
|
43af12b0b4
|
unify TryExcept and TryFinally (closes #12199)
|
2011-05-29 11:43:10 -05:00 |
Benjamin Peterson
|
bf1bbc1452
|
reflect with statements with multiple items in the AST (closes #12106)
|
2011-05-27 13:58:08 -05:00 |
Victor Stinner
|
00c5925533
|
(Merge 3.2) Issue #1195: Fix input() if it is interrupted by CTRL+d and then
CTRL+c, clear the end-of-file indicator after CTRL+d.
|
2011-05-10 00:21:26 +02:00 |
Victor Stinner
|
db932786af
|
Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, clear
the end-of-file indicator after CTRL+d.
|
2011-05-10 00:20:35 +02:00 |
Victor Stinner
|
4755ab010f
|
Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
clear the end-of-file indicator after CTRL+d.
|
2011-05-10 00:19:53 +02:00 |
Jesus Cea
|
c1935d2abf
|
Revert bb62908896fe, but keep the test
|
2011-04-25 04:03:58 +02:00 |
Jesus Cea
|
88f7841be7
|
Correctly merging #9319 into 3.3?
|
2011-04-25 03:46:43 +02:00 |
Victor Stinner
|
c68b6aaec8
|
Issue #9319: Fix a crash on parsing a Python source code without encoding
cookie and not valid in UTF-8: use "<file>" as the filename instead of
reading from NULL.
|
2011-04-23 00:41:19 +02:00 |