Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 ........ | ||||
* | Merged revisions 75714 via svnmerge from | Mark Dickinson | 2009-10-26 | 1 | -0/+9 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75714 | mark.dickinson | 2009-10-26 14:18:44 +0000 (Mon, 26 Oct 2009) | 1 line Warn against replacing PyNumber_Add with PyNumber_InPlaceAdd in sum ........ | ||||
* | Issue 7147 - remove ability to attempt to build Python without complex ↵ | Skip Montanaro | 2009-10-18 | 1 | -2/+0 |
| | | | | number support (was broken anyway) | ||||
* | refactor logic a little when no sep or end is passed | Benjamin Peterson | 2009-07-02 | 1 | -4/+10 |
| | |||||
* | these builtins have to be initialized | Benjamin Peterson | 2009-05-09 | 1 | -6/+0 |
| | |||||
* | ignore the coding cookie in compile(), exec(), and eval() if the source is a ↵ | Benjamin Peterson | 2009-03-02 | 1 | -7/+9 |
| | | | | string #4626 | ||||
* | Issue #1717: rename tp_compare to tp_reserved. I'll change the | Mark Dickinson | 2009-02-02 | 1 | -3/+3 |
| | | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong. | ||||
* | Issue #1717: remove the cmp builtin function, the C-API functions | Mark Dickinson | 2009-02-01 | 1 | -20/+0 |
| | | | | PyObject_Cmp, PyObject_Compare, and various support functions. |