Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Copyright update to 2013. | Georg Brandl | 2013-03-23 | 1 | -1/+1 |
| | |||||
* | #17178: update any()/all() docstrings to document their behavior with empty ↵ | Ezio Melotti | 2013-02-15 | 1 | -2/+4 |
| | | | | iterables. Patch by Ankur Ankan. | ||||
* | Issue #5308: Raise ValueError when marshalling too large object (a sequence | Serhiy Storchaka | 2013-02-13 | 1 | -59/+59 |
| | | | | with size >= 2**31), instead of producing illegal marshal data. | ||||
* | Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError | Serhiy Storchaka | 2013-02-10 | 1 | -7/+11 |
| | | | | and a full traceback including line number. | ||||
* | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | 2013-02-09 | 4 | -9/+8 |
| | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag). | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | #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 |
| | |||||
* | #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. | ||||
* | 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. | ||||
* | #16336: fix input checking in the surrogatepass error handler. Patch by ↵ | Ezio Melotti | 2012-11-03 | 1 | -4/+4 |
| | | | | Serhiy Storchaka. | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 | ||||
* | 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 |
| | |||||
* | Closed reference leak of variable 'k' in function ste_new which wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+2 |
| | | | | decrefed in error cases | ||||
* | Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵ | Antoine Pitrou | 2012-09-07 | 1 | -1/+2 |
| | | | | | | opened. This was a regression caused by the hash randomization patch. | ||||
* | Issue #13992: The trashcan mechanism is now thread-safe. This eliminates | Antoine Pitrou | 2012-09-05 | 1 | -0/+3 |
| | | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4. | ||||
* | put * in the normal place | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | |||||
* | move variable decl to the top of the function | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | |||||
* | prevert ast errors from being normalized before ast_error_finish is called ↵ | Benjamin Peterson | 2012-09-02 | 1 | -0/+8 |
| | | | | (closes #15846) | ||||
* | Issue #15726: Fix incorrect bounds checking in PyState_FindModule. | Antoine Pitrou | 2012-08-20 | 1 | -1/+1 |
| | | | | Patch by Robin Schreiber. | ||||
* | Issue #15741: Fix potential NULL dereference. Found by Coverity. | Stefan Krah | 2012-08-20 | 1 | -0/+2 |
| | |||||
* | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 2 | -3/+14 |
| | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
* | Close #13119: use "\r\n" newline for sys.stdout/err on Windows | Victor Stinner | 2012-08-03 | 1 | -5/+8 |
| | | | | sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2. | ||||
* | remove unused variable | Meador Inge | 2012-07-18 | 1 | -1/+1 |
| | |||||
* | Issue #15368: fixing variable typo. | Meador Inge | 2012-07-18 | 1 | -1/+1 |
| | |||||
* | Issue #15368: make bytecode generation deterministic. | Meador Inge | 2012-07-18 | 1 | -2/+22 |
| | |||||
* | Issue #15020: The program name used to search for Python's path is now ↵ | Antoine Pitrou | 2012-07-05 | 1 | -0/+4 |
| | | | | "python3" under Unix, not "python". | ||||
* | don't leak if the __class__ closure is set | Benjamin Peterson | 2012-06-02 | 1 | -4/+2 |
| | |||||
* | Issue #14761: Fix potential leak on an error case in the import machinery. | Antoine Pitrou | 2012-05-09 | 1 | -1/+2 |
| | |||||
* | Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c. | Larry Hastings | 2012-05-08 | 1 | -0/+1 |
| | |||||
* | mangle keyword-only argname when loading defaults (closes #14607) | Benjamin Peterson | 2012-04-17 | 1 | -1/+5 |
| | |||||
* | move outside WITH_THREAD conditional | Benjamin Peterson | 2012-04-13 | 1 | -2/+2 |
| | |||||
* | take linkage def outside of WITH_THREAD conditional (closes #14569) | Benjamin Peterson | 2012-04-13 | 1 | -4/+3 |
| | |||||
* | fix parse_syntax_error to clean up its resources | Benjamin Peterson | 2012-04-03 | 1 | -20/+31 |
| | |||||
* | Fix typo when "PyObject*" was changed to "identifier" | Kristján Valur Jónsson | 2012-03-23 | 1 | -1/+1 |
| | |||||
* | this should technicaly be identifier | Benjamin Peterson | 2012-03-22 | 1 | -1/+1 |
| | |||||
* | check for NULL | Benjamin Peterson | 2012-03-22 | 1 | -1/+2 |
| | |||||
* | check by equality for __future__ not identity (closes #14378) | Benjamin Peterson | 2012-03-22 | 1 | -8/+2 |
| | |||||
* | Fixes Issue #14331: Use significantly less stack space when importing modules by | Gregory P. Smith | 2012-03-18 | 1 | -39/+127 |
| | | | | allocating path buffers on the heap instead of the stack. | ||||
* | Issue #14184: Increase the default stack size for secondary threads on | Ned Deily | 2012-03-13 | 1 | -8/+12 |
| | | | | Mac OS X to prevent interpreter crashes when compiled on 10.7. |