Commit Graph

6134 Commits

Author SHA1 Message Date
Zachary Ware 51e90bcee5 Issue #19987: Re-write test_alias_fallback in test_winsound to have two
acceptable outcomes: success or RuntimeError.  Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
2013-12-16 08:58:10 -06:00
Serhiy Storchaka dd5a46c696 Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more returns illegal result for paths with redundant slashes.
* splitunc() now correctly processes the u'İ' character
  (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Added new tests for splitunc().
2013-12-16 15:15:29 +02:00
Serhiy Storchaka d1a61dcc65 Issue #19623: Fixed writing to unseekable files in the aifc module.
Fixed writing 'ulaw' (lower case) compressed AIFC files.
2013-12-14 20:34:33 +02:00
Serhiy Storchaka a92cc91ee6 Issue #17919: Fixed integer overflow in the eventmask parameter. 2013-12-14 19:11:04 +02:00
Serhiy Storchaka 17f22c9281 Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. 2013-12-13 12:09:05 +02:00
Victor Stinner 66c6e9dcb4 Issue #14432: Generator now clears the borrowed reference to the thread state
Fix a crash when a generator is created in a C thread that is destroyed while
the generator is still used. The issue was that a generator contains a frame,
and the frame kept a reference to the Python state of the destroyed C thread.
The crash occurs when a trace function is setup.
2013-12-13 02:37:09 +01:00
Gregory P. Smith 9ffb1481d8 Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by the
fix to Issue #14635 in Python 2.7.4 to be interpreted as milliseconds
instead of seconds when the platform supports select.poll (ie: everywhere).
It is now treated as seconds once again.
2013-12-10 18:22:03 -08:00
Ned Deily 278543d539 Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial
shell window is present. (Original patch by Terry Reedy)
2013-12-10 16:21:58 -08:00
Zachary Ware 1f70221b86 Issue #19572: More silently skipped tests explicitly skipped. 2013-12-10 14:09:20 -06:00
Serhiy Storchaka 95d721927a Issue #19928: Implemented a test for repr() of cell objects. 2013-12-10 10:20:11 +02:00
Serhiy Storchaka 7057f3fa4d Issue #19481: print() of unicode, str or bytearray subclass instance in IDLE
no more hangs.
2013-12-10 10:04:41 +02:00
Victor Stinner 7821ff3789 Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes. 2013-12-10 01:23:22 +01:00
Serhiy Storchaka 5493d5ea2a Issue #19099: The struct module now supports Unicode format strings. 2013-12-08 17:44:50 +02:00
Nadeem Vawda 337c50b8cb Closes #19878: Fix segfault in bz2 module.
Initial patch by Vajrasky Kok.
2013-12-08 15:31:50 +01:00
Serhiy Storchaka 7c573857c7 Issue #16373: Prevent infinite recursion for ABC Set class comparisons. 2013-12-06 23:23:15 +02:00
Antoine Pitrou 197e71bce1 Issue #18840: Introduce the json module in the tutorial, and deemphasize the pickle module. 2013-12-05 23:46:32 +01:00
Tim Peters 0ee9baa8d4 Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
Grafted from c80083ad142d.
2013-12-03 21:02:05 -06:00
Alexandre Vassalotti df9460f8dc Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle. 2013-11-30 17:43:42 -08:00
Alexandre Vassalotti a2934280e5 Issue #6477: Added pickling support for singletons and their types. 2013-11-30 16:52:03 -08:00
Alexandre Vassalotti 34ca066d1c Fix typo in Misc/NEWS. 2013-11-30 14:02:47 -08:00
Alexandre Vassalotti 1d3a173326 Issue #16231: Allow false values other than None to be used as persistent IDs. 2013-11-30 13:24:13 -08:00
Zachary Ware 72a01b29bf Issue #19595: Re-enable a long-disabled test in test_winsound 2013-11-27 23:56:04 -06:00
Serhiy Storchaka 26d936a71e Issue #19795: Improved markup of True/False constants. 2013-11-29 12:16:53 +02:00
Zachary Ware 2a57009b04 Merge heads 2013-11-26 14:55:46 -06:00
Zachary Ware c0aa2457d8 Issue #19588: Fixed tests in test_random that were silently skipped most
of the time.  Patch by Julian Gindi.
2013-11-26 14:49:42 -06:00
Serhiy Storchaka 6d9d30da6a Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface.  Original patch by Kent Frazier.
2013-11-26 22:47:05 +02:00
Serhiy Storchaka dafda9b042 Issue #11489: JSON decoder now accepts lone surrogates. 2013-11-26 21:25:15 +02:00
Mark Dickinson c2f8c81af0 Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. 2013-11-26 16:38:25 +00:00
Gregory P. Smith d82634d606 Fix test.test_support.bind_port() to not cause an error when Python was
compiled on a system with SO_REUSEPORT defined in the headers but run on
a system with an OS kernel that does not support that new socket option.
2013-11-24 19:42:15 -08:00
Serhiy Storchaka 5397c97451 Issue #19633: Fixed writing not compressed 16- and 32-bit wave files on
big-endian platforms.

Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file  on big-endian platforms.
2013-11-21 11:04:37 +02:00
R David Murray eccf9c2e2f #19449: Handle non-string keys when generating 'fieldnames' error.
Backport from 3.3 6e5afeada7ca.
2013-11-19 13:25:24 -05:00
Jason R. Coombs 91bf058c98 Issue #12853: Correct NameError in distutils upload command. 2013-11-15 20:08:22 -05:00
Vinay Sajip 47fe4684ff Issue #19523: Closed FileHandler leak which occurred when delay was set. 2013-11-15 20:39:33 +00:00
Benjamin Peterson 086840ae82 merge 2.7.6 release branch 2013-11-10 02:46:48 -05:00
Benjamin Peterson 278519500f 2.7.6 final 2013-11-10 02:36:30 -05:00
Serhiy Storchaka c47d723eb0 Issue #1575020: Fixed support of 24-bit wave files on big-endian platforms. 2013-11-09 23:09:44 +02:00
Ezio Melotti b814745226 #19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard. 2013-11-07 18:31:36 +02:00
Ned Deily 11852734a5 Issue #15663: Revert OS X installer built-in Tcl/Tk support for 2.7.6.
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:40:03 -08:00
Ned Deily 52c48fdf30 Issue #15663: Revert OS X installer built-in Tcl/Tk support for 2.7.6.
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:40:03 -08:00
Nick Coghlan 768e8475b1 Remove merge artifact from Misc/NEWS 2013-11-05 00:24:05 +10:00
Nick Coghlan 6a98749e9c Close #17827: Document codecs.encode & codecs.decode 2013-11-04 20:05:16 +10:00
Zachary Ware 57d35c6494 Issue #17883: Tweak test_tcl testLoadWithUNC to skip the test in the
event of a permission error on Windows and to properly report other
skip conditions.
2013-11-03 22:51:25 -06:00
Zachary Ware 14b38f58c2 Issue #17883: Backport test.test_support._is_gui_available()
This should stop the Windows buildbots from hanging on test_ttk_guionly.
2013-11-03 22:27:04 -06:00
Serhiy Storchaka 32e23e739f Issue #18702: All skipped tests now reported as skipped. 2013-11-03 23:15:46 +02:00
Serhiy Storchaka 31b9c845d3 Issue #6157: Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo. 2013-11-03 14:28:29 +02:00
Serhiy Storchaka 8630f16eb7 Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.
2013-11-03 14:13:08 +02:00
Jason R. Coombs 42fa9ec050 Update NEWS 2013-11-02 11:43:40 -04:00
Serhiy Storchaka dd80816973 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:46:21 +02:00
Benjamin Peterson a40f5b513d merge 2.7.6 release branch 2013-10-31 20:23:57 -04:00
Benjamin Peterson 9fa6a8ba63 fix xmlcharrefreplace tests on wide build when tests are loaded from .py[co] files. 2013-10-31 20:22:41 -04:00