]> granicus.if.org Git - python/log
python
12 years agoIssue #16076: make _elementtree.Element pickle-able in a way that is compatible
Eli Bendersky [Thu, 10 Jan 2013 14:06:01 +0000 (06:06 -0800)]
Issue #16076: make _elementtree.Element pickle-able in a way that is compatible
with the Python version of the class.

Patch by Daniel Shahaf.

12 years agoIssue #16076: make _elementtree.Element pickle-able in a way that is compatible
Eli Bendersky [Thu, 10 Jan 2013 14:01:06 +0000 (06:01 -0800)]
Issue #16076: make _elementtree.Element pickle-able in a way that is compatible
with the Python version of the class.

Patch by Daniel Shahaf.

12 years ago#16910: merge with 3.3.
Ezio Melotti [Thu, 10 Jan 2013 05:46:29 +0000 (07:46 +0200)]
#16910: merge with 3.3.

12 years ago#16910: test_bytes, test_unicode, and test_userstring now work with unittest test...
Ezio Melotti [Thu, 10 Jan 2013 05:43:26 +0000 (07:43 +0200)]
#16910: test_bytes, test_unicode, and test_userstring now work with unittest test discovery.  Patch by Zachary Ware.

12 years ago#16905: merge with 3.3.
Ezio Melotti [Thu, 10 Jan 2013 04:53:34 +0000 (06:53 +0200)]
#16905: merge with 3.3.

12 years ago#16905: test_bufio now works with unittest test discovery. Initial patch by Berker...
Ezio Melotti [Thu, 10 Jan 2013 04:52:23 +0000 (06:52 +0200)]
#16905: test_bufio now works with unittest test discovery.  Initial patch by Berker Peksag.

12 years ago#16898: merge with 3.3.
Ezio Melotti [Thu, 10 Jan 2013 04:12:43 +0000 (06:12 +0200)]
#16898: merge with 3.3.

12 years ago#16898: test_bufio now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 04:11:34 +0000 (06:11 +0200)]
#16898: test_bufio now works with unittest test discovery.  Patch by Zachary Ware.

12 years ago#16888: merge with 3.3.
Ezio Melotti [Thu, 10 Jan 2013 04:06:31 +0000 (06:06 +0200)]
#16888: merge with 3.3.

12 years ago#16888: test_array now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 04:04:50 +0000 (06:04 +0200)]
#16888: test_array now works with unittest test discovery.  Patch by Zachary Ware.

12 years ago#16896: merge with 3.3.
Ezio Melotti [Thu, 10 Jan 2013 03:29:33 +0000 (05:29 +0200)]
#16896: merge with 3.3.

12 years ago#16896: test_asyncore now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 03:28:52 +0000 (05:28 +0200)]
#16896: test_asyncore now works with unittest test discovery.  Patch by Zachary Ware.

12 years ago#16897: merge with 3.3.
Ezio Melotti [Thu, 10 Jan 2013 02:33:17 +0000 (04:33 +0200)]
#16897: merge with 3.3.

12 years ago#16897: test_bisect now works with unittest test discovery. Initial patch by Zachary...
Ezio Melotti [Thu, 10 Jan 2013 02:32:01 +0000 (04:32 +0200)]
#16897: test_bisect now works with unittest test discovery.  Initial patch by Zachary Ware.

12 years agoMerge unittest.mock examples fixes.
Ezio Melotti [Thu, 10 Jan 2013 01:44:00 +0000 (03:44 +0200)]
Merge unittest.mock examples fixes.

12 years agoUse correct methods in unittest.mock examples.
Ezio Melotti [Thu, 10 Jan 2013 01:43:33 +0000 (03:43 +0200)]
Use correct methods in unittest.mock examples.

12 years ago#16852: merge with 3.3.
Ezio Melotti [Thu, 10 Jan 2013 01:29:45 +0000 (03:29 +0200)]
#16852: merge with 3.3.

