Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | complain about "global __class__" in a class body (closes #17983) | Benjamin Peterson | 2013-05-15 | 1 | -0/+6 |
| | |||||
* | when arguments are cells clear the locals slot (backport of #17927) | Benjamin Peterson | 2013-05-15 | 1 | -2/+6 |
| | |||||
* | Fix crash caused by 8c1385205a35 | Antoine Pitrou | 2013-05-05 | 1 | -6/+8 |
| | | | | (thanks Arfrever for reporting). | ||||
* | Issue #17408: Avoid using an obsolete instance of the copyreg module when ↵ | Antoine Pitrou | 2013-05-04 | 1 | -3/+1 |
| | | | | the interpreter is shutdown and then started again. | ||||
* | ignore errors when trying to fetch sys.stdin.encoding (closes #17863) | Benjamin Peterson | 2013-04-29 | 1 | -9/+8 |
| | |||||
* | raise an ImportError (rather than fatal) when __import__ is not found in ↵ | Benjamin Peterson | 2013-04-29 | 1 | -1/+2 |
| | | | | __builtins__ (closes #17867) | ||||
* | #17413: make sure settrace funcs get passed exception instances for 'value'. | R David Murray | 2013-04-19 | 1 | -0/+1 |
| | | | | Patch by Ingrid Cheung and Brendan McLoughlin. | ||||
* | Fix indentation. | Ezio Melotti | 2013-04-19 | 1 | -6/+6 |
| | |||||
* | Revert a premature patch for issue #14010 (changeset aaaf36026511). | Serhiy Storchaka | 2013-04-06 | 1 | -21/+9 |
| | |||||
* | Issue #17645: convert an assert() into a proper exception in _Py_Mangle(). | Antoine Pitrou | 2013-04-06 | 1 | -2/+5 |
| | |||||
* | Issue #14010: Fix a crash when iterating or deleting deeply nested filters | Serhiy Storchaka | 2013-04-06 | 1 | -9/+21 |
| | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc). | ||||
* | Issue #17619: Make input() check for Ctrl-C correctly on Windows. | Richard Oudkerk | 2013-04-03 | 1 | -0/+1 |
| | |||||
* | Issue #17357: Add missing verbosity messages when running under | Brett Cannon | 2013-04-01 | 1 | -4268/+4281 |
| | | | | -v/-vv that were lost in the transition to importlib. | ||||
* | Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and | Gregory P. Smith | 2013-03-23 | 1 | -1/+1 |
| | | | | correctly check for errors on two CreateFileMapping calls. | ||||
* | Issue #15038 : Fixing the condition broadcast and docs. | Kristján Valur Jónsson | 2013-03-20 | 1 | -6/+6 |
| | |||||
* | Rebuild importlib.h after the changes introduced in 0f65bf6063ca. | Ezio Melotti | 2013-02-20 | 1 | -1092/+1089 |
| | |||||
* | #17178: merge with 3.2. | Ezio Melotti | 2013-02-15 | 1 | -2/+4 |
|\ | |||||
| * | #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 #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 #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 | 5 | -10/+9 |
|\ \ | |/ | | | | | | | | | | | | | 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), mpdecimal (needs to build without Python.h). | ||||
| * | 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 #17098: Be more stringent of setting __loader__ on early imported | Brett Cannon | 2013-02-01 | 1 | -292/+299 |
| | | | | | | | | modules. Also made test more rigorous. | ||||
* | | Issue #17098: Make sure every module has __loader__ defined. | Brett Cannon | 2013-02-01 | 1 | -283/+289 |
| | | | | | | | | Thanks to Thomas Heller for the bug report. | ||||
* | | 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. |