231 Commits (c9ccacea3ff441b1ff519c7399602b7db16f9783)

Author SHA1 Message Date
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
Victor Stinner daf455554b Issue #18571: Implementation of the PEP 446: file descriptors and file handles 13 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Benjamin Peterson 265fba40c8 move declaration to top of block 13 years ago
Benjamin Peterson 2dbfd88245 check the return value of new_string() (closes #18470) 13 years ago
Serhiy Storchaka 3af14aaba5 Issue #18038: SyntaxError raised during compilation sources with illegal 13 years ago
Victor Stinner 796977360f Issue #9566: Fix compiler warning on Windows 64-bit 13 years ago
Benjamin Peterson d0845588b8 make _PyParser_TokenNames const 13 years ago
Christian Heimes 0b3847de6d Issue #15096: Drop support for the ur string prefix 14 years ago
Armin Ronacher 6ecf77b3f8 Basic support for PEP 414 without docs or tests. 14 years ago
Antoine Pitrou 3a5d4cb940 Issue #13748: Raw bytes literals can now be written with the `rb` prefix as well as `br`. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 14 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Jesus Cea c1935d2abf Revert bb62908896fe, but keep the test 15 years ago
Victor Stinner c68b6aaec8 Issue #9319: Fix a crash on parsing a Python source code without encoding 15 years ago
Victor Stinner fe7c5b5bdf Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error. 15 years ago
Victor Stinner 7f2fee3640 Issue #10785: Store the filename as Unicode in the Python parser. 15 years ago
Victor Stinner 034c7537d8 Issue #10841: don't translate newlines for pgen 15 years ago
Victor Stinner 89e3436606 Issue #10841: set binary mode on files; the parser translates newlines 15 years ago
Victor Stinner aaa4e9a438 Remove arbitrary string length limits 15 years ago