Nadeem Vawda
fd8a838d58
Issue #14684 : Add support for predefined compression dictionaries to the zlib module.
...
Original patch by Sam Rushing.
2012-06-21 02:13:12 +02:00
Christian Heimes
0b3847de6d
Issue #15096 : Drop support for the ur string prefix
2012-06-20 11:17:58 +02:00
Nadeem Vawda
10c8791978
Fix GzipFile's handling of filenames given as bytes objects.
...
Add relevant tests for GzipFile, and also for BZ2File and LZMAFile.
2012-06-20 01:48:50 +02:00
Nadeem Vawda
103e8113e4
Fix GzipFile's handling of filenames given as bytes objects.
2012-06-20 01:35:22 +02:00
Antoine Pitrou
e67f48ce5e
Issue #14928 : Fix importlib bootstrap issues by using a custom executable (Modules/_freeze_importlib) to build Python/importlib.h.
2012-06-19 22:29:35 +02:00
Brian Curtin
0d0a1dedbc
Fix #14772 : Return the destination from some shutil functions.
2012-06-18 18:41:07 -05:00
Kristján Valur Jónsson
e75ff35af2
Issue #15038 : Optimize python Locks on Windows
...
Extract cross-platform condition variable support into a separate file and
provide user-mode non-recursive locks for Windows.
2012-06-18 20:30:44 +00:00
Richard Oudkerk
d69cfe88ea
Issue #15064 : Implement context manager protocol for multiprocessing types
2012-06-18 17:47:52 +01:00
Richard Oudkerk
0f884273b0
Issue #15101 : Make pool finalizer avoid joining current thread.
2012-06-18 16:02:49 +01:00
Richard Oudkerk
f29ec4b0c8
Issue #15101 : Make pool finalizer avoid joining current thread.
2012-06-18 15:54:57 +01:00
Petri Lehtinen
10e65881d5
Fix NEWS entry for #15036
2012-06-18 10:45:56 +03:00
Petri Lehtinen
da7a6e7da0
Fix NEWS entry for #15036
2012-06-18 10:43:53 +03:00
Antoine Pitrou
48114b952b
Issue #14657 : The frozen instance of importlib used for bootstrap is now also the module imported as importlib._bootstrap.
2012-06-17 22:33:38 +02:00
Nick Coghlan
307ef8aee5
Merge from 3.2 (Ignore X-Antivirus headers in test_nntplib)
2012-06-17 21:30:35 +10:00
Nick Coghlan
14d99a1491
Ignore X-Antivirus headers in test_nntplib
2012-06-17 21:27:18 +10:00
Nick Coghlan
9aff2a7c41
Merge from 3.2 (Issue #15043 : skip test_gdb if the custom hooks can't be loaded)
2012-06-17 19:16:02 +10:00
Nick Coghlan
be4e4b5691
Issue #15043 : skip test_gdb if the custom hooks can't be loaded
2012-06-17 18:57:20 +10:00
Martin v. Löwis
bce166681c
Issue #14055 : Add __sizeof__ support to _elementtree.
2012-06-17 10:41:22 +02:00
Nick Coghlan
9680bdb567
Issue #14814 : Add first draft of PEP 3144 ipaddress module documentation (initial patch by Sandro Tosi)
2012-06-17 17:24:10 +10:00
Nick Coghlan
5b0dac12b8
Issue #13783 : PEP 380 cleanup part 2, using the new identifier APIs in the generator implementation
2012-06-17 15:45:11 +10:00
Nick Coghlan
c40bc09942
Issue #13783 : the PEP 380 implementation no longer expands the public C API
2012-06-17 15:15:49 +10:00
Meador Inge
8d5c0b8c19
Issue #15054 : Fix incorrect tokenization of 'b' string literals.
...
Patch by Serhiy Storchaka.
2012-06-16 21:49:08 -05:00
Antoine Pitrou
aaefac76dd
Issue #14874 : Restore charmap decoding speed to pre-PEP 393 levels.
...
Patch by Serhiy Storchaka.
2012-06-16 22:48:21 +02:00
Alexander Belopolsky
0831382d69
Issue #15006 : Allow equality comparison between naive and aware time
...
or datetime objects.
2012-06-15 20:19:47 -04:00
Brett Cannon
ea0b823940
Issue #14938 : importlib.abc.SourceLoader.is_package() now takes the
...
module name into consideration when determining whether a module is a
package or not. This prevents importing a module's __init__ module
directly and having it considered a package, which can lead to
duplicate sub-modules.
Thanks to Ronan Lamy for reporting the bug.
2012-06-15 20:00:53 -04:00
Brett Cannon
47b3239cc6
Closes issue #14982 : Document that pkgutil's walk_packages() and
...
iter_modules() requires iter_modules() be defined on an importer. The
importers in importlib do not define this non-standard method.
2012-06-15 19:21:07 -04:00
Antoine Pitrou
27f6a3b0bf
Issue #15026 : utf-16 encoding is now significantly faster (up to 10x).
...
Patch by Serhiy Storchaka.
2012-06-15 22:15:23 +02:00
Petri Lehtinen
a717d563d0
#15036 : Make a repeated changes and flushes work with single-file mailboxes
2012-06-15 21:01:56 +03:00
Petri Lehtinen
02653f1b11
#15036 : Make a repeated changes and flushes work with single-file mailboxes
2012-06-15 20:59:31 +03:00
Richard Oudkerk
3730a17a58
Issue #14059 : Implement multiprocessing.Barrier
2012-06-15 18:26:07 +01:00
Nick Coghlan
96f806bccb
Fix typos in NEWS entry
2012-06-15 21:16:25 +10:00
Nick Coghlan
807770ec1b
Issue #15061 : Don't oversell the capabilities of the new non-shortcircuiting comparison function in hmac
2012-06-15 21:14:08 +10:00
Richard Oudkerk
73d9a292ae
Issue #13841 : Make child processes exit using sys.exit() on Windows
2012-06-14 15:30:10 +01:00
Martin v. Löwis
bc07cb883e
Issue #14936 : curses_panel was converted to PEP 3121 and PEP 384 API.
...
Patch by Robin Schreiber.
2012-06-14 16:01:23 +02:00
Martin v. Löwis
c838ec1f82
Issue #14936 : curses_panel was converted to PEP 3121 API.
...
Patch by Robin Schreiber.
2012-06-14 16:00:24 +02:00
Alexander Belopolsky
c142bba2a7
Issue #1667546 : On platforms supporting tm_zone and tm_gmtoff fields
...
in struct tm, time.struct_time objects returned by time.gmtime(),
time.localtime() and time.strptime() functions now have tm_zone and
tm_gmtoff attributes. Original patch by Paul Boddie.
2012-06-13 22:15:26 -04:00
Victor Stinner
2b89fdf7eb
PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result
...
Fix also its value on Windows and Linux according to its documentation:
"adjustable" indicates if the clock *can be* adjusted, not if it is or was
adjusted.
In most cases, it is not possible to indicate if a clock is or was adjusted.
2012-06-12 22:46:37 +02:00
Richard Oudkerk
f0604fddc3
Issue #3518 : Remove references to non-existent BaseManager.from_address()
...
method
2012-06-11 17:56:08 +01:00
Richard Oudkerk
197651b4e3
Issue #10133 : Make multiprocessing deallocate buffer if socket read fails.
...
Patch by Hallvard B Furuseth.
2012-06-11 15:12:12 +01:00
Nick Coghlan
4fae8cdaea
Close #13857 : Added textwrap.indent() function (initial patch by Ezra
...
Berch)
2012-06-11 23:07:51 +10:00
Alexander Belopolsky
a4415141da
Issue #2736 : Added datetime.timestamp() method.
2012-06-08 12:33:09 -04:00
Terry Jan Reedy
571ee57695
Merge from 3.2, #12510
2012-06-07 20:04:17 -04:00
Terry Jan Reedy
2a2ce4f673
Issue #12510 : Revise and triple # of calltip tests, with an eye to unittest
...
use. Make the get_entity 'method' a module function as it did not use 'self'.
Delete buggy _find_constructor function that is not needed, at least in 3.x.
Revise get_argspec so all tests pass. Add and fix NEWS entries.
2012-06-07 19:41:04 -04:00
Richard Oudkerk
58ba47f97b
Merge fixes for #13854 and #12157 .
2012-06-07 20:38:11 +01:00
Alexander Belopolsky
74482201b8
Issue #11823 : disassembly now shows argument counts on calls with keyword args
2012-06-07 14:28:14 -04:00
Richard Oudkerk
29471de459
Issue #13854 : Properly handle non-integer, non-string arg to SystemExit
...
Previously multiprocessing only expected int or str. It also wrongly
used an exit code of 1 when the argument was a string instead of zero.
2012-06-06 19:04:57 +01:00
Richard Oudkerk
e41682b994
Issue #12157 : pool.map() does not handle empty iterable correctly
...
Initial patch by mouad
2012-06-06 19:04:57 +01:00
Gregory P. Smith
902274e948
Fixes issue #15000 : support the odd x32 abi on posixsubprocess's system call.
2012-06-05 13:30:24 -07:00
Gregory P. Smith
58f07a9d6d
Fixes issue #15000 : support the odd x32 abi on posixsubprocess's system call.
2012-06-05 13:26:39 -07:00
Victor Stinner
f86a5e8a93
Close #11022 : TextIOWrapper doesn't call locale.setlocale() anymore
...
open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False)
instead of locale.getpreferredencoding() in text mode if the encoding is not
specified. Don't change temporary the locale encoding using locale.setlocale(),
use the current locale encoding instead of the user preferred encoding.
Explain also in open() documentation that locale.getpreferredencoding(False) is
called if the encoding is not specified.
2012-06-05 13:43:22 +02:00