Commit Graph

51018 Commits

Author SHA1 Message Date
Antoine Pitrou 0673088ded Fix memory constraint for test_decodeascii 2012-05-24 22:08:51 +02:00
Senthil Kumaran 37484dc324 Issue #14036: return None when port in urlparse cross 65535 2012-05-24 21:54:34 +08:00
Antoine Pitrou cd8799f077 Issue #14888: Fix misbehaviour of the _md5 module when called on data larger than 2**32 bytes. 2012-05-23 23:16:14 +02:00
Hynek Schlawack d68ffdb45a Restore [] where default arguments are not keywords
Reverts some changes of a36666c52115.

In the case of os's `mknod(filename[, mode=0600[, device=0]])`, I have nested
the [] as setting mode doesn't require to set device (but setting device
requires to set mode).
2012-05-22 15:22:14 +02:00
Hynek Schlawack e58ce01f30 #14804: Remove [] around optional arguments with default values
Mostly just mechanical removal of []. In some rare cases I've pulled the
default value up into the argument list.
2012-05-22 10:27:40 +02:00
Ezio Melotti ed8cf7a543 #14875: Use float('inf') instead of float('1e66666') in the json module. 2012-05-21 17:46:55 -06:00
Vinay Sajip 5f045ea440 Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call. 2012-05-20 15:35:00 +01:00
Hynek Schlawack 897b278cf0 Document when json.load's parse_constant behaviour changed
It doesn't get called on 'null', 'true', 'false' since f686aced02a3.
2012-05-20 11:50:41 +02:00
Senthil Kumaran 9237bb638f merge heads 2012-05-20 16:59:51 +08:00
Senthil Kumaran 9cffd882ab Fix for issue14426 - buildbots here I come 2012-05-20 16:56:24 +08:00
Vinay Sajip 269d21336a Temporarily disabled test_race on Windows. 2012-05-20 09:53:13 +01:00
Martin v. Löwis ed11a5d018 Issue #8767: Restore building with --disable-unicode.
Original patch by Stefano Taschini.
2012-05-20 10:42:17 +02:00
Ned Deily 77e77a1273 Issue #14572: Prevent build failures with pre-3.5.0 versions of
sqlite3, such as was shipped with Centos 5 and Mac OS X 10.4.
2012-05-19 23:35:05 -07:00
Senthil Kumaran f439a36630 Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert 2012-05-20 12:02:44 +08:00
Vinay Sajip 7961bb3043 Merged upstream changes. 2012-05-19 16:52:33 +01:00
Vinay Sajip 7b57750db5 Ignore exceptions on test handler closing. 2012-05-19 16:50:07 +01:00
Petri Lehtinen 5f39706b07 #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:04 +03:00
Ezio Melotti 6d9c1b1617 #14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter. 2012-05-19 17:12:17 +03:00
Senthil Kumaran 618802d55e Fix Issue14721: Send Content-length: 0 for empty body () in the http.request 2012-05-19 16:52:21 +08:00
Senthil Kumaran ea24dda01f Issue9374 - Generic parsing of query and fragment portion of urls for any scheme 2012-05-19 08:10:40 +08:00
Petri Lehtinen 280e9f7ce5 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:54:25 +03:00
Petri Lehtinen 491ef97f75 Fix time.time() references in the time module docs
Closes #14842.
2012-05-18 21:19:18 +03:00
Martin v. Löwis 64051d0916 Stop refetching OpenSSL. 2012-05-18 14:07:28 +02:00
Martin v. Löwis 0fc2b74998 Use SSL directory from properties file. 2012-05-18 13:58:30 +02:00
R David Murray 1bddab7f0c #14823: Simplify threading.Lock.acquire argument discussion. 2012-05-17 09:15:02 -04:00
R David Murray 6949392b56 #14832: 'first' now really refers to first arg in unittest assertItemsEqual
This appears to have been a mixup introduced when we switched from
'expected/actual' to 'first/second'.  The problem doesn't exist
in the corresponding assertCountEqual method in Python3.
2012-05-16 14:01:03 -04:00
Hynek Schlawack 019935f615 #14692 Fix json docs to reflect changes in json.load
The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.

Patch by Serhiy Storchaka
2012-05-16 18:02:54 +02:00
Antoine Pitrou 38fbd799d1 Issue #14829: Fix bisect issues under 64-bit Windows. 2012-05-16 15:01:40 +02:00
Antoine Pitrou 4cf3f69250 Skip test under 64-bit Windows 2012-05-16 14:50:25 +02:00
R David Murray e3d8ab6d38 #1440472: reflow 2012-05-15 22:12:56 -04:00
R David Murray af707234c6 #1440472: Explain that email parser/generator isn't *quite* "idempotent" 2012-05-15 22:12:09 -04:00
Ned Deily 724a55c525 Issue #14777: In an X11 windowing environment, tkinter may return
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:05:57 -07:00
Martin v. Löwis 580227a8a0 Force recheckout of openssl. 2012-05-15 19:55:33 +02:00
Senthil Kumaran 7cf222229e merge heads 2012-05-16 00:07:55 +08:00
Senthil Kumaran b0d85fd1b5 Issue12541 - Add UserWarning for unquoted realms 2012-05-15 23:59:19 +08:00
Martin v. Löwis fd0afed503 Upgrade openssl to 0.9.8x. 2012-05-15 17:26:31 +02:00
Senthil Kumaran 6a2a6c2ee3 Issue #12541: Be lenient with quotes around Realm field with HTTP Basic Authentation in urllib2. 2012-05-15 22:24:10 +08:00
R David Murray 8349bc2ba9 #14766: Reflow the altered paragraphs. 2012-05-14 22:33:36 -04:00
R David Murray 089d4d4f7c #14766: Add correct algorithm for when a 'time' object is naive.
This patch also clarifies the definition of Naive and Aware.

Original patch by Greg Weller, I modified the first hunk
somewhat to make the exposition even clearer (I hope).
2012-05-14 22:32:44 -04:00
Antoine Pitrou b90252ed17 Followup to issue #14157: respect the relative ordering of values produced by time.strptime().
Patch by Hynek.
2012-05-14 19:44:59 +02:00
Martin v. Löwis e7f67b5b98 Upgrade to bzip2 1.0.6. 2012-05-14 14:19:09 +02:00
Ezio Melotti ace9261558 #14405: remove outdated/broken/duplicate links. 2012-05-14 13:26:45 +03:00
Ezio Melotti e710c996ab #14770: backport a couple of changes from 3.x. 2012-05-13 20:19:41 +03:00
Ezio Melotti 6176db5aac #14770: improve the library FAQ. 2012-05-13 19:49:00 +03:00
Sandro Tosi 334be84540 correctly define what 'fill' could be; thanks to Leland Hulbert from docs@ 2012-05-12 23:29:06 +02:00
Raymond Hettinger 56f5c38320 Additional example of using decimal.localcontext(). 2012-05-11 12:50:11 -07:00
Ned Deily acdc56d0d0 Issue #14662: Prevent shutil failures on OS X when destination does not
support chflag operations.  (Patch by Hynek Schlawack)
2012-05-10 17:45:49 -07:00
Antoine Pitrou b79a01f904 Update ACKS. 2012-05-10 20:28:01 +02:00
Antoine Pitrou c2b714ce21 Issue #14157: Fix time.strptime failing without a year on February 29th.
Patch by Hynek Schlawack.
2012-05-10 20:17:46 +02:00
Ezio Melotti 35d03ed832 #14763: document default maxsplit value for str.split. 2012-05-10 15:30:42 +03:00