Commit graph

43198 commits

Author SHA1 Message Date
Hynek Schlawack
9866d96e48 #4841: Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
2012-05-25 10:27:43 +02:00
Hynek Schlawack
2cc7156515 #4841: Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
2012-05-25 10:05:53 +02:00
Hynek Schlawack
877effc298 #4841: Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
2012-05-25 09:24:18 +02:00
Eric V. Smith
283d0ba45d Whitespace cleanup. 2012-05-24 20:22:10 -04:00
Eric V. Smith
984b11f88f issue 14660: Implement PEP 420, namespace packages. 2012-05-24 20:21:04 -04:00
Antoine Pitrou
8e6287f50d Fix other test requirements. 2012-05-24 22:30:19 +02:00
Antoine Pitrou
0673088ded Fix memory constraint for test_decodeascii 2012-05-24 22:08:51 +02:00
Senthil Kumaran
4715ca5600 Issue #14036: return None when port in urlparse cross 65535 2012-05-24 21:57:38 +08:00
Senthil Kumaran
2fc5a50809 Issue #14036: return None when port in urlparse cross 65535 2012-05-24 21:56:17 +08:00
Senthil Kumaran
37484dc324 Issue #14036: return None when port in urlparse cross 65535 2012-05-24 21:54:34 +08:00
Sandro Tosi
b95c63413d Issue #14814: minor improvements as suggested by Hynek Schlawack 2012-05-23 23:17:22 +02:00
Sandro Tosi
876ecad9f5 Issue #14814: improve docstrings and arguments value handling, as per Terry J. Reedy's comments 2012-05-23 22:26:55 +02:00
Petri Lehtinen
3bc37f2360 #14862: Add missing names to os.__all__ 2012-05-23 21:36:28 +03:00
Hynek Schlawack
e02ba1031f #14885: Make support.skip_unless_xattr check also tempfile
There is a rare edge case where the filesystem used by the tempfile functions
(usually /tmp) doesn't support xattrs while the one used by TESTFN (the current
directory, so likely to be below /home) does. This causes the xattr related
test_shutil tests fail. skip_unless_xattr now checks both.

I have also added skip_unless_xattr to __all__ where it has been missing.
2012-05-23 11:22:44 +02:00
Ezio Melotti
4226543490 #14875: merge with 3.2. 2012-05-21 17:53:42 -06:00
Ezio Melotti
898d51da4d #14875: Use float('inf') instead of float('1e66666') in the json module. 2012-05-21 17:49:06 -06:00
Ezio Melotti
ed8cf7a543 #14875: Use float('inf') instead of float('1e66666') in the json module. 2012-05-21 17:46:55 -06:00
Nick Coghlan
1d5ccdb24d Close #14136 by cleaning up the PEP 409 command line test (patch by Ethan Furman) 2012-05-21 23:03:30 +10:00
Nick Coghlan
3267a30de1 Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.nested API 2012-05-21 22:54:43 +10:00
Nick Coghlan
dc9b2555a8 Issue #14814: addition of the ipaddress module (stage 1 - code and tests) 2012-05-20 21:01:57 +10:00
Senthil Kumaran
9237bb638f merge heads 2012-05-20 16:59:51 +08:00
Senthil Kumaran
185f401308 merge - Fix for issue14426 - buildbots here I come 2012-05-20 16:58:59 +08:00
Senthil Kumaran
aeeba2629a Fix for issue14426 - buildbots here I come 2012-05-20 16:58:30 +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
Raymond Hettinger
010ce3283a Minor change to default lru size. Set default to a power of two. 2012-05-19 21:20:48 -07:00
Senthil Kumaran
0b943a18ef Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert 2012-05-20 12:06:51 +08:00
Senthil Kumaran
00c2ec282e Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert 2012-05-20 12:05:16 +08: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
Eli Bendersky
b20df95827 Issue #14849: setup Element data members to be assignable in subclasses 2012-05-20 06:33:29 +03:00
Nick Coghlan
7fc570a51e Close #14588: added a PEP 3115 compliant dynamic type creation mechanism 2012-05-20 02:34:13 +10: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
7c5ba513b9 #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:38:43 +03:00
Petri Lehtinen
079bfc962d #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03: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
ed1183db8b #14072: merge with 3.2. 2012-05-19 17:16:22 +03:00
Ezio Melotti
6709b7d5d1 #14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter. 2012-05-19 17:15:19 +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
Hynek Schlawack
d527259f14 #13152: Allow to specify a custom tabsize for expanding tabs in textwrap
Patch by John Feuerstein.
2012-05-19 13:33:11 +02:00
Senthil Kumaran
d34b57a9a2 merge - Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests 2012-05-19 16:58:45 +08:00
Senthil Kumaran
5fa4a89601 Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests 2012-05-19 16:58:09 +08: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
15e848b076 Issue9374 - Generic parsing of query and fragment portion of urls for any scheme 2012-05-19 08:12:46 +08:00
Senthil Kumaran
1be320ebdd Issue9374 - Generic parsing of query and fragment portion of urls for any scheme 2012-05-19 08:12:00 +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
43ae3ceab8 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
Petri Lehtinen
8d88604682 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:56:36 +03:00
Petri Lehtinen
280e9f7ce5 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:54:25 +03:00