Commit graph

43198 commits

Author SHA1 Message Date
Serhiy Storchaka
f6fb3a3206 Issue #15845: Fix comparison between bytes and string. 2013-01-08 11:36:54 +02:00
Serhiy Storchaka
4ab23bfbeb Issue #15845: Fix comparison between bytes and string. 2013-01-08 11:32:58 +02:00
Chris Jerdonek
15738427f6 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.
2013-01-07 17:07:32 -08:00
Serhiy Storchaka
c99b5120a7 Issue #15972: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.
2013-01-07 23:16:49 +02:00
Serhiy Storchaka
a2ad5c3ad1 Issue #15972: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.
2013-01-07 23:13:46 +02:00
Antoine Pitrou
58ddc9d743 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.
2013-01-05 21:20:29 +01:00
Eli Bendersky
3c9850aad7 The get() and iter() are now able to accept keyword arguments.
In conformance with the documentation and the Python version.
Patch by Franck Michea.
2013-01-05 06:31:36 -08:00
Eli Bendersky
a873690d2c The get() and iter() are now able to accept keyword arguments.
In conformance with the documentation and the Python version.
Patch by Franck Michea.
2013-01-05 06:26:39 -08:00
Charles-François Natali
b9a76e2920 Issue #16860: In tempfile, use O_CLOEXEC when available to set the
close-on-exec flag atomically.
2013-01-04 18:33:02 +01:00
Ezio Melotti
37623ab5f1 #16009: JSON error messages now provide more information. Patch by Serhiy Storchaka. 2013-01-03 08:44:15 +02:00
Giampaolo Rodola'
549d465fe2 issue 10527: fix missing import 2013-01-03 02:54:27 +01:00
Giampaolo Rodola'
049a378cd7 issue 10527: fix missing import 2013-01-03 02:53:28 +01:00
Victor Stinner
269b3ce400 (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.
2013-01-03 01:56:38 +01:00
Victor Stinner
0af71aae2d Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII
paths.
2013-01-03 01:50:30 +01:00
Nadeem Vawda
ef408aea3d Issue #16828: Fix error incorrectly raised by bz2.compress(b'') and bz2.BZ2Compressor.compress(b'').
Initial patch by Martin Packman.
2013-01-02 23:13:53 +01:00
Nadeem Vawda
57cb81d161 Issue #16828: Fix error incorrectly raised by bz2.compress('').
Initial patch by Martin Packman.
2013-01-02 23:05:56 +01:00
Nadeem Vawda
638fb9bbed Issue #16828: Fix error incorrectly raised by bz2.compress('').
Patch by Martin Packman.
2013-01-02 23:02:00 +01:00
Nadeem Vawda
895cc22b8b Issue #16828: Fix error incorrectly raised by bz2.compress('').
Patch by Martin Packman.
2013-01-02 22:59:51 +01:00
Antoine Pitrou
90e4774558 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.
2013-01-02 22:10:47 +01:00
Ezio Melotti
454758224b #16748: merge with 3.3. 2013-01-02 21:22:58 +02:00
Ezio Melotti
22ebb2d6ef #16748: test_heapq now works with unittest test discovery. 2013-01-02 21:19:37 +02:00
Benjamin Peterson
a708adfcf6 call PyErr_Clear() when ignoring error from PyNumber_Int (closes #15516)
Patch from Tom Tromey.
2013-01-02 12:21:32 -06:00
Serhiy Storchaka
08f4556524 Merge heads 2013-01-02 10:40:36 +02:00
Serhiy Storchaka
32e258d877 Merge heads 2013-01-02 10:37:54 +02:00
Serhiy Storchaka
e48741a619 Merge heads 2013-01-02 10:32:13 +02:00
Łukasz Langa
a2e7acd17d configparser: preserve section order when using __setitem__ (issue #16820) 2013-01-01 23:45:33 +01:00
Victor Stinner
67eb8df902 (Merge 3.3) Issue #9644: Add a test on os.statvfs() for the PEP 383 2013-01-01 23:17:22 +01:00
Victor Stinner
a25be07103 Issue #9644: Add a test on os.statvfs() for the PEP 383 2013-01-01 23:11:21 +01:00
Victor Stinner
e4110dc11f 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.
2013-01-01 23:05:55 +01:00
Serhiy Storchaka
4cf4f3a7c6 Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
2013-01-02 00:03:58 +02:00
Łukasz Langa
6e410a2cdb Merged section order preservation fix when using __setitem__ (issue #16820) 2013-01-01 22:36:33 +01:00
Łukasz Langa
a821f82f66 configparser: preserve section order when using __setitem__ (issue #16820) 2013-01-01 22:33:19 +01:00
Serhiy Storchaka
a97274cbcf Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:33:19 +02:00
Serhiy Storchaka
eb6aa5c525 Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:32:42 +02:00
Serhiy Storchaka
14224420d0 Issue #16819: IDLE method completion now correctly works for unicode literals. 2013-01-01 22:27:45 +02:00
Serhiy Storchaka
8c126d7abd Issue #16819: IDLE method completion now correctly works for bytes literals. 2013-01-01 22:25:59 +02:00
Charles-François Natali
fe22dcaba7 Issue #16787: Increase asyncore and asynchat default output buffers size, to
decrease CPU usage and increase throughput.
2013-01-01 16:31:54 +01:00
Richard Oudkerk
ef45380b6b Fix overlooked licence text. 2013-01-01 14:25:59 +00:00
Ned Deily
10e93a6d40 Issue #14958: backport to 2.7.x from 3.3 (patch by Roger Serwy) 2012-12-31 15:06:38 -08:00
Giampaolo Rodola'
b4f39e85f2 Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:38:46 +01:00
Giampaolo Rodola'
5051ca887c Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:38:17 +01:00
Giampaolo Rodola'
5e844c8052 Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:23:09 +01:00
Giampaolo Rodola'
cef2006eaf Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:23:09 +01:00
Łukasz Langa
8d518970ce Merged parser['DEFAULT'].__setitem__ fix (issue #16820) from 3.3. 2012-12-31 13:57:21 +01:00
Łukasz Langa
0210194d48 Fixes __setitem__ on parser['DEFAULT'] reported in issue #16820. 2012-12-31 13:55:11 +01:00
Serhiy Storchaka
528b825cb1 Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
Original patch by Stefan Behnel.
2012-12-31 11:37:34 +02:00
Serhiy Storchaka
5da57027ef Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380. 2012-12-31 11:31:41 +02:00
Łukasz Langa
1dce0003a6 Merged parser.clean() fix (issue #16820) from 3.2 through 3.3. 2012-12-31 03:43:37 +01:00
Łukasz Langa
0dc5ab41f0 Merged parser.clean() fix (issue #16820) from 3.2. 2012-12-31 03:41:54 +01:00
Łukasz Langa
3a8479a583 Fixes parser.clean() reported in issue #16820. 2012-12-31 03:38:39 +01:00