493 Commits (4837e39b0809680231e79007ee4e5836b82a9538)

Author SHA1 Message Date
Martin v. Löwis 1c67dd9b15 Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. 15 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 15 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 15 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Benjamin Peterson 0224d4e699 accept bytes for the AST 'string' type 15 years ago
Benjamin Peterson 4058211e8d accept bytes for the AST 'string' type 15 years ago
Benjamin Peterson 5a3f49bb7e revert code which conditionally writes Python-ast.h (closes #12727) 15 years ago
Benjamin Peterson 257a1d0f28 2.x syntax 15 years ago
Benjamin Peterson 4ec450d3c7 make this work on 2.4 15 years ago
Benjamin Peterson 6f7500424c make this work with py2.5 15 years ago
Benjamin Peterson 398256b230 don't rewrite the header file if it hasn't changed; this reduces development build time 15 years ago
Benjamin Peterson 4dc6499613 the bool asdl type died a while ago 15 years ago
Benjamin Peterson e249841903 add a asdl bytes type, so Bytes.s be properly typechecked 15 years ago
Benjamin Peterson 180e63507d None is ok for identifiers but not strings 15 years ago
Benjamin Peterson 2193d2b72b type check AST strings and identifiers 15 years ago
Benjamin Peterson efad2449fc hardcode the old svn __version__ 15 years ago
Benjamin Peterson 0bd152cd67 remove ast.__version__ (closes #12273) 15 years ago
Benjamin Peterson 620b2c8c98 comment which is not applicable anymore 15 years ago
Benjamin Peterson 0c1036270d remove intrcheck.c, which hasn't been used for years 15 years ago
Victor Stinner 4f71101eed Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix 15 years ago
Benjamin Peterson 758888d437 don't restrict unexpected EOF errors to the first line (closes #12216) 15 years ago
Benjamin Peterson 43af12b0b4 unify TryExcept and TryFinally (closes #12199) 15 years ago
Benjamin Peterson bf1bbc1452 reflect with statements with multiple items in the AST (closes #12106) 15 years ago
Victor Stinner 4755ab010f Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, 15 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 52c950f229 Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted 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
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Benjamin Peterson c9723d09eb use only the hex version, since the revno is unreliable across repos 15 years ago
Benjamin Peterson 0d6245dd89 actually get file rev 15 years ago
Benjamin Peterson 6cb2b923e0 convert ast versioning to mercurial 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 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
Victor Stinner 60fe499941 Compile pgenmain.c and printgrammar.c with PGEN defined 15 years ago
Victor Stinner 83098a4095 Issue #10778: decoding_fgets() decodes the filename from the filesystem 15 years ago
Georg Brandl f55aa80b37 Merged revisions 85820,85823,85825,85840,85843-85845,85849-85851,85855,85867,85875,85907-85908,85911,85914 via svnmerge from 15 years ago
Benjamin Peterson 0a4dae5309 fix refleak 15 years ago
Benjamin Peterson 787cddc93d Merged revisions 86545 via svnmerge from 15 years ago
Benjamin Peterson d8f6597318 new plan: functions that want 'tmp' can declare it 15 years ago
Benjamin Peterson e82c169622 Merged revisions 86540 via svnmerge from 15 years ago
Benjamin Peterson 0e9e98edc7 c89 declarations 15 years ago
Benjamin Peterson aab9585130 Merged revisions 86538 via svnmerge from 15 years ago
Benjamin Peterson 5b066817e2 use %R format code; fixes invalid dereferencing #10391 15 years ago
Georg Brandl 2b15bd810d #10222: fix for overzealous AIX compiler. 15 years ago
Victor Stinner 15244f7b12 Recorded merge of revisions 85569-85570 via svnmerge from 16 years ago