summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13959: HaveBrett Cannon2012-05-119-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 Cannon2012-05-111-0/+12
|
* Update importlib.hBrett Cannon2012-05-111-2852/+2853
|
* Issue #13959: Deprecate imp.get_suffixes() for new attributes onBrett Cannon2012-05-1117-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 whereBrett Cannon2012-05-111-0/+14
| | | | import machinery is no longer implicit.
* mergeNed Deily2012-05-110-0/+0
|\
| * Issue #14662: Prevent shutil failures on OS X when destination does notNed Deily2012-05-113-2/+37
| | | | | | | | support chflag operations. (Patch by Hynek Schlawack)
* | Issue #14662: Prevent shutil failures on OS X when destination does notNed Deily2012-05-113-2/+36
| | | | | | | | support chflag operations. (Patch by Hynek Schlawack)
* | use yield fromBenjamin Peterson2012-05-101-6/+3
| |
* | Issue #14157: Fix time.strptime failing without a year on February 29th.Antoine Pitrou2012-05-103-1/+11
|\ \ | |/ | | | | Patch by Hynek Schlawack.
| * Issue #14157: Fix time.strptime failing without a year on February 29th.Antoine Pitrou2012-05-103-1/+11
| | | | | | | | Patch by Hynek Schlawack.
* | Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2Richard Oudkerk2012-05-106-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 Pitrou2012-05-108-552/+316
| | | | | | | | Storchaka.
* | Some nits in the pickle docs.Antoine Pitrou2012-05-101-21/+23
|\ \ | |/
| * Some nits in the pickle docs.Antoine Pitrou2012-05-101-21/+23
| |
* | Removed outdated statement about pickle's and marshal's relative performance.Antoine Pitrou2012-05-101-8/+0
|\ \ | |/
| * Removed outdated statement about pickle's and marshal's relative performance.Antoine Pitrou2012-05-101-8/+0
| |
* | #14763: merge with 3.2.Ezio Melotti2012-05-101-2/+2
|\ \ | |/
| * #14763: document default maxsplit value for str.split.Ezio Melotti2012-05-101-2/+2
| |
* | MERGE: Closes #14768: os.path.expanduser('~/a') doesn't works correctly when ↵Jesus Cea2012-05-104-2/+6
|\ \ | |/ | | | | HOME is '/'
| * Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME ↵Jesus Cea2012-05-104-2/+6
| | | | | | | | is '/'
* | Rename unicode_write_t structure and its methods to "_PyUnicodeWriter"Victor Stinner2012-05-092-25/+25
| |
* | Issue #14744: Inline unicode_writer_write_char() and unicode_write_str()Victor Stinner2012-05-092-76/+79
| | | | | | | | | | Optimize also PyUnicode_Format(): call unicode_writer_prepare() only once per argument.
* | Null merge for issue #14761.Antoine Pitrou2012-05-090-0/+0
|\ \ | |/
| * Issue #14761: Fix potential leak on an error case in the import machinery.Antoine Pitrou2012-05-093-1/+5
| |
* | Issue #14746: Remove redundant paragraphs from skipitem() in Python/getargs.c.Larry Hastings2012-05-091-18/+8
| |
* | Merge: Improve the grammar of a non-sentence.R David Murray2012-05-091-2/+2
|\ \ | |/
| * Improve the grammar of a non-sentence.R David Murray2012-05-091-2/+2
| |
* | unicode_writer_finish() checks string consistencyVictor Stinner2012-05-092-0/+5
| |
* | Issue #14727: Fix race in test_multiprocessingRichard Oudkerk2012-05-081-1/+1
| |
* | Minor fix for test_multiprocessingRichard Oudkerk2012-05-081-1/+1
| |
* | merge 3.2 (#14752)Benjamin Peterson2012-05-081-2/+4
|\ \ | |/
| * fix possible refleak (closes #14752)Benjamin Peterson2012-05-081-2/+4
| |
* | Merge from 3.2. Issue #14749: Add support for 'Z' to skipitem().Larry Hastings2012-05-081-0/+1
|\ \ | |/
| * Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.Larry Hastings2012-05-081-0/+1
| |
* | merge 3.2Benjamin Peterson2012-05-081-9/+0
|\ \ | |/
| * remove basically bitrotted XXXsBenjamin Peterson2012-05-081-9/+0
| |
* | explicitly set UnsupportedOperation's module rather than relying on ↵Benjamin Peterson2012-05-081-0/+3
| | | | | | | | incorrect globals on startup (closes #14745)
* | Backout ab500b297900: the check for integer overflow is wrongVictor Stinner2012-05-071-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 Dickinson2012-05-071-1/+1
| | | | | | | | test_tools until we can speed it up.
* | Issue #14583: Fix importlib bug when a package's __init__.py would first ↵Antoine Pitrou2012-05-076-308/+374
| | | | | | | | import one of its modules then raise an error.
* | Issue #14741: Merge fix from 3.2.Mark Dickinson2012-05-073-5/+5
|\ \ | |/
| * Issue #14741: Fix missing support for ellipsis in parser module.Mark Dickinson2012-05-073-5/+5
| |
* | Issue #14697: Merge fix from 3.2.Mark Dickinson2012-05-073-21/+105
|\ \ | |/
| * Issue #14697: Fix missing parser module support for set displays and set ↵Mark Dickinson2012-05-073-21/+105
| | | | | | | | comprehensions.
* | Issue #14716: Change integer overflow check in unicode_writer_prepare()Victor Stinner2012-05-071-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 theVictor Stinner2012-05-072-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 Dickinson2012-05-073-12/+21
|\ \ | |/
| * Issue #14701: Add missing support for 'raise ... from' in parser module.Mark Dickinson2012-05-073-12/+21
| |
* | Issue #14700: Fix two broken and undefined-behaviour-inducing overflow ↵Mark Dickinson2012-05-073-2/+9
| | | | | | | | checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch.