Commit Graph

5540 Commits

Author SHA1 Message Date
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
Ezio Melotti ed8cf7a543 #14875: Use float('inf') instead of float('1e66666') in the json module. 2012-05-21 17:46:55 -06: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
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
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
Antoine Pitrou 38fbd799d1 Issue #14829: Fix bisect issues under 64-bit Windows. 2012-05-16 15:01:40 +02: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 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
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 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
Jesus Cea f2011e3e49 Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/' 2012-05-10 05:01:11 +02: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
Ezio Melotti e48daea2a6 #14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe. 2012-05-06 16:15:35 +03:00
Benjamin Peterson 042c47b2c7 fix calling the classmethod descriptor directly (closes #14699) 2012-05-01 09:51:09 -04:00
Senthil Kumaran 7f6d4e1926 issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:36:28 +08:00
Antoine Pitrou 3815316714 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 17:31:12 +02:00
Lars Gustäbel 231d474a7b Issue #14160: TarFile.extractfile() failed to resolve symbolic links when
the links were not located in an archive subdirectory.
2012-04-24 22:42:08 +02:00
Benjamin Peterson d157a4c3dd 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 c313b1d9b0 #14638: pydoc now treats non-str __name__ as None instead of raising
Original patch by Peter Otten.
2012-04-23 13:27:11 -04:00
Senthil Kumaran 4c20c4e198 news for issue13684 2012-04-23 23:52:40 +08:00
Antoine Pitrou 52849bfaa3 Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork(). 2012-04-19 23:55:01 +02:00
Ezio Melotti c45868ec69 #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:08:41 -06:00
Benjamin Peterson 76605557ea SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612) 2012-04-18 11:14:31 -04:00
Vinay Sajip 7e9c9d51b6 Issue #14452: remove BOM insertion code. 2012-04-16 14:38:23 +01:00
Antoine Pitrou 9945a64a8b Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a test failure in test_ssl. 2012-04-16 03:34:44 +02:00
Mark Dickinson 0407e96061 Issue 13496: Fix bisect.bisect overflow bug for large collections. 2012-04-15 16:43:19 +01:00
Mark Dickinson 9c0baf7202 Issue #13889: On MSVC builds, set FPU control word at runtime for all string <-> float conversions. Patch by Samuel Iseli and Stefan Krah. 2012-04-15 15:19:06 +01:00
R David Murray 9955ad4eb7 #14399: corrected news item 2012-04-13 21:27:00 -04:00
R David Murray 3f4ccbabaf #14399: zipfile now correctly handles comments added to empty zipfiles.
Patch by Serhiy Storchaka.
2012-04-12 18:42:47 -04:00
Charles-François Natali 0d3db3a815 Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:11:54 +02:00
Antoine Pitrou fa1d84107a Issue #7978: socketserver now restarts the select() call when EINTR is returned.
This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.
2012-04-09 00:47:24 +02:00
Antoine Pitrou 02a380105d Issue #14505: Fix file descriptor leak when deallocating file objects created with PyFile_FromString(). 2012-04-05 14:07:52 +02:00
Benjamin Peterson f73813a8bb prevent writing to stderr from messing up the exception state (closes #14474) 2012-04-02 11:15:17 -04:00
Antoine Pitrou fe9417726c Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.
2012-04-01 16:05:46 +02:00
Antoine Pitrou 4b536d4771 Issue #14437: Fix building the _io module under Cygwin. 2012-03-31 23:53:07 +02:00
Andrew Svetlov 8af872983f update NEWS for 2.7 as Terry Reedy proposed 2012-03-31 14:34:16 +03:00
Andrew Svetlov c37db10e03 Backport of Issue #14409 to 2.7
IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.
2012-03-29 19:54:58 +03:00
krisvale 479c8f8c51 Issue #10538 - Update Misc/NEWS 2012-03-22 20:17:42 +00:00
Giampaolo Rodola' 96cb5d15c1 fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. 2012-03-22 16:06:43 +01:00
Benjamin Peterson 72c6227df8 merge heads 2012-03-22 08:57:56 -04:00
Benjamin Peterson eff19a13ed check by equality for __future__ not identity (closes #14378) 2012-03-22 08:19:04 -04:00
R David Murray b3f95d7ff1 #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 15:02:30 -04:00