Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge importlib.h rebuild from 3.3 after the changes introduced in 65eaac000147. | Ezio Melotti | 2013-02-20 | 1 | -1087/+1084 |
|\ | |||||
| * | Rebuild importlib.h after the changes introduced in 0f65bf6063ca. | Ezio Melotti | 2013-02-20 | 1 | -1092/+1089 |
| | | |||||
* | | Issue #17170: speed up PyArg_ParseTuple[AndKeywords] a bit. | Antoine Pitrou | 2013-02-17 | 1 | -25/+32 |
| | | |||||
* | | #17178: merge with 3.3. | Ezio Melotti | 2013-02-15 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | #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 #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 #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. | ||||
* | | | evaluate lambda keyword-only defaults after positional defaults (#16967 again) | Benjamin Peterson | 2013-02-10 | 2 | -3/+3 |
| | | | |||||
* | | | evaluate positional defaults before keyword-only defaults (closes #16967) | Benjamin Peterson | 2013-02-10 | 3 | -138/+138 |
| | | | |||||
* | | | 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 | 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). | ||||
* | | | Merge w/ 3.3 more fixes thanks to issue #17098 | Brett Cannon | 2013-02-01 | 1 | -269/+282 |
|\ \ \ | |/ / | |||||
| * | | 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. | ||||
* | | | Tweak an exception message | Brett Cannon | 2013-01-27 | 1 | -2943/+2943 |
| | | | |||||
* | | | Port py_compile over to importlib | Brett Cannon | 2013-01-26 | 1 | -4269/+4295 |
| | | | |||||
* | | | Touch up exception messaging | Brett Cannon | 2013-01-25 | 1 | -2921/+2923 |
| | | | |||||
* | | | Replace WaitForSingleObject with WaitForSingleObjectEx, | Martin v. Löwis | 2013-01-25 | 2 | -2/+2 |
| | | | | | | | | | | | | for better WinRT compatibility. | ||||
* | | | Drop support for Windows 2000; allow any XP API (but not Vista+). | Martin v. Löwis | 2013-01-25 | 1 | -30/+3 |
| | | | | | | | | | | | | | | | Drop SDK version configuration for Tk compilation, to not bind it to W2k anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k. | ||||
* | | | revert #16672 for incorrect semantics | Benjamin Peterson | 2013-01-23 | 1 | -4/+3 |
| | | | |||||
* | | | merge 3.3 | Benjamin Peterson | 2013-01-19 | 1 | -7/+0 |
|\ \ \ | |/ / | |||||
| * | | remove unnecessary clearing of list | Benjamin Peterson | 2013-01-19 | 1 | -7/+0 |
| | | | |||||
* | | | thinko | Philip Jenvey | 2013-01-15 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #15031: Refactor some code in importlib pertaining to validating | Brett Cannon | 2013-01-11 | 1 | -4226/+4262 |
| | | | | | | | | | | | | | | | | | | | | | and compiling bytecode. Thanks to Ronan Lamy for pointing the redundancy and taking an initial stab at the refactor (as did Nick Coghlan). | ||||
* | | | Merge from 3.3 for fix for issue #16730 | Brett Cannon | 2013-01-11 | 1 | -938/+941 |
|\ \ \ | |/ / | |||||
| * | | 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 |
| | | | |||||
* | | | merge 3.3 | Benjamin Peterson | 2013-01-01 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | bring Python into 2013 | Benjamin Peterson | 2013-01-01 | 1 | -1/+1 |
| | | | |||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 2 | -3/+2 |
| | | | |||||
* | | | Issue #15422: get rid of PyCFunction_New macro | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
| | | | |||||
* | | | improve tracing performance when f_trace is NULL (closes #16672) | Benjamin Peterson | 2012-12-24 | 1 | -3/+4 |
| | | | | | | | | | | | | Patch by Xavier de Gaye. | ||||
* | | | update importlib.h | Benjamin Peterson | 2012-12-19 | 1 | -2633/+2632 |
| | | | |||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -3/+3 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Add sanity assertions in some import lock code (issue #15599). | Antoine Pitrou | 2012-12-18 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | 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 #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -4034/+3999 |
| | | | |||||
* | | | use error label instead of breaking eval loop (closes #16693) | Benjamin Peterson | 2012-12-15 | 1 | -3/+2 |
| | | | |||||
* | | | cleanup and fix refleaks | Benjamin Peterson | 2012-12-15 | 1 | -8/+12 |
| | | | |||||
* | | | Issue #16421: allow to load multiple modules from the same shared object. | Andrew Svetlov | 2012-12-14 | 1 | -10/+17 |
| | | | | | | | | | | | | Patch by Václav Šmilauer. |