Commit Graph

25470 Commits

Author SHA1 Message Date
doko@ubuntu.com 4950a3b6cc - Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:46:29 -07:00
Benjamin Peterson bebf75f30a open file in binary mode 2013-03-17 21:28:29 -07:00
R David Murray 35893b7994 #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 22:06:18 -04:00
Ezio Melotti e015b6b1fc #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters. 2013-03-16 20:04:44 +02:00
Serhiy Storchaka 923baea9f9 Issue #1285086: Get rid of the refcounting hack and speed up urllib.unquote(). 2013-03-14 21:31:09 +02:00
Serhiy Storchaka 2556c8388c Issue #17299: Add test coverage for cPickle with file objects and general IO
objects.  Original patch by Aman Shah.
2013-03-14 20:59:09 +02:00
Ezio Melotti fda7a8ce78 #17368: Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified. 2013-03-13 01:49:57 +02:00
Eli Bendersky 981c3bde8d Issue #11367: fix documentation of some find* methods in ElementTree 2013-03-12 06:08:04 -07:00
Terry Jan Reedy a70f60acf3 Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:56:17 -04:00
Ezio Melotti 9b9cd4c85e #11963: fix Windows buildbots. 2013-03-11 03:21:08 +02:00
Ezio Melotti efaad09c9a #11963: remove human verification from test_subprocess. 2013-03-11 00:34:33 +02:00
Ezio Melotti c52670479a #11963: fix Windows buildbots. 2013-03-10 03:25:45 +02:00
Ezio Melotti da9eeae48e #11963: avoid printing messages in test_parser. Initial patch by Éric Araujo. 2013-03-09 22:17:33 +02:00
Raymond Hettinger 9f7e247a88 Issue #17375: Add docstrings to the threading module. 2013-03-08 21:02:13 -07:00
Senthil Kumaran 6234cc0098 Reverting the changeset c31d700dea8b made for Issue #12921 2013-03-05 02:24:03 -08:00
Senthil Kumaran c74e764c21 Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when  send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:21:13 -08:00
Raymond Hettinger 757408a2f3 merge 2013-03-05 02:16:45 -05:00
Raymond Hettinger 3e6aafe209 Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.
This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.
2013-03-05 02:15:01 -05:00
Antoine Pitrou 49e4dfeec8 Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:30:01 +01:00
Ezio Melotti a84ecc649b #17346: make sure pickle tests are run against all protocols. 2013-03-04 15:23:12 +02:00
Mark Dickinson 7cac1c25a1 Issue #16445: Fix potential segmentation fault when deleting an exception message. 2013-03-03 11:13:34 +00:00
Ezio Melotti c86e866b98 #17315: unlink a file that test_posixpath was leaving around. 2013-03-01 20:56:13 +02:00
Petri Lehtinen e41a4634c9 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:34:33 +02:00
Richard Oudkerk ba48264bce Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR. 2013-02-26 12:37:07 +00:00
Serhiy Storchaka 93bfe7d860 Issue #1470548: Do not buffer XMLGenerator output.
Add test for fragment producing with XMLGenerator.
2013-02-25 13:31:29 +02:00
R David Murray 5b2cf5e651 #17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.

Original patch by Manuel Jacob.
2013-02-23 22:11:21 -05:00
Petri Lehtinen f794bde17d Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:05:54 +01:00
Petri Lehtinen 43072780df Issue #16121: Fix line number accounting in shlex 2013-02-23 22:07:39 +01:00
Petri Lehtinen 2342784d28 Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:53:03 +01:00
Petri Lehtinen 9e14755b46 Issue #14720: sqlite3: Convert datetime microseconds correctly
Patch by Lowe Thiderman
2013-02-23 19:05:09 +01:00
Ezio Melotti 0a4a7e13f3 Fix deprecation warning in test_tcl. 2013-02-23 08:19:00 +02:00
Ezio Melotti 4dbcec9dd1 Fix deprecation warning in tempfile. 2013-02-23 08:16:07 +02:00
Ezio Melotti ef1db54ac1 #17249: check for the availability of the thread module. 2013-02-23 06:33:51 +02:00
Ezio Melotti 2fddfd85bd #17249: convert a test in test_capi to use unittest and reap threads. 2013-02-23 05:45:37 +02:00
Ezio Melotti 7d0eb4b234 #17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn. 2013-02-21 23:15:40 +02:00
Serhiy Storchaka 49d4022d7d Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
2013-02-21 20:17:54 +02:00
Serhiy Storchaka 484dee38e6 Issue #17248: Fix os.*chown() testing when user is in root group. 2013-02-21 14:33:45 +02:00
Serhiy Storchaka fffc479f15 Issue #17248: Fix os.*chown() testing when user has group root. 2013-02-20 19:47:31 +02:00
Serhiy Storchaka 3e188c4ebb Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. 2013-02-20 19:39:59 +02:00
R David Murray c32b678fd0 #7842: backport fix for py_compile.compile syntax error message handling. 2013-02-19 20:00:11 -05:00
Serhiy Storchaka c8e75ba2c5 Disable posixpath.realpath() tests on Windows (fix for issue #6975). 2013-02-18 13:32:06 +02:00
Serhiy Storchaka 142d2bc3f1 Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:20:44 +02:00
Serhiy Storchaka fbc737eda1 Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:04 +02:00
Antoine Pitrou 4f53550ca1 Remove unused certificate files 2013-02-16 21:40:16 +01:00
Antoine Pitrou 60982914b4 Fix test_ssl by replacing expired X509 certificate 2013-02-16 21:39:28 +01:00
Serhiy Storchaka 6a8e2b4982 Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat.  Patch by Matthew Barnett.
2013-02-16 21:23:01 +02:00
Serhiy Storchaka e18e05cce9 Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:47:15 +02:00
Richard Oudkerk 36b9d413d7 Issue #16743: Fix mmap overflow check on 32 bit Windows 2013-02-13 12:05:14 +00:00
Serhiy Storchaka ec50cb292f Fix tests for issue #5308. 2013-02-13 12:31:19 +02:00
Serhiy Storchaka 8d7d6bcc25 Issue #11311: StringIO.readline(0) now returns an empty string as all other
file-like objects.
2013-02-13 12:26:58 +02:00