559 Commits (575596e19a8f0be382f08a2dc9190100ff811b97)

Author SHA1 Message Date
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
Benjamin Peterson ea281a54f3 include header with PyAST_Validate 15 years ago
Benjamin Peterson 832bfe2ebd add a AST validator (closes #12575) 15 years ago
Benjamin Peterson 405f32c14c plug refleak 15 years ago
Benjamin Peterson 4f921c2e06 bytes -> bytearray 15 years ago
Benjamin Peterson ce071ca4e7 bytes should be verboten in sum() (fixes #12654) 15 years ago
Victor Stinner 99b9538636 Issue #9642: Uniformize the tests on the availability of the mbcs codec 15 years ago
Victor Stinner d64e8a75e5 Issue #9642: Fix filesystem encoding initialization: use the ANSI code page on 15 years ago
Raymond Hettinger 39540a0226 Improve docstring for divmod() 15 years ago
Victor Stinner ba8b3a2ca7 Close #12501: Adjust callable() warning: callable() is only not supported in 15 years ago
Alexander Belopolsky 12338ab10b Removed 'or long integer' from bin, oct, and hex docstrings. 15 years ago
Victor Stinner fe93faf98c Issue #3080: Add PyImport_ImportModuleLevelObject() function 15 years ago
Victor Stinner f3fd733f92 Remove useless argument of _PyUnicode_AsDefaultEncodedString() 15 years ago
Victor Stinner 02bfdb3f79 Merged revisions 88530 via svnmerge from 15 years ago
Victor Stinner c0f1a1afae Issue #11272: Fix input() and sys.stdin for Windows newline 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Georg Brandl 8334fd9285 Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 15 years ago
Antoine Pitrou e71362d3de Issue #10518: Bring back the callable() builtin. 15 years ago
Victor Stinner 15244f7b12 Recorded merge of revisions 85569-85570 via svnmerge from 15 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Victor Stinner 4c7c8c3023 Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects 15 years ago
Brett Cannon 5305a998d5 Since __import__ is not designed for general use, have its docstring point 15 years ago
Victor Stinner 5b519e0201 Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING 16 years ago
Benjamin Peterson 17689991e6 only catch AttributeError in hasattr() #9666 16 years ago
Victor Stinner 306f0100f3 Issue #6697: Fix a crash if sys.stdin or sys.stdout encoding contain a surrogate 16 years ago
Victor Stinner b744ba1d14 Issue #8610: Load file system codec at startup, and display a fatal error on 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Mark Dickinson e02c9d22f6 Merged revisions 80758 via svnmerge from 16 years ago
Mark Dickinson ef9b4abfea Fix trailing whitespace. 16 years ago
Mark Dickinson a8d2668818 Issue #1533: fix inconsistency in range function argument processing: 16 years ago
Victor Stinner d8805b2bb8 Merged revisions 79393 via svnmerge from 16 years ago
Victor Stinner 120c21227a Issue #8226: sys.setfilesystemencoding() raises a LookupError if the encoding 16 years ago
Benjamin Peterson 1ca73ede26 Merged revisions 78505-78506 via svnmerge from 16 years ago
Benjamin Peterson 09259e2043 check PyDict_New() for error 16 years ago
Benjamin Peterson 23e018ab98 only accept AttributeError as indicating no __prepare__ attribute on a metaclass, allowing lookup errors to propogate 16 years ago
Mark Dickinson 188aace8d8 Merged revisions 76902 via svnmerge from 16 years ago
Mark Dickinson 480e8e38a0 Fix typo (reported by terlop on IRC) 16 years ago
Benjamin Peterson fc431270ac Merged revisions 76776 via svnmerge from 16 years ago
Benjamin Peterson 97dd987ae2 Merged revisions 76534,76538,76628,76701,76774 via svnmerge from 16 years ago
Benjamin Peterson 011e9f1726 Merged revisions 76774 via svnmerge from 16 years ago
Benjamin Peterson 5f429e0227 account for PyObject_IsInstance's new ability to fail 16 years ago
Mark Dickinson 3dc254181a Issue #6985: number of range() items should be constrained to lie 16 years ago
Mark Dickinson bce783757f round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this. 16 years ago
Mark Dickinson bd15a06fd3 Issue #7117, continued: Change round implementation to use the correctly-rounded 16 years ago