Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #2377: Make importlib the implementation of __import__(). | Brett Cannon | 2012-04-14 | 1 | -1/+1 |
| | | | | | | | importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__(). | ||||
* | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 1 | -3/+53 |
| | |||||
* | Closes #13761: add a "flush" keyword argument to print(). | Georg Brandl | 2012-01-13 | 1 | -5/+19 |
| | |||||
* | merge 3.2 | Benjamin Peterson | 2012-01-12 | 1 | -3/+1 |
|\ | |||||
| * | fold into one if statement | Benjamin Peterson | 2012-01-12 | 1 | -3/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-01-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix formatting | Benjamin Peterson | 2012-01-03 | 1 | -1/+1 |
| | | |||||
* | | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wide | Victor Stinner | 2011-11-22 | 1 | -9/+2 |
| | | |||||
* | | quote the type name for improved readability | Philip Jenvey | 2011-11-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode | Antoine Pitrou | 2011-11-05 | 1 | -42/+42 |
|\ \ | |/ | | | | | error handler in interactive mode (when calling into PyOS_Readline()). | ||||
| * | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode | Antoine Pitrou | 2011-11-05 | 1 | -42/+41 |
| | | | | | | | | error handler in interactive mode (when calling into PyOS_Readline()). | ||||
* | | Merge 3.2 (linked to issue #1294232) | Florent Xicluna | 2011-10-28 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Remove unused variable. | Florent Xicluna | 2011-10-28 | 1 | -2/+1 |
| | | |||||
* | | Merge issue 1294232 patch from 3.2 | Nick Coghlan | 2011-10-23 | 1 | -3/+30 |
|\ \ | |/ | |||||
| * | Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵ | Nick Coghlan | 2011-10-23 | 1 | -2/+28 |
| | | | | | | | | metaclass inheritance. Patch by Daniel Urban. | ||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -6/+6 |
| | | |||||
* | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -5/+9 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -5/+8 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -18/+8 |
| | | |||||
* | | include header with PyAST_Validate | Benjamin Peterson | 2011-08-13 | 1 | -0/+3 |
| | | |||||
* | | add a AST validator (closes #12575) | Benjamin Peterson | 2011-08-09 | 1 | -0/+4 |
| | | |||||
* | | plug refleak | Benjamin Peterson | 2011-07-30 | 1 | -0/+1 |
| | | |||||
* | | bytes -> bytearray | Benjamin Peterson | 2011-07-29 | 1 | -1/+1 |
| | | |||||
* | | bytes should be verboten in sum() (fixes #12654) | Benjamin Peterson | 2011-07-29 | 1 | -0/+5 |
| | | |||||
* | | Issue #9642: Uniformize the tests on the availability of the mbcs codec | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
| | | | | | | | | Add a new HAVE_MBCS define. | ||||
* | | Issue #9642: Fix filesystem encoding initialization: use the ANSI code page on | Victor Stinner | 2011-07-04 | 1 | -4/+1 |
| | | | | | | | | | | | | Windows if the mbcs codec is not available, and fail with a fatal error if we cannot get the locale encoding (if nl_langinfo(CODESET) is not available) instead of using UTF-8. | ||||
* | | Removed 'or long integer' from bin, oct, and hex docstrings. | Alexander Belopolsky | 2011-04-07 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Removed 'or long integer' from bin, oct, and hex docstrings. | Alexander Belopolsky | 2011-04-07 | 1 | -3/+3 |
| | | |||||
| * | Merged revisions 88530 via svnmerge from | Victor Stinner | 2011-02-23 | 1 | -4/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88530 | victor.stinner | 2011-02-23 13:07:37 +0100 (mer., 23 févr. 2011) | 4 lines Issue #11272: Fix input() and sys.stdin for Windows newline On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n'). ........ | ||||
* | | Issue #3080: Add PyImport_ImportModuleLevelObject() function | Victor Stinner | 2011-03-14 | 1 | -7/+4 |
| | | | | | | | | Use it for the builtin __import__ function. | ||||
* | | Remove useless argument of _PyUnicode_AsDefaultEncodedString() | Victor Stinner | 2011-03-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #11272: Fix input() and sys.stdin for Windows newline | Victor Stinner | 2011-02-23 | 1 | -4/+9 |
| | | | | | | | | | | On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n'). | ||||
* | | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | 2011-02-22 | 1 | -4/+1 |
|/ | |||||
* | Add an "optimize" parameter to compile() to control the optimization level, ↵ | Georg Brandl | 2010-12-04 | 1 | -6/+13 |
| | | | | and provide an interface to it in py_compile, compileall and PyZipFile. | ||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 1 | -2/+2 |
| | |||||
* | Remove redundant includes of headers that are already included by Python.h. | Georg Brandl | 2010-11-30 | 1 | -1/+0 |
| | |||||
* | Issue #10518: Bring back the callable() builtin. | Antoine Pitrou | 2010-11-27 | 1 | -0/+15 |
| | | | | Approved by Guido (BDFL) and Georg (RM). | ||||
* | make hashes always the size of pointers; introduce Py_hash_t #9778 | Benjamin Peterson | 2010-10-17 | 1 | -2/+2 |
| | |||||
* | Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects | Victor Stinner | 2010-10-16 | 1 | -11/+22 |
| | | | | | filenames encoded to the filesystem encoding with surrogateescape error handler (to support undecodable bytes), instead of UTF-8 in strict mode. | ||||
* | Since __import__ is not designed for general use, have its docstring point | Brett Cannon | 2010-09-27 | 1 | -2/+6 |
| | | | | | | people towards importlib.import_module(). Closes issue #7397. | ||||
* | Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING | Victor Stinner | 2010-09-10 | 1 | -23/+0 |
| | | | | | | environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects. | ||||
* | only catch AttributeError in hasattr() #9666 | Benjamin Peterson | 2010-08-24 | 1 | -8/+5 |
| | |||||
* | Issue #6697: Fix a crash if sys.stdin or sys.stdout encoding contain a surrogate | Victor Stinner | 2010-05-19 | 1 | -7/+16 |
| | | | | This is *very* unlikely :-) | ||||
* | Issue #8610: Load file system codec at startup, and display a fatal error on | Victor Stinner | 2010-05-15 | 1 | -2/+9 |
| | | | | | failure. Set the file system encoding to utf-8 (instead of None) if getting the locale encoding failed, or if nl_langinfo(CODESET) function is missing. | ||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -1644/+1644 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | ||||
* | Issue #8226: sys.setfilesystemencoding() raises a LookupError if the encoding | Victor Stinner | 2010-03-25 | 1 | -1/+5 |
| | | | | is unknown. | ||||
* | check PyDict_New() for error | Benjamin Peterson | 2010-02-27 | 1 | -6/+6 |
| | |||||
* | only accept AttributeError as indicating no __prepare__ attribute on a ↵ | Benjamin Peterson | 2010-02-27 | 1 | -2/+10 |
| | | | | metaclass, allowing lookup errors to propogate | ||||
* | Fix typo (reported by terlop on IRC) | Mark Dickinson | 2009-12-19 | 1 | -1/+1 |
| | |||||
* | Merged revisions 76534,76538,76628,76701,76774 via svnmerge from | Benjamin Peterson | 2009-12-13 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76534 | martin.v.loewis | 2009-11-26 02:42:05 -0600 (Thu, 26 Nov 2009) | 2 lines Fix typo. ........ r76538 | georg.brandl | 2009-11-26 14:48:25 -0600 (Thu, 26 Nov 2009) | 1 line #7400: typo. ........ r76628 | andrew.kuchling | 2009-12-02 08:27:11 -0600 (Wed, 02 Dec 2009) | 1 line Markup fixes ........ r76701 | andrew.kuchling | 2009-12-07 20:37:05 -0600 (Mon, 07 Dec 2009) | 1 line Typo fix; grammar fix ........ r76774 | benjamin.peterson | 2009-12-12 18:54:15 -0600 (Sat, 12 Dec 2009) | 1 line account for PyObject_IsInstance's new ability to fail ........ |