252 Commits (793cb85437299a3da3d74fe65480d720af330cbb)

Author SHA1 Message Date
Hansraj Das 69f37bcb28 Indent code inside if block. (GH-15284) 6 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) 7 years ago
Serhiy Storchaka 8ac658114d
bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) 7 years ago
Serhiy Storchaka 94cf308ee2
bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516) 7 years ago
Zackery Spytz 4c49da0cb7 bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) 7 years ago
Zackery Spytz 5061a74a4c Remove unneeded PyUnicode_READY() in tokenizer.c (GH-9114) 7 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) 8 years ago
Jelle Zijlstra ac317700ce bpo-30406: Make async and await proper keywords (#1669) 8 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() 9 years ago
Serhiy Storchaka 06515833fe Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 9 years ago
Benjamin Peterson 26d998cfdd properly handle the single null-byte file (closes #24022) 9 years ago
Benjamin Peterson 35ee948fa5 restructure fp_setreadl so as to avoid refleaks (closes #27981) 9 years ago
Berker Peksag 720acbf31b Issue #27981: Fix refleak in fp_setreadl() 9 years ago
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515. 9 years ago
Christian Heimes c6cc23d0b9 Skip unused value in tokenizer code 9 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. 10 years ago
Serhiy Storchaka 5a57ade58e Issue #20440: Massive replacing unsafe attribute setting code with special 10 years ago
Serhiy Storchaka 0d441119f5 Issue #25388: Fixed tokenizer crash when processing undecodable source code 10 years ago
Eric V. Smith 235a6f0984 Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that. 10 years ago
Eric V. Smith 6408dc82fa Fixed indentation. 10 years ago
Yury Selivanov 96ec934e75 Issue #24619: Simplify async/await tokenization. 11 years ago
Yury Selivanov 8fb307cd65 Issue #24619: New approach for tokenizing async/await. 11 years ago
Yury Selivanov 8085b80c18 Issue 24226: Fix parsing of many sequential one-line 'def' statements. 11 years ago
Yury Selivanov 7544508f02 PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 11 years ago
Benjamin Peterson d73aca769f do not call into python api if an exception is set (#24022) 11 years ago
Benjamin Peterson c416162302 allow the keyword else immediately after (no space) an integer (closes #21642) 12 years ago
Benjamin Peterson d51374ed78 PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 12 years ago
Martin v. Löwis 815b41b1cd Issue #20731: Properly position in source code files even if they 12 years ago
Serhiy Storchaka 1064a13bb0 Do not reset the line number because we already set file position to correct 12 years ago
Serhiy Storchaka 768c16ce02 Issue #18960: Fix bugs with Python source code encoding in the second line. 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago