267 Commits (eaccc12aa986f92ea05f3f0a63cedbff78dd67f1)

Author SHA1 Message Date
Victor Stinner 00d7abd7ef
bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 6 years ago
Victor Stinner e822e37946
bpo-36020: Remove snprintf macro in pyerrors.h (GH-20889) 6 years ago
Lysandros Nikolaou 896f4cf63f
bpo-40847: Consider a line with only a LINECONT a blank line (GH-20769) 6 years ago
Ammar Askar a2bbedc8b1
Fix peg_generator compiler warnings under MSVC (GH-20405) 6 years ago
Serhiy Storchaka 74ea6b5a75
bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033) 6 years ago
Lysandros Nikolaou 846d8b28ab
bpo-40246: Revert reporting of invalid string prefixes (GH-19888) 6 years ago
Pablo Galindo 11a7f158ef
bpo-40335: Correctly handle multi-line strings in tokenize error scenarios (GH-19619) 6 years ago
Lysandros Nikolaou 41d5b94af4
bpo-40246: Report a better error message for invalid string prefixes (GH-19476) 6 years ago
Victor Stinner 87d3b9db4a
bpo-39882: Add _Py_FatalErrorFormat() function (GH-19157) 6 years ago
Victor Stinner 9e5d30cc99
bpo-39882: Py_FatalError() logs the function name (GH-18819) 6 years ago
Andy Lester 384f3c536d
closes bpo-39721: Fix constness of members of tok_state struct. (GH-18600) 6 years ago
Serhiy Storchaka 0cc6b5e559
bpo-39219: Fix SyntaxError attributes in the tokenizer. (GH-17828) 6 years ago
Victor Stinner f3e7ea5b8c
bpo-39500: Document PyUnicode_IsIdentifier() function (GH-18397) 6 years ago
Pablo Galindo 5ec91f78d5
bpo-39209: Manage correctly multi-line tokens in interactive mode (GH-17860) 7 years ago
Batuhan Taşkaya 109fc2792a bpo-38673: dont switch to ps2 if the line starts with comment or whitespace (GH-17421) 7 years ago
Hansraj Das 69f37bcb28 Indent code inside if block. (GH-15284) 7 years ago
Anthony Sottile 5b94f3578c Fix `SyntaxError` indicator printing too many spaces for multi-line strings (GH-14433) 7 years ago
Michael J. Sullivan d8a82e2897 bpo-36878: Only allow text after `# type: ignore` if first character ASCII (GH-13504) 7 years ago
Michael J. Sullivan 933e1509ec bpo-36878: Track extra text added to 'type: ignore' in the AST (GH-13479) 7 years ago
Anthony Sottile abea73bf4a bpo-2180: Treat line continuation at EOF as a `SyntaxError` (GH-13401) 7 years ago
Michael J. Sullivan d8320ecb86 bpo-36878: Allow extra text after `# type: ignore` comments (GH-13238) 7 years ago
Pablo Galindo f2cf1e3e28
bpo-36623: Clean parser headers and include files (GH-12253) 7 years ago
Zackery Spytz cda139d1de bpo-36459: Fix a possible double PyMem_FREE() due to tokenizer.c's tok_nextc() (12601) 7 years ago
Pablo Galindo cb90c89de1
bpo-36367: Free buffer if realloc fails in tokenize.c (GH-12442) 7 years ago
Guido van Rossum 495da29225 bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) 7 years ago
Pablo Galindo 1f24a719e7
bpo-35808: Retire pgen and use pgen2 to generate the parser (GH-11814) 7 years ago
Guido van Rossum dcfcd146f8 bpo-35766: Merge typed_ast back into CPython (GH-11645) 7 years ago
Anthony Sottile 995d9b9297 bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021) 8 years ago
Serhiy Storchaka 8ac658114d
bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) 8 years ago
Serhiy Storchaka 94cf308ee2
bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516) 8 years ago
Zackery Spytz 4c49da0cb7 bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) 8 years ago
Zackery Spytz 5061a74a4c Remove unneeded PyUnicode_READY() in tokenizer.c (GH-9114) 8 years ago
Victor Stinner c884616390
Fix Windows compiler warning in tokenize.c (GH-8359) 8 years ago
Serhiy Storchaka cf7303ed2a
bpo-33305: Improve SyntaxError for invalid numerical literals. (GH-6517) 8 years ago
Victor Stinner f2ddc6ac93
tokenizer: Remove unused tabs options (#4422) 9 years ago
Jelle Zijlstra ac317700ce bpo-30406: Make async and await proper keywords (#1669) 9 years ago
Albert-Jan Nijburg c9ccacea3f bpo-25324: add missing comma in Parser/tokenizer.c (GH-1910) 9 years ago
Albert-Jan Nijburg fc354f0785 bpo-25324: copy tok_name before changing it (#1608) 9 years ago
Berker Peksag 6f80562862 Issue #28489: Fix comment in tokenizer.c 9 years ago
Victor Stinner a5ed5f000a Use _PyObject_CallNoArg() 10 years ago
Serhiy Storchaka 06515833fe Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 10 years ago
Benjamin Peterson 26d998cfdd properly handle the single null-byte file (closes #24022) 10 years ago
Benjamin Peterson 35ee948fa5 restructure fp_setreadl so as to avoid refleaks (closes #27981) 10 years ago
Berker Peksag 720acbf31b Issue #27981: Fix refleak in fp_setreadl() 10 years ago
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515. 10 years ago
Christian Heimes c6cc23d0b9 Skip unused value in tokenizer code 10 years ago
Serhiy Storchaka 48842714b9 Issue #22570: Renamed Py_SETREF to Py_XSETREF. 10 years ago
Benjamin Peterson 7285d520e0 remove duplicated check for fractions and complex numbers (closes #26076) 10 years ago
Serhiy Storchaka e431d3c9aa Issue #26581: Use the first coding cookie on a line, not the last one. 10 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 11 years ago