Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unnecessary clearing of list | Benjamin Peterson | 2013-01-19 | 1 | -7/+0 |
| | |||||
* | Issue #16730: Don't raise an exception in | Brett Cannon | 2013-01-11 | 1 | -943/+946 |
| | | | | | | | | importlib.machinery.FileFinder when the directory has become unreadable or a file. This brings semantics in line with Python 3.2 import. Reported and diagnosed by David Pritchard. | ||||
* | (Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, the | Victor Stinner | 2013-01-03 | 1 | -23/+217 |
|\ | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice. | ||||
| * | Issue #16455: On FreeBSD and Solaris, if the locale is C, the | Victor Stinner | 2013-01-03 | 1 | -23/+222 |
| | | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice. | ||||
| * | Issue #16416: Fix compilation error | Victor Stinner | 2012-12-03 | 1 | -1/+3 |
| | | |||||
* | | bring Python into 2013 | Benjamin Peterson | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | Add sanity assertions in some import lock code (issue #15599). | Antoine Pitrou | 2012-12-18 | 1 | -0/+2 |
| | | |||||
* | | (Merge 3.2) Issue #16416: On Mac OS X, operating system data are now always | Victor Stinner | 2012-12-03 | 1 | -6/+54 |
|\ \ | |/ | | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape. | ||||
| * | Issue #16416: On Mac OS X, operating system data are now always | Victor Stinner | 2012-12-03 | 1 | -6/+54 |
| | | | | | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape. | ||||
* | | Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h | Christian Heimes | 2012-12-02 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h | Christian Heimes | 2012-12-02 | 1 | -0/+3 |
| | | |||||
* | | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 4 | -23/+25 |
| | | |||||
* | | #16306: merge with 3.2. | Ezio Melotti | 2012-11-23 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #16306: report only the first unknown option and add more tests. Patch by ↵ | Ezio Melotti | 2012-11-23 | 1 | -1/+1 |
| | | | | | | | | Serhiy Storchaka. | ||||
| * | Remove unused variabile "plain" in builtin_exec. | Ezio Melotti | 2012-11-21 | 1 | -2/+0 |
| | | |||||
* | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is None | Barry Warsaw | 2012-11-20 | 1 | -63/+67 |
| | | | | | | | | (actually, any non-string or non-bytes type). | ||||
* | | #16306: merge with 3.2. | Ezio Melotti | 2012-11-18 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | #16306: Fix multiple error messages when unknown command line parameters ↵ | Ezio Melotti | 2012-11-18 | 1 | -5/+5 |
| | | | | | | | | where passed to the interpreter. Patch by Hieu Nguyen. | ||||
* | | recompile importlib.h | Benjamin Peterson | 2012-11-12 | 1 | -1543/+1543 |
| | | |||||
* | | Issue #15835: Define PATH_MAX on HP-UX. | Stefan Krah | 2012-11-12 | 1 | -0/+1 |
| | | |||||
* | | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -6/+6 |
|\ \ | |/ | | | | | Patch by Victor Stinner. | ||||
| * | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -6/+6 |
| | | | | | | | | Patch by Victor Stinner. | ||||
| * | #5057: the peepholer no longer optimizes subscription on unicode literals ↵ | Ezio Melotti | 2012-11-04 | 1 | -18/+7 |
| | | | | | | | | (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds. | ||||
* | | Issue #5765: Apply a hard recursion limit in the compiler | Nick Coghlan | 2012-11-04 | 2 | -29/+73 |
| | | | | | | | | | | | | | | Previously, excessive nesting in expressions would blow the stack and segfault the interpreter. Now, a hard limit based on the configured recursion limit and a hardcoded scaling factor is applied. | ||||
* | | #16336: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | #16336: fix input checking in the surrogatepass error handler. Patch by ↵ | Ezio Melotti | 2012-11-03 | 1 | -4/+4 |
| | | | | | | | | Serhiy Storchaka. | ||||
* | | Issue #16218: Support non ascii characters in python launcher. | Andrew Svetlov | 2012-11-01 | 1 | -2/+7 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | check return value of _PyUnicode_AsString | Benjamin Peterson | 2012-10-31 | 1 | -2/+6 |
| | | |||||
* | | merge with 3.2 | Philip Jenvey | 2012-10-27 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | bounds check for bad data (thanks amaury) | Philip Jenvey | 2012-10-27 | 1 | -3/+4 |
| | | |||||
| * | Fix compilation on Windows | Nick Coghlan | 2012-10-20 | 1 | -1/+1 |
| | | |||||
| * | Issue #6074: Forward port Windows read-only source file fix from 2.7 | Nick Coghlan | 2012-10-19 | 1 | -0/+6 |
| | | |||||
* | | Issue #6074: Apply an appropriate fix for importlib based imports | Nick Coghlan | 2012-10-19 | 1 | -1884/+1885 |
| | | |||||
* | | Issue #15833: don't raise an exception if importlib can't write byte-compiled | Trent Nelson | 2012-10-16 | 1 | -1839/+1845 |
| | | | | | | | | | | | | files. This fixes a regression introduced by 3.3. Patch by Charles-François Natali. | ||||
* | | Closes issue #15111: Calling __import__ with a module specified in | Brett Cannon | 2012-10-10 | 1 | -467/+471 |
| | | | | | | | | | | fromlist which causes its own ImportError (e.g. the module tries to import a non-existent module) should have that exception propagate. | ||||
* | | Add some comments. | Brett Cannon | 2012-09-28 | 1 | -3476/+3475 |
| | | |||||
* | | don't depend on __debug__ because it's baked in at freeze time (issue #16046) | Benjamin Peterson | 2012-09-25 | 1 | -4221/+4230 |
| | | |||||
* | | Issue #15144: Fix possible integer overflow when handling pointers as ↵ | Antoine Pitrou | 2012-09-20 | 1 | -5/+3 |
| | | | | | | | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka. | ||||
* | | Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵ | Christian Heimes | 2012-09-12 | 1 | -1/+3 |
|\ \ | |/ | | | | | decref 'k' in too many error cases. | ||||
| * | Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵ | Christian Heimes | 2012-09-12 | 1 | -1/+3 |
| | | | | | | | | decref 'k' in too many error cases. | ||||
* | | Partly revert ad3824a90261 and add comment about reference ownership | Christian Heimes | 2012-09-12 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Partly revert ad3824a90261 and add comment about reference ownership | Christian Heimes | 2012-09-12 | 1 | -2/+1 |
| | | |||||
* | | Fix null pointer dereferencing in structmember.c PyMember_SetOne() for ↵ | Christian Heimes | 2012-09-11 | 1 | -5/+1 |
|\ \ | |/ | | | | | T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815 | ||||
| * | Fix null pointer dereferencing in structmember.c PyMember_SetOne() for ↵ | Christian Heimes | 2012-09-11 | 1 | -5/+1 |
| | | | | | | | | T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815 | ||||
* | | Issue #15895: my analysis was slightly off. The FILE pointer is only leaked ↵ | Christian Heimes | 2012-09-11 | 1 | -8/+6 |
| | | | | | | | | when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening. | ||||
* | | Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when ↵ | Christian Heimes | 2012-09-11 | 1 | -1/+5 |
| | | | | | | | | filename points to a pyc/pyo file and closeit is false. | ||||
* | | Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵ | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
|\ \ | |/ | | | | | going out of scope leaks the storage it points to. | ||||
| * | Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵ | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
| | | | | | | | | going out of scope leaks the storage it points to. | ||||
* | | Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
| | |