12 years ago#16852: test_genericpath, test_posixpath, test_ntpath, and test_macpath now work...
Ezio Melotti [Thu, 10 Jan 2013 01:12:50 +0000 (03:12 +0200)]
#16852: test_genericpath, test_posixpath, test_ntpath, and test_macpath now work with unittest test discovery.  Patch by Zachary Ware.

12 years agoIssue #16876: Optimize epoll.poll() by keeping a per-instance epoll events
Charles-François Natali [Wed, 9 Jan 2013 18:00:26 +0000 (19:00 +0100)]
Issue #16876: Optimize epoll.poll() by keeping a per-instance epoll events
buffer instead of allocating a new one at each poll().

12 years agomerge 3.3 (#16906)
Benjamin Peterson [Wed, 9 Jan 2013 15:52:22 +0000 (09:52 -0600)]
merge 3.3 (#16906)

12 years agocorrect static string clearing loop (closes #16906)
Benjamin Peterson [Wed, 9 Jan 2013 15:52:01 +0000 (09:52 -0600)]
correct static string clearing loop (closes #16906)

12 years agoIssue #16491: IDLE now prints chained exception tracebacks.
Serhiy Storchaka [Wed, 9 Jan 2013 10:26:54 +0000 (12:26 +0200)]
Issue #16491: IDLE now prints chained exception tracebacks.

12 years agoIssue #16491: IDLE now prints chained exception tracebacks.
Serhiy Storchaka [Wed, 9 Jan 2013 10:24:48 +0000 (12:24 +0200)]
Issue #16491: IDLE now prints chained exception tracebacks.

12 years agoIssue #16491: IDLE now prints chained exception tracebacks.
Serhiy Storchaka [Wed, 9 Jan 2013 10:21:57 +0000 (12:21 +0200)]
Issue #16491: IDLE now prints chained exception tracebacks.

12 years agoIssue #16843: Make concurrent tests for sched module deterministic.
Serhiy Storchaka [Tue, 8 Jan 2013 22:15:14 +0000 (00:15 +0200)]
Issue #16843: Make concurrent tests for sched module deterministic.

12 years agoIssue #16843: Make concurrent tests for sched module deterministic.
Serhiy Storchaka [Tue, 8 Jan 2013 22:13:38 +0000 (00:13 +0200)]
Issue #16843: Make concurrent tests for sched module deterministic.

12 years agoIssue #11461: Fix the incremental UTF-16 decoder. Original patch by
Serhiy Storchaka [Tue, 8 Jan 2013 21:41:55 +0000 (23:41 +0200)]
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.

12 years agoIssue #11461: Fix the incremental UTF-16 decoder. Original patch by
Serhiy Storchaka [Tue, 8 Jan 2013 21:40:52 +0000 (23:40 +0200)]
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.

12 years agoNull merge
Serhiy Storchaka [Tue, 8 Jan 2013 21:19:42 +0000 (23:19 +0200)]
Null merge

12 years agoNull merge
Serhiy Storchaka [Tue, 8 Jan 2013 21:18:42 +0000 (23:18 +0200)]
Null merge

12 years agoIssue #11461: Fix the incremental UTF-16 decoder. Original patch by
Serhiy Storchaka [Tue, 8 Jan 2013 21:14:24 +0000 (23:14 +0200)]
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.

12 years agoFix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
Serhiy Storchaka [Tue, 8 Jan 2013 20:45:42 +0000 (22:45 +0200)]
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.

12 years agoIssue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Charles-François Natali [Tue, 8 Jan 2013 19:03:07 +0000 (20:03 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.

12 years agoIssue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Charles-François Natali [Tue, 8 Jan 2013 18:51:56 +0000 (19:51 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.

12 years agoIssue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Charles-François Natali [Tue, 8 Jan 2013 18:49:42 +0000 (19:49 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.

12 years agoIssue #16884: Merged doc fix from 3.3.
Vinay Sajip [Tue, 8 Jan 2013 11:27:18 +0000 (11:27 +0000)]
Issue #16884: Merged doc fix from 3.3.

12 years agoIssue #16884: Merged doc fix from 3.2.
Vinay Sajip [Tue, 8 Jan 2013 11:26:30 +0000 (11:26 +0000)]
Issue #16884: Merged doc fix from 3.2.

12 years agoIssue #16884: Updated docs to use 'note' directives in a couple of places missed...
Vinay Sajip [Tue, 8 Jan 2013 11:25:42 +0000 (11:25 +0000)]
Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.

12 years agoIssue #15845: Fix comparison between bytes and string.
Serhiy Storchaka [Tue, 8 Jan 2013 09:38:45 +0000 (11:38 +0200)]
Issue #15845: Fix comparison between bytes and string.
Patch by Alessandro Moura.

12 years agoIssue #15845: Fix comparison between bytes and string.
Serhiy Storchaka [Tue, 8 Jan 2013 09:36:54 +0000 (11:36 +0200)]
Issue #15845: Fix comparison between bytes and string.

12 years agoIssue #15845: Fix comparison between bytes and string.
Serhiy Storchaka [Tue, 8 Jan 2013 09:32:58 +0000 (11:32 +0200)]
Issue #15845: Fix comparison between bytes and string.

12 years agoIssue #16854: Fix regrtest.usage() regression introduced in 6e2e5adc0400.
Chris Jerdonek [Tue, 8 Jan 2013 01:07:32 +0000 (17:07 -0800)]
Issue #16854: Fix regrtest.usage() regression introduced in 6e2e5adc0400.

This fixes a regression introduced in the commit for issue #15302, which
switched regrtest from getopt to argparse.

12 years agofcntl: add F_DUPFD_CLOEXEC constant, available on Linux 2.6.24+.
Victor Stinner [Mon, 7 Jan 2013 23:52:40 +0000 (00:52 +0100)]
fcntl: add F_DUPFD_CLOEXEC constant, available on Linux 2.6.24+.

12 years agoIssue #15972: Fix error messages when os functions expecting a file name or
Serhiy Storchaka [Mon, 7 Jan 2013 21:16:49 +0000 (23:16 +0200)]
Issue #15972: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.

12 years agoIssue #15972: Fix error messages when os functions expecting a file name or
Serhiy Storchaka [Mon, 7 Jan 2013 21:13:46 +0000 (23:13 +0200)]
Issue #15972: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.

12 years agoAdd a comment about *not* caching the hash value. Issue #9685 suggested to memorize...
Christian Heimes [Mon, 7 Jan 2013 20:24:18 +0000 (21:24 +0100)]
Add a comment about *not* caching the hash value. Issue #9685 suggested to memorize the hash value, but the feature request was rejected because no speed ups were found.

12 years agoCloses #16884: Merged logging documentation fixes from 3.3.
Vinay Sajip [Mon, 7 Jan 2013 14:19:12 +0000 (14:19 +0000)]
Closes #16884: Merged logging documentation fixes from 3.3.

12 years agoIssue #16884: Merged logging documentation fixes from 3.2.
Vinay Sajip [Mon, 7 Jan 2013 14:18:19 +0000 (14:18 +0000)]
Issue #16884: Merged logging documentation fixes from 3.2.

12 years agoIssue #16884: updated logging documentation to include lastResort and use 'note'...
Vinay Sajip [Mon, 7 Jan 2013 14:16:52 +0000 (14:16 +0000)]
Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.

12 years agomerge #16877: Add mention that shell-style path expansions are not automatic.
R David Murray [Sun, 6 Jan 2013 21:14:22 +0000 (16:14 -0500)]
merge #16877: Add mention that shell-style path expansions are not automatic.

12 years agomerge #16877: Add mention that shell-style path expansions are not automatic.
R David Murray [Sun, 6 Jan 2013 21:13:51 +0000 (16:13 -0500)]
merge #16877: Add mention that shell-style path expansions are not automatic.

12 years ago#16877: Add mention that shell-style path expansions are not automatic.
R David Murray [Sun, 6 Jan 2013 21:13:10 +0000 (16:13 -0500)]
#16877: Add mention that shell-style path expansions are not automatic.

12 years agoIssue #16320: Remove redundant Makefile dependencies for strings and bytes.
Serhiy Storchaka [Sun, 6 Jan 2013 19:36:21 +0000 (21:36 +0200)]
Issue #16320: Remove redundant Makefile dependencies for strings and bytes.

12 years agoIssue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.
Christian Heimes [Sun, 6 Jan 2013 15:42:20 +0000 (16:42 +0100)]
Issue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.

12 years agoIssue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.
Christian Heimes [Sun, 6 Jan 2013 15:41:56 +0000 (16:41 +0100)]
Issue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.

12 years agoFix returning uninitialized variable (issue #8109).
Antoine Pitrou [Sun, 6 Jan 2013 14:25:36 +0000 (15:25 +0100)]
Fix returning uninitialized variable (issue #8109).
Found by Christian with Coverity.

12 years agoIssue #8109: The ssl module now has support for server-side SNI, thanks to a :meth...
Antoine Pitrou [Sat, 5 Jan 2013 20:20:29 +0000 (21:20 +0100)]
Issue #8109: The ssl module now has support for server-side SNI, thanks to a :meth:`SSLContext.set_servername_callback` method.
Patch by Daniel Black.

12 years agoThe get() and iter() are now able to accept keyword arguments.
Eli Bendersky [Sat, 5 Jan 2013 14:31:36 +0000 (06:31 -0800)]
The get() and iter() are now able to accept keyword arguments.

In conformance with the documentation and the Python version.
Patch by Franck Michea.

12 years agoThe get() and iter() are now able to accept keyword arguments.
Eli Bendersky [Sat, 5 Jan 2013 14:26:39 +0000 (06:26 -0800)]
The get() and iter() are now able to accept keyword arguments.

In conformance with the documentation and the Python version.
Patch by Franck Michea.

12 years ago#16862: merge with 3.3.
Ezio Melotti [Sat, 5 Jan 2013 05:38:52 +0000 (07:38 +0200)]
#16862: merge with 3.3.

12 years ago#16862: merge with 3.2.
Ezio Melotti [Sat, 5 Jan 2013 05:38:37 +0000 (07:38 +0200)]
#16862: merge with 3.2.

12 years ago#16862: remove outdated statements about Stackless.
Ezio Melotti [Sat, 5 Jan 2013 05:37:47 +0000 (07:37 +0200)]
#16862: remove outdated statements about Stackless.

12 years agoCleanup a few minor things.
Ezio Melotti [Sat, 5 Jan 2013 05:36:54 +0000 (07:36 +0200)]
Cleanup a few minor things.

12 years agoMerge example fix with 3.3.
Ezio Melotti [Sat, 5 Jan 2013 04:54:38 +0000 (06:54 +0200)]
Merge example fix with 3.3.

12 years agoMerge example fix with 3.2.
Ezio Melotti [Sat, 5 Jan 2013 04:54:23 +0000 (06:54 +0200)]
Merge example fix with 3.2.

12 years agoFix example by making the exception inherit from Exception.
Ezio Melotti [Sat, 5 Jan 2013 04:53:27 +0000 (06:53 +0200)]
Fix example by making the exception inherit from Exception.

12 years ago#13094: merge with 3.3.
Ezio Melotti [Fri, 4 Jan 2013 22:51:40 +0000 (00:51 +0200)]
#13094: merge with 3.3.

12 years ago#13094: merge with 3.2.
Ezio Melotti [Fri, 4 Jan 2013 22:51:20 +0000 (00:51 +0200)]
#13094: merge with 3.2.

12 years ago#13094: add Programming FAQ entry about the behavior of closures.
Ezio Melotti [Fri, 4 Jan 2013 22:50:46 +0000 (00:50 +0200)]
#13094: add Programming FAQ entry about the behavior of closures.

12 years agoIssue #16860: In tempfile, use O_CLOEXEC when available to set the
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.

12 years agoIssue #16856: Fix a segmentation fault from calling repr() on a dict with
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.

12 years agoIssue #16856: Fix a segmentation fault from calling repr() on a dict with
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.

12 years agoIssue #16674: random.getrandbits() is now 20-40% faster for small integers.
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.

12 years agomerge 3.3
Benjamin Peterson [Fri, 4 Jan 2013 04:34:58 +0000 (20:34 -0800)]
merge 3.3

12 years agomerge 3.2
Benjamin Peterson [Fri, 4 Jan 2013 04:34:49 +0000 (20:34 -0800)]
merge 3.2

12 years agomerge heads
Benjamin Peterson [Fri, 4 Jan 2013 04:34:40 +0000 (20:34 -0800)]
merge heads

12 years agodrop email (closes #16857)
Benjamin Peterson [Fri, 4 Jan 2013 04:34:19 +0000 (20:34 -0800)]
drop email (closes #16857)

12 years agoIssue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in
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).

12 years agoIssue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in
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).

12 years ago#16009: JSON error messages now provide more information. Patch by Serhiy Storchaka.
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.

12 years ago(Merge 3.3) Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB.
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.

12 years ago(Merge 3.2) 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.

12 years agoIssue #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

12 years agoClose #16281: handle tailmatch() failure and remove useless comment
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.

12 years agoissue 10527: fix missing import
Giampaolo Rodola' [Thu, 3 Jan 2013 01:54:27 +0000 (02:54 +0100)]
issue 10527: fix missing import

12 years agoNull merge 3.3
Victor Stinner [Thu, 3 Jan 2013 00:56:51 +0000 (01:56 +0100)]
Null merge 3.3

12 years ago(Merge 3.2) Issue #16218, #16414, #16444: Backport FS_NONASCII,
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.

12 years agoIssue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
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.

12 years agoNull merge 3.3 (fix already applied to default, it was a backport)
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)

12 years ago(Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, the
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.

12 years agoIssue #16455: On FreeBSD and Solaris, if the locale is C, the
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.

12 years agoIssue #16828: Fix error incorrectly raised by bz2.compress(b'') and bz2.BZ2Compressor...
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.

12 years agoCorrection: issue #16828 also affects BZ2Compressor.compress().
Nadeem Vawda [Wed, 2 Jan 2013 22:10:47 +0000 (23:10 +0100)]
Correction: issue #16828 also affects BZ2Compressor.compress().

12 years agoIssue #16828: Fix error incorrectly raised by bz2.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.

12 years agoIssue #16828: Fix error incorrectly raised by bz2.compress('').
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.

12 years agoIssue #16833: In http.client.HTTPConnection, do not concatenate the request headers...
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.

12 years ago#16747: merge with 3.3.
Ezio Melotti [Wed, 2 Jan 2013 20:29:57 +0000 (22:29 +0200)]
#16747: merge with 3.3.

12 years ago#16747: merge with 3.2.
Ezio Melotti [Wed, 2 Jan 2013 20:29:41 +0000 (22:29 +0200)]
#16747: merge with 3.2.

12 years ago#16747: fix link to file objects in the glossary.
Ezio Melotti [Wed, 2 Jan 2013 20:29:09 +0000 (22:29 +0200)]
#16747: fix link to file objects in the glossary.

12 years ago#16748: merge with 3.3.
Ezio Melotti [Wed, 2 Jan 2013 19:22:58 +0000 (21:22 +0200)]
#16748: merge with 3.3.