Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
0c9258a6d299e0484538ef8d4b23f30515283db2
/
Python
/
ast.c
0c9258a
bpo-36332: Allow compile() to handle AST objects with assignment expressions (GH-12398)
by Pablo Galindo
· 6 years ago
10f8ce6
bpo-36280: Add Constant.kind field (GH-12295)
by Guido van Rossum
· 6 years ago
495da29
bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086)
by Guido van Rossum
· 6 years ago
d8b3a98
bpo-36187: Remove NamedStore. (GH-12167)
by Serhiy Storchaka
· 6 years ago
3ad9167
bpo-36052: Raise a SyntaxError when assigning a value to __debug__ with := (GH-11958)
by Stéphane Wirtel
· 6 years ago
46a9792
bpo-36049: Fix compiler warning in Python/ast.c (GH-11949)
by Pablo Galindo
· 6 years ago
4b250fc
bpo-35766 follow-up: Add an error check to new_type_comment() (#11766)
by Guido van Rossum
· 6 years ago
164686f
Fix compiler warning about non initialised variable (GH-11806)
by Pablo Galindo
· 6 years ago
181835d
Fix compiler warnings about end_col_offset and end_lineno (GH-11735)
by Ivan Levkivskyi
· 6 years ago
d2b4c19
bpo-35879: Fix type comment leaks (GH-11728)
by Guido van Rossum
· 6 years ago
dcfcd14
bpo-35766: Merge typed_ast back into CPython (GH-11645)
by Guido van Rossum
· 6 years ago
62c35a8
bpo-35814: Allow same r.h.s. in annotated assignments as in normal ones (GH-11667)
by Ivan Levkivskyi
· 6 years ago
8f59ee0
bpo-35224: PEP 572 Implementation (#10497)
by Emily Morehouse
· 6 years ago
9932a22
bpo-33416: Add end positions to Python AST (GH-11605)
by Ivan Levkivskyi
· 6 years ago
995d9b9
bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021)
by Anthony Sottile
· 6 years ago
58159ef
bpo-35494: Improve syntax error messages for unbalanced parentheses in f-string. (GH-11161)
by Serhiy Storchaka
· 6 years ago
4c49da0
bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015)
by Zackery Spytz
· 6 years ago
b619b09
bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633)
by Serhiy Storchaka
· 6 years ago
4d73ae7
bpo-18407: ast.c uses Py_ssize_t for asdl_seq_LEN() iterator (GH-10655)
by Victor Stinner
· 6 years ago
97f1efb
bpo-35169: Improve error messages for forbidden assignments. (GH-10342)
by Serhiy Storchaka
· 6 years ago
95b6acf
bpo-34876: Change the lineno of the AST for decorated function and class. (GH-9731)
by Serhiy Storchaka
· 6 years ago
6543912
bpo-32912: Replace a DeprecationWarning with a SyntaxWarning (GH-9652)
by Serhiy Storchaka
· 6 years ago
3f22811
bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445)
by Serhiy Storchaka
· 6 years ago
025eb98
bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338)
by Ammar Askar
· 6 years ago
c9a71dd
closes bpo-34641: Further restrict the LHS of keyword argument function call syntax. (GH-9212)
by Benjamin Peterson
· 6 years ago
d13e59c
Make sure the line comes from the same node as the col offset. (GH-9189)
by Benjamin Peterson
· 6 years ago
90fc898
closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175)
by guoci
· 6 years ago
28853a2
bpo-34457: Python/ast.c: Add missing NULL check to alias_for_import_name(). (GH-8852)
by Alexey Izbyshev
· 6 years ago
143ce5c
bpo-33691: Add _PyAST_GetDocString(). (GH-7236)
by Serhiy Storchaka
· 6 years ago
73cbe7a
bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197)
by Serhiy Storchaka
· 6 years ago
898ff92
fix error message in ast.c (#6776)
by Jelle Zijlstra
· 6 years ago
fb7e799
bpo-30465: Fix C downcast warning on Windows in ast.c (#6593)
by Victor Stinner
· 7 years ago
a561862
Don't hide unexpected errors in PyErr_WarnExplicitObject(). (#4585)
by Serhiy Storchaka
· 7 years ago
ddbce13
bpo-32023: Disallow genexprs without parenthesis in class definitions. (#4400)
by Serhiy Storchaka
· 7 years ago
9165f77
bpo-32012: Disallow trailing comma after genexpr without parenthesis. (#4382)
by Serhiy Storchaka
· 7 years ago
a5293b4
Fix miscellaneous typos (#4275)
by luzpaz
· 7 years ago
56cb465
bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (#4058)
by Serhiy Storchaka
· 7 years ago
ac31770
bpo-30406: Make async and await proper keywords (#1669)
by Jelle Zijlstra
· 7 years ago
7dc46d8
bpo-31592: Fix an assertion failure in Python parser in case of a bad unicodedata.normalize(). (#3767)
by Oren Milman
· 7 years ago
b2e5794
bpo-31338 (#3374)
by Barry Warsaw
· 7 years ago
e7c566c
bpo-30465: Fix lineno and col_offset in fstring AST nodes (#1800)
by Łukasz Langa
· 7 years ago
f432a32
bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157)
by Stefan Krah
· 7 years ago
11e97f2
bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (#2232)
by ericvsmith
· 7 years ago
2e9cd58
bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (#1888)
by Serhiy Storchaka
· 7 years ago
0cd7a3f
bpo-29104: Fixed parsing backslashes in f-strings. (#490)
by Serhiy Storchaka
· 7 years ago
fff9a31
bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. (#748)
by Serhiy Storchaka
· 8 years ago
cb41b27
bpo-29463: Add docstring field to some AST nodes. (#46)
by INADA Naoki
· 8 years ago
5bb8b91
Issue #18896: Python function can now have more than 255 parameters.
by Serhiy Storchaka
· 8 years ago
0f6373c
Issue #28739: f-string expressions no longer accepted as docstrings and
by Serhiy Storchaka
· 8 years ago
4cc30ae
Issue #28739: f-string expressions no longer accepted as docstrings and
by Serhiy Storchaka
· 8 years ago
214678e
Issue #12844: More than 255 arguments can now be passed to a function.
by Serhiy Storchaka
· 8 years ago
e209739
Issue #28715: Added error checks for PyUnicode_AsUTF8().
by Serhiy Storchaka
· 8 years ago
144f77a
Issue #28715: Added error checks for PyUnicode_AsUTF8().
by Serhiy Storchaka
· 8 years ago
3b73ea1
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
by Serhiy Storchaka
· 8 years ago
f4934ea
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
by Serhiy Storchaka
· 8 years ago
f9cca36
Fix warn_invalid_escape_sequence()
by Victor Stinner
· 8 years ago
1a9d687
Issue #26182: Fix ia refleak in code that raises DeprecationWarning.
by Yury Selivanov
· 8 years ago
9b88fdf
Fixed issue #28633: segfault when concatenating bytes literal and f-string.
by Eric V. Smith
· 8 years ago
5646648
Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6.
by Eric V. Smith
· 8 years ago
286987b
delete dead code
by Benjamin Peterson
· 8 years ago
8987c9d
Issue #26182: Raise DeprecationWarning for improper use of async/await keywords
by Yury Selivanov
· 8 years ago
09835dc
Make an f-string error message more exact and consistent.
by Eric V. Smith
· 8 years ago
4ba5c88
just start with an int rather than casting
by Benjamin Peterson
· 8 years ago
451d0e3
Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.
by Eric V. Smith
· 8 years ago
a721aba
Issue #26331: Implement the parsing part of PEP 515.
by Brett Cannon
· 8 years ago
52c4e7c
Issue #28008: Implement PEP 530 -- asynchronous comprehensions.
by Yury Selivanov
· 8 years ago
f8cb8a1
Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
by Yury Selivanov
· 8 years ago
2f8bfef
replace PY_SIZE_MAX with SIZE_MAX
by Benjamin Peterson
· 8 years ago
6a4efce
Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts.
by Eric V. Smith
· 8 years ago
02b75ab
Merge spelling and grammar fixes from 3.5
by Martin Panter
· 8 years ago
69332c1
Fix spelling and grammar in documentation and code comments
by Martin Panter
· 8 years ago
fbd1523
Issue #27352: Correct the validation of the ImportFrom AST node and simplify
by Serhiy Storchaka
· 8 years ago
094c9c9
Issue #23275: Allow () = iterable assignment syntax
by Berker Peksag
· 8 years ago
9d66d4a
remove unused c_encoding struct member
by Benjamin Peterson
· 9 years ago
768921c
rewrite parsestr() so it's comprehensible; remove dead code
by Benjamin Peterson
· 9 years ago
202803a
c_encoding can never be NULL, which allows some code simplification
by Benjamin Peterson
· 9 years ago
be59d14
Issue #26146: enhance ast.Constant error message
by Victor Stinner
· 9 years ago
726f690
Fix a refleak in validate_constant()
by Victor Stinner
· 9 years ago
f2c1aa1
Add ast.Constant
by Victor Stinner
· 9 years ago
5c60ea3
Fix two instances of wrong indentation.
by Georg Brandl
· 9 years ago
726fc13
Issue #20440: More use of Py_SETREF.
by Serhiy Storchaka
· 9 years ago
2d06e84
Issue #25923: Added the const qualifier to static constant arrays.
by Serhiy Storchaka
· 9 years ago
f9827ea
Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when
by Victor Stinner
· 9 years ago
c106c68
Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when
by Victor Stinner
· 9 years ago
c2432f6
One more typo in a comment
by Martin Panter
· 9 years ago
00d4442
merge 3.5 (#25131)
by Benjamin Peterson
· 9 years ago
58b5395
make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node (closes #25131)
by Benjamin Peterson
· 9 years ago
1e5fcc3
Fixed error creation if the problem is an empty expression in an f-string: use ast_error instead of PyErr_SetString.
by Eric V. Smith
· 9 years ago
1d44c41
Move f-string compilation of the expression earlier, before the conversion character and format_spec are checked. This allows for error messages that more closely match what a user would expect.
by Eric V. Smith
· 9 years ago
5567f89
Issue #24779: Remove unused rawmode parameter to unicode_decode.
by Eric V. Smith
· 9 years ago
235a6f0
Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that.
by Eric V. Smith
· 9 years ago
00723e0
Fix ast_for_atom()
by Victor Stinner
· 9 years ago
1fa3652
Merge 3.5 (issue #24975)
by Yury Selivanov
· 9 years ago
b3d5313
Issue #24975: Fix AST compilation for PEP 448 syntax.
by Yury Selivanov
· 9 years ago
163b5c6
Fix a trivial typo.
by Eric V. Smith
· 9 years ago
df39599
Issue #9232: Support trailing commas in function declarations.
by Robert Collins
· 9 years ago
14acf5f
Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'.
by Yury Selivanov
· 9 years ago
7544508
PEP 0492 -- Coroutines with async and await syntax. Issue #24017.
by Yury Selivanov
· 9 years ago
025e9eb
PEP 448: additional unpacking generalizations (closes #2292)
by Benjamin Peterson
· 10 years ago
0c39b1b
Initialize variables to prevent GCC warnings
by Victor Stinner
· 10 years ago
Next »