]>
granicus.if.org Git - python/log
Charles-François Natali [Fri, 4 Jan 2013 17:33:02 +0000 (18:33 +0100)]
Issue #16860: In tempfile, use O_CLOEXEC when available to set the
close-on-exec flag atomically.
Serhiy Storchaka [Fri, 4 Jan 2013 10:40:35 +0000 (12:40 +0200)]
Issue #16856: Fix a segmentation fault from calling repr() on a dict with
a key whose repr raise an exception.
Serhiy Storchaka [Fri, 4 Jan 2013 10:39:34 +0000 (12:39 +0200)]
Issue #16856: Fix a segmentation fault from calling repr() on a dict with
a key whose repr raise an exception.
Serhiy Storchaka [Fri, 4 Jan 2013 10:18:35 +0000 (12:18 +0200)]
Issue #16674: random.getrandbits() is now 20-40% faster for small integers.
Benjamin Peterson [Fri, 4 Jan 2013 04:34:58 +0000 (20:34 -0800)]
merge 3.3
Benjamin Peterson [Fri, 4 Jan 2013 04:34:49 +0000 (20:34 -0800)]
merge 3.2
Benjamin Peterson [Fri, 4 Jan 2013 04:34:40 +0000 (20:34 -0800)]
merge heads
Benjamin Peterson [Fri, 4 Jan 2013 04:34:19 +0000 (20:34 -0800)]
drop email (closes #16857)
Christian Heimes [Thu, 3 Jan 2013 08:22:41 +0000 (09:22 +0100)]
Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in
non-pydebug builds. Several extension modules now compile cleanly when
assert()s are enabled in standard builds (-DDEBUG flag).
Christian Heimes [Thu, 3 Jan 2013 08:21:55 +0000 (09:21 +0100)]
Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in
non-pydebug builds. Several extension modules now compile cleanly when
assert()s are enabled in standard builds (-DDEBUG flag).
Ezio Melotti [Thu, 3 Jan 2013 06:44:15 +0000 (08:44 +0200)]
#16009: JSON error messages now provide more information. Patch by Serhiy Storchaka.
Victor Stinner [Thu, 3 Jan 2013 02:38:38 +0000 (03:38 +0100)]
(Merge 3.3) Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB.
Victor Stinner [Thu, 3 Jan 2013 02:37:47 +0000 (03:37 +0100)]
(Merge 3.2) Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB.
Victor Stinner [Thu, 3 Jan 2013 02:33:21 +0000 (03:33 +0100)]
Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB
Victor Stinner [Thu, 3 Jan 2013 02:18:09 +0000 (03:18 +0100)]
Close #16281: handle tailmatch() failure and remove useless comment
"honor direction and do a forward or backwards search": the runtime speed may
be different, but I consider that it doesn't really matter in practice. The
direction was never honored before: Python 2.7 uses memcmp() for the str type
for example.
Giampaolo Rodola' [Thu, 3 Jan 2013 01:54:27 +0000 (02:54 +0100)]
issue 10527: fix missing import
Victor Stinner [Thu, 3 Jan 2013 00:56:51 +0000 (01:56 +0100)]
Null merge 3.3
Victor Stinner [Thu, 3 Jan 2013 00:56:38 +0000 (01:56 +0100)]
(Merge 3.2) Issue #16218, #16414, #16444: Backport FS_NONASCII,
TESTFN_UNDECODABLE, TESTFN_NONASCII of test.support from Python 3.4. Backport
tests on non-ASCII paths.
Victor Stinner [Thu, 3 Jan 2013 00:50:30 +0000 (01:50 +0100)]
Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII
paths.
Victor Stinner [Thu, 3 Jan 2013 00:21:44 +0000 (01:21 +0100)]
Null merge 3.3 (fix already applied to default, it was a backport)
Victor Stinner [Thu, 3 Jan 2013 00:21:07 +0000 (01:21 +0100)]
(Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, the
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.
Victor Stinner [Thu, 3 Jan 2013 00:08:58 +0000 (01:08 +0100)]
Issue #16455: On FreeBSD and Solaris, if the locale is C, the
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.
Nadeem Vawda [Wed, 2 Jan 2013 22:13:53 +0000 (23:13 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress(b'') and bz2.BZ2Compressor.compress(b'').
Initial patch by Martin Packman.
Nadeem Vawda [Wed, 2 Jan 2013 22:10:47 +0000 (23:10 +0100)]
Correction: issue #16828 also affects BZ2Compressor.compress().
Nadeem Vawda [Wed, 2 Jan 2013 22:05:56 +0000 (23:05 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').
Initial patch by Martin Packman.
Nadeem Vawda [Wed, 2 Jan 2013 22:02:00 +0000 (23:02 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').
Patch by Martin Packman.
Antoine Pitrou [Wed, 2 Jan 2013 21:10:47 +0000 (22:10 +0100)]
Issue #16833: In http.client.HTTPConnection, do not concatenate the request headers and body when the payload exceeds 16 KB, since it can consume more memory for no benefit.
Patch by Benno Leslie.
Ezio Melotti [Wed, 2 Jan 2013 20:29:57 +0000 (22:29 +0200)]
#16747: merge with 3.3.
Ezio Melotti [Wed, 2 Jan 2013 20:29:41 +0000 (22:29 +0200)]
#16747: merge with 3.2.
Ezio Melotti [Wed, 2 Jan 2013 20:29:09 +0000 (22:29 +0200)]
#16747: fix link to file objects in the glossary.
Ezio Melotti [Wed, 2 Jan 2013 19:22:58 +0000 (21:22 +0200)]
#16748: merge with 3.3.
Ezio Melotti [Wed, 2 Jan 2013 19:19:37 +0000 (21:19 +0200)]
#16748: test_heapq now works with unittest test discovery.
Benjamin Peterson [Wed, 2 Jan 2013 18:23:32 +0000 (12:23 -0600)]
merge heads
Benjamin Peterson [Wed, 2 Jan 2013 18:23:05 +0000 (12:23 -0600)]
merge 3.3
Benjamin Peterson [Wed, 2 Jan 2013 18:22:11 +0000 (12:22 -0600)]
add Tom Tromey to ACKS
Serhiy Storchaka [Wed, 2 Jan 2013 16:22:23 +0000 (18:22 +0200)]
Issue #16841: Set st_dev on Windows as unsigned long to match its DWORD type.
Eli Bendersky [Wed, 2 Jan 2013 13:55:17 +0000 (05:55 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)
Eli Bendersky [Wed, 2 Jan 2013 13:54:36 +0000 (05:54 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)
Eli Bendersky [Wed, 2 Jan 2013 13:53:59 +0000 (05:53 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)
Serhiy Storchaka [Wed, 2 Jan 2013 10:32:10 +0000 (12:32 +0200)]
Fix incorrect grammar in sched documentation.
Serhiy Storchaka [Wed, 2 Jan 2013 10:31:26 +0000 (12:31 +0200)]
Fix incorrect grammar in sched documentation.
Serhiy Storchaka [Wed, 2 Jan 2013 10:11:57 +0000 (12:11 +0200)]
Fix incorrect grammar in Misc/NEWS.
Serhiy Storchaka [Wed, 2 Jan 2013 10:05:38 +0000 (12:05 +0200)]
Fix incorrect grammar in Misc/NEWS.
Serhiy Storchaka [Wed, 2 Jan 2013 09:57:22 +0000 (11:57 +0200)]
Fix incorrect grammar in Misc/NEWS.
Serhiy Storchaka [Wed, 2 Jan 2013 08:41:08 +0000 (10:41 +0200)]
Merge heads
Serhiy Storchaka [Wed, 2 Jan 2013 08:40:36 +0000 (10:40 +0200)]
Merge heads
Serhiy Storchaka [Wed, 2 Jan 2013 08:38:45 +0000 (10:38 +0200)]
Merge heads
Serhiy Storchaka [Wed, 2 Jan 2013 08:37:54 +0000 (10:37 +0200)]
Merge heads
Serhiy Storchaka [Wed, 2 Jan 2013 08:32:13 +0000 (10:32 +0200)]
Merge heads
Łukasz Langa [Wed, 2 Jan 2013 00:03:09 +0000 (01:03 +0100)]
Null-merged Misc/NEWS change
Łukasz Langa [Wed, 2 Jan 2013 00:02:17 +0000 (01:02 +0100)]
Null-merged Misc/NEWS change
Łukasz Langa [Tue, 1 Jan 2013 23:44:36 +0000 (00:44 +0100)]
Misc/NEWS updated to tell about #16820
Łukasz Langa [Tue, 1 Jan 2013 23:40:55 +0000 (00:40 +0100)]
Null-merged Misc/NEWS change
Łukasz Langa [Tue, 1 Jan 2013 23:39:59 +0000 (00:39 +0100)]
Misc/NEWS updated to tell about #14590 and #16820
Łukasz Langa [Tue, 1 Jan 2013 22:50:59 +0000 (23:50 +0100)]
Null-merged 3.2 section order preservation fix when using `__setitem__` (issue
#16820)
Łukasz Langa [Tue, 1 Jan 2013 22:50:03 +0000 (23:50 +0100)]
Null-merged 3.2 section order preservation fix when using `__setitem__` (issue
#16820)
Łukasz Langa [Tue, 1 Jan 2013 22:45:33 +0000 (23:45 +0100)]
configparser: preserve section order when using `__setitem__` (issue #16820)
Victor Stinner [Tue, 1 Jan 2013 22:17:22 +0000 (23:17 +0100)]
(Merge 3.3) Issue #9644: Add a test on os.statvfs() for the PEP 383
Victor Stinner [Tue, 1 Jan 2013 22:11:21 +0000 (23:11 +0100)]
Issue #9644: Add a test on os.statvfs() for the PEP 383
Serhiy Storchaka [Tue, 1 Jan 2013 22:09:17 +0000 (00:09 +0200)]
Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
Serhiy Storchaka [Tue, 1 Jan 2013 22:07:21 +0000 (00:07 +0200)]
Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
Victor Stinner [Tue, 1 Jan 2013 22:05:55 +0000 (23:05 +0100)]
Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding
with the surrogateescape error handler, instead of UTF-8 in strict mode.
Serhiy Storchaka [Tue, 1 Jan 2013 22:03:58 +0000 (00:03 +0200)]
Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
Łukasz Langa [Tue, 1 Jan 2013 21:36:33 +0000 (22:36 +0100)]
Merged section order preservation fix when using `__setitem__` (issue #16820)
Łukasz Langa [Tue, 1 Jan 2013 21:33:19 +0000 (22:33 +0100)]
configparser: preserve section order when using `__setitem__` (issue #16820)
Serhiy Storchaka [Tue, 1 Jan 2013 20:33:19 +0000 (22:33 +0200)]
Issue #16819: IDLE method completion now correctly works for bytes literals.
Serhiy Storchaka [Tue, 1 Jan 2013 20:32:42 +0000 (22:32 +0200)]
Issue #16819: IDLE method completion now correctly works for bytes literals.
Serhiy Storchaka [Tue, 1 Jan 2013 20:25:59 +0000 (22:25 +0200)]
Issue #16819: IDLE method completion now correctly works for bytes literals.
Ned Deily [Tue, 1 Jan 2013 20:09:23 +0000 (12:09 -0800)]
Update copyright dates in Mac plists.
Ned Deily [Tue, 1 Jan 2013 20:08:39 +0000 (12:08 -0800)]
Update copyright dates in Mac plists.
Ned Deily [Tue, 1 Jan 2013 20:07:15 +0000 (12:07 -0800)]
Update copyright dates in Mac plists.
Brian Curtin [Tue, 1 Jan 2013 18:31:06 +0000 (12:31 -0600)]
Backed out changeset
61bada808b34
Brian Curtin [Tue, 1 Jan 2013 18:21:35 +0000 (12:21 -0600)]
Set st_dev on Windows as unsigned long to match its DWORD type, related to the change to fix #11939.
Richard Oudkerk [Tue, 1 Jan 2013 17:40:58 +0000 (17:40 +0000)]
Issue #9586: Merge.
Richard Oudkerk [Tue, 1 Jan 2013 17:36:53 +0000 (17:36 +0000)]
Issue #9586: Merge
Richard Oudkerk [Tue, 1 Jan 2013 17:29:44 +0000 (17:29 +0000)]
Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
Eli Bendersky [Tue, 1 Jan 2013 15:42:06 +0000 (07:42 -0800)]
Make indentation consistent
Eli Bendersky [Tue, 1 Jan 2013 15:41:51 +0000 (07:41 -0800)]
Make indentation consistent
Charles-François Natali [Tue, 1 Jan 2013 15:31:54 +0000 (16:31 +0100)]
Issue #16787: Increase asyncore and asynchat default output buffers size, to
decrease CPU usage and increase throughput.
Richard Oudkerk [Tue, 1 Jan 2013 14:25:59 +0000 (14:25 +0000)]
Fix overlooked licence text.
Benjamin Peterson [Tue, 1 Jan 2013 03:44:06 +0000 (21:44 -0600)]
merge 3.3
Benjamin Peterson [Tue, 1 Jan 2013 03:44:00 +0000 (21:44 -0600)]
update another year
Benjamin Peterson [Tue, 1 Jan 2013 03:37:30 +0000 (21:37 -0600)]
merge 3.3
Benjamin Peterson [Tue, 1 Jan 2013 03:37:21 +0000 (21:37 -0600)]
bring Python into 2013
Eli Bendersky [Mon, 31 Dec 2012 23:34:43 +0000 (15:34 -0800)]
Make indentation consistent and remove dead commented-out code.
Eli Bendersky [Mon, 31 Dec 2012 23:34:20 +0000 (15:34 -0800)]
Make indentation consistent and remove dead commented-out code.
Brian Curtin [Mon, 31 Dec 2012 17:59:48 +0000 (11:59 -0600)]
st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines.
Giampaolo Rodola' [Mon, 31 Dec 2012 16:38:46 +0000 (17:38 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
Giampaolo Rodola' [Mon, 31 Dec 2012 16:38:17 +0000 (17:38 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
Giampaolo Rodola' [Mon, 31 Dec 2012 16:23:09 +0000 (17:23 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
Łukasz Langa [Mon, 31 Dec 2012 12:57:21 +0000 (13:57 +0100)]
Merged `parser['DEFAULT'].__setitem__` fix (issue #16820) from 3.3.
Łukasz Langa [Mon, 31 Dec 2012 12:55:11 +0000 (13:55 +0100)]
Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820.
Serhiy Storchaka [Mon, 31 Dec 2012 09:37:34 +0000 (11:37 +0200)]
Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
Original patch by Stefan Behnel.
Serhiy Storchaka [Mon, 31 Dec 2012 09:31:41 +0000 (11:31 +0200)]
Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
Łukasz Langa [Mon, 31 Dec 2012 02:43:37 +0000 (03:43 +0100)]
Merged `parser.clean()` fix (issue #16820) from 3.2 through 3.3.
Łukasz Langa [Mon, 31 Dec 2012 02:41:54 +0000 (03:41 +0100)]
Merged `parser.clean()` fix (issue #16820) from 3.2.
Łukasz Langa [Mon, 31 Dec 2012 02:40:36 +0000 (03:40 +0100)]
added Wolfgang Scherer to acknowledgements
Łukasz Langa [Mon, 31 Dec 2012 02:38:39 +0000 (03:38 +0100)]
Fixes `parser.clean()` reported in issue #16820.
Łukasz Langa [Mon, 31 Dec 2012 01:26:11 +0000 (02:26 +0100)]
Merged fix for #15803 from 3.2 through 3.3
Łukasz Langa [Mon, 31 Dec 2012 01:25:28 +0000 (02:25 +0100)]
Merged fix for #15803 from 3.2