Jesus Cea
9436361e4c
Closes #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-06-22 18:32:07 +02:00
Alexander Belopolsky
fdc860f310
Issue #9527 : datetime.astimezone() method will now supply a class
...
timezone instance corresponding to the system local timezone when
called with no arguments.
2012-06-22 12:23:23 -04:00
Larry Hastings
8f904daee9
Issue #14769 : test_capi now has SkipitemTest, which cleverly checks
...
for "parity" between PyArg_ParseTuple() and the Python/getargs.c static
function skipitem() for all possible "format units".
2012-06-22 03:56:29 -07:00
Martin v. Löwis
7800f75827
Issue #15042 : Add PyState_AddModule and PyState_RemoveModule.
...
Add version guard for Py_LIMITED_API additions.
Issue #15081 : Document PyState_FindModule.
Patch by Robin Schreiber.
2012-06-22 12:20:55 +02:00
Alexander Belopolsky
76935b9c8c
Issue #14653 : email.utils.mktime_tz() no longer relies on system
...
mktime() when timezone offest is supplied.
2012-06-21 20:48:23 -04:00
Alexander Belopolsky
a07548e97b
Issue #14653 : email.utils.mktime_tz() no longer relies on system
...
mktime() when timezone offest is supplied.
2012-06-21 20:34:09 -04:00
Nadeem Vawda
2180c97a00
Document the rest of zlib.compressobj()'s arguments.
...
Original patch by Jim Jewett; see issue 14684.
2012-06-22 01:40:49 +02:00
Hynek Schlawack
69168354c2
#10053 : Don't close FDs when FileIO.__init__ fails
...
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 20:58:31 +02:00
Hynek Schlawack
9ed8b4e4ca
#10053 : Don't close FDs when FileIO.__init__ fails
...
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 20:20:25 +02:00
Ned Deily
69192238ba
Issue #14225 : Fix Unicode support for curses ( #12567 ) on OS X:
...
1. on OS X, there is no separate /usr/lib/libcursesw nor libpanelw
2. _XOPEN_SOURCE_EXTENDED must be enabled for _curses build
2012-06-20 23:47:14 -07:00
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
doko@ubuntu.com
d8623e8e66
Do not italicize punctuation in python(1) manual page (Matt Kraai).
2012-06-20 13:16:31 +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
Ezio Melotti
5b1406fbce
#14840 : merge with 3.2.
2012-06-17 14:12:42 +02:00
Ezio Melotti
f90ea1f0a0
#14840 : Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware.
2012-06-17 14:10:59 +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