Commit Graph

18377 Commits

Author SHA1 Message Date
Ezio Melotti 898d51da4d #14875: Use float('inf') instead of float('1e66666') in the json module. 2012-05-21 17:49:06 -06:00
Senthil Kumaran aeeba2629a Fix for issue14426 - buildbots here I come 2012-05-20 16:58:30 +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
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
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
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 1be320ebdd Issue9374 - Generic parsing of query and fragment portion of urls for any scheme 2012-05-19 08:12:00 +08:00
Petri Lehtinen 8d88604682 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:56:36 +03:00
Antoine Pitrou fb5b954ee0 Forward port additional tests from 2.7 (issue #14829). 2012-05-16 15:01:40 +02:00
Eric V. Smith 5cdc6308b6 Cleanup so subsequent tests won't fail. Needs to be moved into a support routine (see 14715). 2012-05-16 04:48:04 -04:00
Ned Deily 4d377d98a1 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:08:11 -07:00
Eric V. Smith a790c9b6d6 Issue #14817: Add rudimentary tests for pkgutil.extend_path. 2012-05-15 20:44:06 -04:00
Senthil Kumaran 0ea91cb5c6 Issue12541 - Add UserWarning for unquoted realms 2012-05-15 23:59:42 +08:00
Senthil Kumaran 34f3fcc269 Issue #12541: Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.
G: changed Misc/NEWS
2012-05-15 22:30:25 +08:00
Antoine Pitrou 072e4a3fc7 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
Ned Deily 5fddf866d8 Issue #14662: Prevent shutil failures on OS X when destination does not
support chflag operations.  (Patch by Hynek Schlawack)
2012-05-10 17:21:23 -07:00
Antoine Pitrou 1682e5d740 Issue #14157: Fix time.strptime failing without a year on February 29th.
Patch by Hynek Schlawack.
2012-05-10 20:17:46 +02:00
Jesus Cea 7f0d88860f Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/' 2012-05-10 05:10:50 +02:00
Benjamin Peterson 3b66623a29 remove basically bitrotted XXXs 2012-05-07 22:23:48 -04:00
Mark Dickinson da029fb293 Issue #14741: Fix missing support for ellipsis in parser module. 2012-05-07 17:24:04 +01:00
Mark Dickinson 11c1dee183 Issue #14697: Fix missing parser module support for set displays and set comprehensions. 2012-05-07 16:34:34 +01:00
Mark Dickinson cf360b9209 Issue #14701: Add missing support for 'raise ... from' in parser module. 2012-05-07 12:01:27 +01:00
Georg Brandl b4c8902a87 #13183: backport fixes to test_pdb to 3.2 branch 2012-05-06 11:50:00 +02:00
Richard Oudkerk 7ef909cdd7 Fix for issue 14725 for 3.2 branch 2012-05-05 20:41:23 +01:00
Antoine Pitrou 16f6f8338b Fix test connecting to sha256.tbs-internet.com.
The certificate has changed and the test now needs SNI to pass.
2012-05-04 16:26:02 +02:00
Vinay Sajip 89282afafb Changed order of cleanup operations to be more sensible. 2012-05-03 12:06:52 +01:00
Charles-François Natali 39687ee9db os.popen().close() returns None on success, not 0... 2012-05-02 20:49:14 +02:00
Charles-François Natali e8a255a5a2 Issue #14698: Make test_posix more robust when the current UID doesn't have an
associated pwd entry.
2012-05-02 20:01:38 +02:00
Senthil Kumaran cb172041d3 fix windows test failure - issue13183 2012-05-02 08:00:22 +08:00
Benjamin Peterson 7295c6a871 fix calling the classmethod descriptor directly (closes #14699) 2012-05-01 09:51:09 -04:00
Senthil Kumaran 42d7081806 issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:07:49 +08:00
Alexander Belopolsky b8f02b5a5f fixed test_imaplib failure on Win 2012-04-29 18:16:46 -04:00
Mark Dickinson 407b3bd89b Issue #14696: Fix parser module to understand 'nonlocal' declarations. 2012-04-29 22:18:31 +01:00
Alexander Belopolsky 2420d83158 Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near
the DST transition.  Patch by Joe Peterson.
2012-04-29 15:56:49 -04:00
Mark Dickinson ea7e9f9a83 Issue #9154: Fix parser module to understand function annotations. 2012-04-29 18:34:40 +01:00
Ezio Melotti 3899283670 #14236: fix docs for \S. 2012-04-29 13:35:55 +03:00
Senthil Kumaran db727b4a77 Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler 2012-04-29 13:41:03 +08:00
Ezio Melotti e990092fd0 #14236: mention Unicode whitespace in \s documentation. 2012-04-29 08:23:25 +03:00
Senthil Kumaran 7e70a5c169 httplib - minor update to check empty response 2012-04-29 10:39:49 +08:00
Senthil Kumaran 9c29f86a81 httplib test for early eof response. related to Issue13684 2012-04-29 10:20:46 +08:00
Antoine Pitrou b05ac864f0 Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin). 2012-04-25 14:56:46 +02:00
Vinay Sajip c2ad0aa9f1 Fixed test to work on Windows. 2012-04-25 10:47:00 +01:00
Vinay Sajip 66b8b08752 Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch. 2012-04-24 23:25:30 +01:00
Lars Gustäbel 1ef9eda7bc Issue #14160: TarFile.extractfile() failed to resolve symbolic links
when the links were not located in an archive subdirectory.
2012-04-24 21:04:40 +02:00
Benjamin Peterson 7b1668735a don't use a slot wrapper from a different special method (closes #14658)
This also alters the fix to #11603. Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.
2012-04-24 11:06:25 -04:00
R David Murray c43125a05c #14638: pydoc now treats non-str __name__ as None instead of raising
Original patch by Peter Otten.
2012-04-23 13:23:57 -04:00
Senthil Kumaran b12771ab30 3.2 - Fix for Issue13684 - httplib tunnel infinite loop 2012-04-23 23:50:07 +08:00
Benjamin Peterson 7a436c5a53 sleep here 2012-04-23 10:08:14 -04:00
Nick Coghlan 37fc401188 Close issue #14026 by better testing sys.argv handling in test_cmd_line_script (patch by Jason Yeo) 2012-04-22 17:11:33 +10:00
Mark Dickinson bcc17eefd2 Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of an int subclass. 2012-04-20 21:42:49 +01:00