Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13959: Have | Brett Cannon | 2012-05-11 | 9 | -2366/+2459 |
| | | | | | | | | | | importlib.abc.FileLoader.load_module()/get_filename() and importlib.machinery.ExtensionFileLoader.load_module() have their single argument be optional as the loader's constructor has all the ncessary information. This allows for the deprecation of imp.load_source()/load_compile()/load_package(). | ||||
* | Deprecate the imp constants related to imp.get_suffixes(). | Brett Cannon | 2012-05-11 | 1 | -0/+12 |
| | |||||
* | Update importlib.h | Brett Cannon | 2012-05-11 | 1 | -2852/+2853 |
| | |||||
* | Issue #13959: Deprecate imp.get_suffixes() for new attributes on | Brett Cannon | 2012-05-11 | 17 | -68/+159 |
| | | | | | | | | | | | importlib.machinery that provide the suffix details for import. The attributes were not put on imp so as to compartmentalize everything importlib needs for setting up imports in importlib.machinery. This also led to an indirect deprecation of inspect.getmoduleinfo() as it directly returned imp.get_suffix's returned tuple which no longer makes sense. | ||||
* | Issue #14764: Update importlib.test.benchmark to work in a world where | Brett Cannon | 2012-05-11 | 1 | -0/+14 |
| | | | | import machinery is no longer implicit. | ||||
* | merge | Ned Deily | 2012-05-11 | 0 | -0/+0 |
|\ | |||||
| * | Issue #14662: Prevent shutil failures on OS X when destination does not | Ned Deily | 2012-05-11 | 3 | -2/+37 |
| | | | | | | | | support chflag operations. (Patch by Hynek Schlawack) | ||||
* | | Issue #14662: Prevent shutil failures on OS X when destination does not | Ned Deily | 2012-05-11 | 3 | -2/+36 |
| | | | | | | | | support chflag operations. (Patch by Hynek Schlawack) | ||||
* | | use yield from | Benjamin Peterson | 2012-05-10 | 1 | -6/+3 |
| | | |||||
* | | Issue #14157: Fix time.strptime failing without a year on February 29th. | Antoine Pitrou | 2012-05-10 | 3 | -1/+11 |
|\ \ | |/ | | | | | Patch by Hynek Schlawack. | ||||
| * | Issue #14157: Fix time.strptime failing without a year on February 29th. | Antoine Pitrou | 2012-05-10 | 3 | -1/+11 |
| | | | | | | | | Patch by Hynek Schlawack. | ||||
* | | Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2 | Richard Oudkerk | 2012-05-10 | 6 | -43/+42 |
| | | | | | | | | | | | | | | | | In Python 3.2 and earlier, Process.join() and Connection.poll() treated negative timeouts as zero timeouts. Earlier versions from the 3.3 line of development treat them as infinite timeouts. The patch reverts to the old behaviour. | ||||
* | | Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy ↵ | Antoine Pitrou | 2012-05-10 | 8 | -552/+316 |
| | | | | | | | | Storchaka. | ||||
* | | Some nits in the pickle docs. | Antoine Pitrou | 2012-05-10 | 1 | -21/+23 |
|\ \ | |/ | |||||
| * | Some nits in the pickle docs. | Antoine Pitrou | 2012-05-10 | 1 | -21/+23 |
| | | |||||
* | | Removed outdated statement about pickle's and marshal's relative performance. | Antoine Pitrou | 2012-05-10 | 1 | -8/+0 |
|\ \ | |/ | |||||
| * | Removed outdated statement about pickle's and marshal's relative performance. | Antoine Pitrou | 2012-05-10 | 1 | -8/+0 |
| | | |||||
* | | #14763: merge with 3.2. | Ezio Melotti | 2012-05-10 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #14763: document default maxsplit value for str.split. | Ezio Melotti | 2012-05-10 | 1 | -2/+2 |
| | | |||||
* | | MERGE: Closes #14768: os.path.expanduser('~/a') doesn't works correctly when ↵ | Jesus Cea | 2012-05-10 | 4 | -2/+6 |
|\ \ | |/ | | | | | HOME is '/' | ||||
| * | Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME ↵ | Jesus Cea | 2012-05-10 | 4 | -2/+6 |
| | | | | | | | | is '/' | ||||
* | | Rename unicode_write_t structure and its methods to "_PyUnicodeWriter" | Victor Stinner | 2012-05-09 | 2 | -25/+25 |
| | | |||||
* | | Issue #14744: Inline unicode_writer_write_char() and unicode_write_str() | Victor Stinner | 2012-05-09 | 2 | -76/+79 |
| | | | | | | | | | | Optimize also PyUnicode_Format(): call unicode_writer_prepare() only once per argument. | ||||
* | | Null merge for issue #14761. | Antoine Pitrou | 2012-05-09 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #14761: Fix potential leak on an error case in the import machinery. | Antoine Pitrou | 2012-05-09 | 3 | -1/+5 |
| | | |||||
* | | Issue #14746: Remove redundant paragraphs from skipitem() in Python/getargs.c. | Larry Hastings | 2012-05-09 | 1 | -18/+8 |
| | | |||||
* | | Merge: Improve the grammar of a non-sentence. | R David Murray | 2012-05-09 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Improve the grammar of a non-sentence. | R David Murray | 2012-05-09 | 1 | -2/+2 |
| | | |||||
* | | unicode_writer_finish() checks string consistency | Victor Stinner | 2012-05-09 | 2 | -0/+5 |
| | | |||||
* | | Issue #14727: Fix race in test_multiprocessing | Richard Oudkerk | 2012-05-08 | 1 | -1/+1 |
| | | |||||
* | | Minor fix for test_multiprocessing | Richard Oudkerk | 2012-05-08 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 (#14752) | Benjamin Peterson | 2012-05-08 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | fix possible refleak (closes #14752) | Benjamin Peterson | 2012-05-08 | 1 | -2/+4 |
| | | |||||
* | | Merge from 3.2. Issue #14749: Add support for 'Z' to skipitem(). | Larry Hastings | 2012-05-08 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c. | Larry Hastings | 2012-05-08 | 1 | -0/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-05-08 | 1 | -9/+0 |
|\ \ | |/ | |||||
| * | remove basically bitrotted XXXs | Benjamin Peterson | 2012-05-08 | 1 | -9/+0 |
| | | |||||
* | | explicitly set UnsupportedOperation's module rather than relying on ↵ | Benjamin Peterson | 2012-05-08 | 1 | -0/+3 |
| | | | | | | | | incorrect globals on startup (closes #14745) | ||||
* | | Backout ab500b297900: the check for integer overflow is wrong | Victor Stinner | 2012-05-07 | 1 | -4/+2 |
| | | | | | | | | | | | | Issue #14716: Change integer overflow check in unicode_writer_prepare() to compute the limit at compile time instead of runtime. Patch writen by Serhiy Storchaka. | ||||
* | | Issue #14742: Don't include DirectoryTestCase from test_unparse in ↵ | Mark Dickinson | 2012-05-07 | 1 | -1/+1 |
| | | | | | | | | test_tools until we can speed it up. | ||||
* | | Issue #14583: Fix importlib bug when a package's __init__.py would first ↵ | Antoine Pitrou | 2012-05-07 | 6 | -308/+374 |
| | | | | | | | | import one of its modules then raise an error. | ||||
* | | Issue #14741: Merge fix from 3.2. | Mark Dickinson | 2012-05-07 | 3 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue #14741: Fix missing support for ellipsis in parser module. | Mark Dickinson | 2012-05-07 | 3 | -5/+5 |
| | | |||||
* | | Issue #14697: Merge fix from 3.2. | Mark Dickinson | 2012-05-07 | 3 | -21/+105 |
|\ \ | |/ | |||||
| * | Issue #14697: Fix missing parser module support for set displays and set ↵ | Mark Dickinson | 2012-05-07 | 3 | -21/+105 |
| | | | | | | | | comprehensions. | ||||
* | | Issue #14716: Change integer overflow check in unicode_writer_prepare() | Victor Stinner | 2012-05-07 | 1 | -2/+4 |
| | | | | | | | | | | to compute the limit at compile time instead of runtime. Patch writen by Serhiy Storchaka. | ||||
* | | Close #14716: str.format() now uses the new "unicode writer" API instead of the | Victor Stinner | 2012-05-07 | 2 | -170/+148 |
| | | | | | | | | PyAccu API. For example, it makes str.format() from 25% to 30% faster on Linux. | ||||
* | | Issue #14701: Merge fix from 3.2. | Mark Dickinson | 2012-05-07 | 3 | -12/+21 |
|\ \ | |/ | |||||
| * | Issue #14701: Add missing support for 'raise ... from' in parser module. | Mark Dickinson | 2012-05-07 | 3 | -12/+21 |
| | | |||||
* | | Issue #14700: Fix two broken and undefined-behaviour-inducing overflow ↵ | Mark Dickinson | 2012-05-07 | 3 | -2/+9 |
| | | | | | | | | checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch. |