Commit Graph

50852 Commits

Author SHA1 Message Date
Vinay Sajip 7b57750db5 Ignore exceptions on test handler closing. 2012-05-19 16:50:07 +01: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
Jesus Cea f2011e3e49 Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/' 2012-05-10 05:01:11 +02:00
Ezio Melotti 95f42a86dd #14763: fix documentation for string.split/rsplit. 2012-05-09 14:59:24 +03:00
Antoine Pitrou 284fa08eb7 Issue #14761: Fix potential leak on an error case in the import machinery. 2012-05-09 13:24:31 +02:00
R David Murray 5ec0340ce1 Improve the grammar of a non-sentence. 2012-05-08 21:29:36 -04:00
Benjamin Peterson f1ae5cf5c7 fix possible refleak (closes #14752) 2012-05-08 09:22:24 -04:00
Benjamin Peterson f1aeef27b3 remove basically bitrotted XXXs 2012-05-07 22:23:48 -04:00
Sandro Tosi 1d710b6a84 backport 7a05cb3beddf to 2.7 2012-05-07 21:56:24 +02:00
Georg Brandl c5288e60f3 Fix document title for Sphinx. 2012-05-06 21:39:35 +02:00
Ezio Melotti 1c96f946cf #14034: adapt to Python 2 and fix indentation. 2012-05-06 17:03:19 +03:00
Ezio Melotti e48daea2a6 #14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe. 2012-05-06 16:15:35 +03:00
Georg Brandl 9f9970b15d #13183: backport fixes to test_pdb to 2.7 branch 2012-05-06 11:53:51 +02:00
Richard Oudkerk 9a16fa69dd Fix for issue 14725 for 2.7 branch 2012-05-05 20:41:08 +01:00
Antoine Pitrou c642f67c63 Skip test_algorithms (known remote hosts need SNI, which is only available on 3.2+) 2012-05-04 16:33:30 +02:00
Benjamin Peterson d62da9d658 close() doesn't take any args (closes #14717) 2012-05-03 18:44:09 -04:00
Ezio Melotti 510ff54324 Use Python 3 instead of 3.0. 2012-05-03 19:21:40 +03:00
Vinay Sajip e5d3bc4700 Changed order of cleanup operations to be more sensible. 2012-05-03 12:03:29 +01:00