Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.2 | Benjamin Peterson | 2012-04-03 | 1 | -20/+31 |
|\ | |||||
| * | fix parse_syntax_error to clean up its resources | Benjamin Peterson | 2012-04-03 | 1 | -20/+31 |
| | | |||||
* | | Close issue #6210: Implement PEP 409 | Nick Coghlan | 2012-02-26 | 1 | -1/+5 |
| | | |||||
* | | Fix test failure in test_cmd_line by initializing the hash secret at the ↵ | Antoine Pitrou | 2012-02-21 | 1 | -1/+0 |
|\ \ | |/ | | | | | earliest point. | ||||
| * | Fix test failure in test_cmd_line by initializing the hash secret at the ↵ | Antoine Pitrou | 2012-02-21 | 1 | -1/+0 |
| | | | | | | | | earliest point. | ||||
* | | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-21 | 1 | -66/+117 |
|\ \ | |/ |/| | |||||
| * | Issue #12705: Raise SyntaxError when compiling multiple statements as single ↵ | Meador Inge | 2012-01-19 | 1 | -0/+3 |
| | | | | | | | | interactive statement | ||||
| * | Fix a memory leak when initializing the standard I/O streams. | Antoine Pitrou | 2012-01-18 | 1 | -1/+2 |
| |\ | |||||
| * | | Issue #13645: pyc files now contain the size of the corresponding source | Antoine Pitrou | 2012-01-13 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode. | ||||
| * | | Issue #13575: there is only one class type. | Florent Xicluna | 2011-12-12 | 1 | -6/+1 |
| | | | |||||
| * | | Issue #7111: Python can now be run without a stdin, stdout or stderr stream. | Antoine Pitrou | 2011-11-28 | 1 | -60/+111 |
| |\ \ | | | | | | | | | | | | | | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object). | ||||
| | * \ | Issue #13444: When stdout has been closed explicitly, we should not attempt ↵ | Antoine Pitrou | 2011-11-26 | 1 | -2/+18 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue. | ||||
| | * | | | print_exception() uses PyUnicode_GetLength() instead of PyUnicode_GetSize() | Victor Stinner | 2011-11-20 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Issue #10227: Add an allocation cache for a single slice object. | Antoine Pitrou | 2011-11-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | Patch by Stefan Behnel. | ||||
| | * | | | Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore | Victor Stinner | 2011-10-18 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | error handlers on all Windows versions. The MBCS codec is now supporting all error handlers, instead of only replace to encode and ignore to decode. | ||||
| | * | | | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. | Martin v. Löwis | 2011-10-14 | 1 | -3/+6 |
| | | | | | |||||
| | * | | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -16/+16 |
| | | | | | |||||
| | * | | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -10/+20 |
| | | | | | |||||
| | * | | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -12/+18 |
| | | | | | | | | | | | | | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
| | * | | | - Issue #13021: Missing decref on an error path. Thanks to Suman Saha for | Barry Warsaw | 2011-09-20 | 1 | -1/+3 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | finding the bug and providing a patch. | ||||
| | * | | | | Issue #9642: Fix filesystem encoding initialization: use the ANSI code page on | Victor Stinner | 2011-07-04 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | | | | print_exception(): handle correctly PyObject_GetAttrString() failure | Victor Stinner | 2011-05-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Bug found by the Clang Static Analyzer. | ||||
| | * | | | | Merge #6498 fix from 3.2. | Georg Brandl | 2011-05-15 | 1 | -16/+46 |
| | |\ \ \ \ | |||||
| | | * | | | | faulthandler: dump all threads by default | Victor Stinner | 2011-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set the default value of all_threads arguments to True * Py_FatalError() dumps all threads, instead of only the current thread Dump only the current thread is not reliable. In some cases, Python is unable to retrieve the state of the current thread and so is unable to dump the traceback. faulthandler keeps a reference to the interpreter and so is always able to dump the traceback of all threads. | ||||
| | | * | | | | Issue #1856: Avoid crashes and lockups when daemon threads run while the | Antoine Pitrou | 2011-05-04 | 1 | -16/+46 |
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interpreter is shutting down; instead, these threads are now killed when they try to take the GIL. | ||||
| | | | * | | | | Issue #10914: Initialize correctly the filesystem codec when creating a new | Victor Stinner | 2011-04-27 | 1 | -8/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure. | ||||
| | | | * | | | | Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0) | Victor Stinner | 2011-04-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... instead of PyErr_Print() because we don't need to set sys attributes, the sys module is destroyed just after printing the error. | ||||
| | | | * | | | | Issue #10785: Store the filename as Unicode in the Python parser. | Victor Stinner | 2011-04-05 | 1 | -16/+24 |
| | | | | | | | | |||||
| | | | * | | | | Issue #11393: The fault handler handles also SIGABRT | Victor Stinner | 2011-04-01 | 1 | -0/+1 |
| | | | | | | | | |||||
| | | | * | | | | Issue #11393: Add the new faulthandler module | Victor Stinner | 2011-03-31 | 1 | -0/+21 |
| | | | | | | | | |||||
* | | | | | | | | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -119/+252 |
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| * | | | | | | | Fix a memory leak when initializing the standard I/O streams. | Antoine Pitrou | 2012-01-18 | 1 | -1/+2 |
| |/ / / / / / | |||||
| * | | | | | | Issue #7111: Python can now be run without a stdin, stdout or stderr stream. | Antoine Pitrou | 2011-11-28 | 1 | -15/+16 |
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object). | ||||
| * | | | | | Issue #13444: When stdout has been closed explicitly, we should not attempt ↵ | Antoine Pitrou | 2011-11-26 | 1 | -2/+18 |
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue. | ||||
| * | | | | - Issue #13021: Missing decref on an error path. Thanks to Suman Saha for | Barry Warsaw | 2011-09-20 | 1 | -1/+3 |
| |/ / / | | | | | | | | | | | | | finding the bug and providing a patch. | ||||
| * | | | Merge #6498 fix from 3.1. | Georg Brandl | 2011-05-15 | 1 | -1/+1 |
| |\ \ \ | | |/ / | |/| | | |||||
| * | | | Issue #1856: Avoid crashes and lockups when daemon threads run while the | Antoine Pitrou | 2011-05-04 | 1 | -4/+11 |
| | | | | | | | | | | | | | | | | | | | | interpreter is shutting down; instead, these threads are now killed when they try to take the GIL. | ||||
| * | | | Issue #10914: Initialize correctly the filesystem codec when creating a new | Victor Stinner | 2011-04-27 | 1 | -8/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure. | ||||
| * | | | Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0) | Victor Stinner | 2011-04-27 | 1 | -1/+1 |
| | |/ | |/| | | | | | | | | | | ... instead of PyErr_Print() because we don't need to set sys attributes, the sys module is destroyed just after printing the error. | ||||
| * | | Fix #11586: typo in initfsencoding() | Victor Stinner | 2011-03-20 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch written by Ray Allen. | ||||
| * | | Merged revisions 88530 via svnmerge from | Victor Stinner | 2011-02-23 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #9566: use Py_ssize_t instead of int | Victor Stinner | 2011-01-04 | 1 | -1/+2 |
| | | | |||||
| * | | Add sys.flags.quiet attribute for the new -q option, as noted missing by ↵ | Georg Brandl | 2010-12-28 | 1 | -0/+1 |
| | | | | | | | | | | | | Eric in #1772833. | ||||
| * | | Add an "optimize" parameter to compile() to control the optimization level, ↵ | Georg Brandl | 2010-12-04 | 1 | -4/+12 |
| | | | | | | | | | | | | 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/+10 |
| | | | |||||
| * | | Remove redundant includes of headers that are already included by Python.h. | Georg Brandl | 2010-11-30 | 1 | -4/+0 |
| | | | |||||
| * | | Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by Neil | Antoine Pitrou | 2010-11-20 | 1 | -0/+2 |
| | | | | | | | | | | | | Schemenauer. | ||||
| * | | Issue #10372: Import the warnings module only after the IO library is | Antoine Pitrou | 2010-11-10 | 1 | -7/+9 |
| | | | | | | | | | | | | initialized, so as to avoid bootstrap issues with the '-W' option. | ||||
| * | | Issue #10157: Fixed refleaks in pythonrun.c. Patch by Stefan Krah. | Hirokazu Yamamoto | 2010-10-30 | 1 | -0/+3 |
| | | | |||||
| * | | decrement offset when it points to a newline (#10186 followup) | Benjamin Peterson | 2010-10-29 | 1 | -1/+3 |
| | | |