Commit Graph

10497 Commits

Author SHA1 Message Date
Serhiy Storchaka 9be238d313 Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.
* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
  LabelFrame.panes() now always return a tuple.
* Fixed _stringify() for non-ASCII strings.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
2014-01-07 19:32:58 +02:00
Gregory P. Smith 7902f8ddac news entry for issue19081 fix. 2014-01-06 09:50:19 -08:00
R David Murray 984f630f0a #1065986: Make pydoc handle unicode strings.
Patch by Akira Kitada.
2014-01-05 12:35:59 -05:00
R David Murray 020d7c379a closes 16039: CVE-2013-1752: limit line length in imaplib readline calls. 2014-01-03 13:59:22 -05:00
Benjamin Peterson 22d9ee7e17 complain if the codec doesn't return unicode 2013-12-28 10:33:58 -06:00
Antoine Pitrou 63cc99d9a6 Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data. 2013-12-28 17:26:33 +01:00
Serhiy Storchaka d551b28571 Issue #20027: Fixed locale aliases for devanagari locales. 2013-12-26 21:20:46 +02:00
Serhiy Storchaka dbb9630c53 Backported tests for Tkinter variables. 2013-12-26 20:08:34 +02:00
Serhiy Storchaka 5e11655156 Issue #20067: Tkinter variables now work when wantobjects is false. 2013-12-26 20:05:53 +02:00
Serhiy Storchaka 5542b15d25 Issue #19320: test_tcl no longer fails when wantobjects is false. 2013-12-25 17:28:50 +02:00
Serhiy Storchaka ec773cc9c3 Issue #19020: Tkinter now uses splitlist() instead of split() in configure
methods.
2013-12-25 16:35:20 +02:00
Serhiy Storchaka 0b6b335253 Issue #20058: sys.stdin.readline() in IDLE now always returns only one line. 2013-12-25 14:24:17 +02:00
Antoine Pitrou 6200324701 Issue #12226: HTTPS is now used by default when connecting to PyPI. 2013-12-22 01:35:53 +01:00
Serhiy Storchaka d105196c72 Issue #20048: Fixed ZipExtFile.peek() when it is called on the boundary of
the uncompress buffer and read() goes through more than one readbuffer.

This is partial backport of changeset 028e8e0b03e8.
2013-12-21 23:51:15 +02:00
Serhiy Storchaka 0e4d852abf Issue #20034: Updated alias mapping to most recent locale.alias file
from X.org distribution using makelocalealias.py.
2013-12-20 18:22:38 +02:00
Zachary Ware 1875536480 Issue #19683: Removed empty tests from test_minidom.
Initial patch by Ajitesh Gupta.
2013-12-19 13:44:19 -06:00
Serhiy Storchaka bd78986279 Issue #5815: Fixed support for locales with modifiers. Fixed support for
locale encodings with hyphens.
2013-12-19 21:21:06 +02:00
Victor Stinner 9450219b06 Issue #20026: Fix the sqlite module to handle correctly invalid isolation level
(wrong type).
2013-12-19 16:44:48 +01:00
Serhiy Storchaka 0c221beed4 Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields.  Original patch by Vajrasky Kok.
2013-12-19 16:26:56 +02:00
R David Murray 15160399f5 #19855: uuid.get_node now looks on the PATH for executables on unix.
Patch by Serhiy Storchaka.
2013-12-17 21:27:56 -05:00
Serhiy Storchaka c97f5ede8f Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
2013-12-17 21:49:48 +02:00
Serhiy Storchaka 6d562319d2 Issue #17976: Fixed potential problem with file.write() not detecting IO error
by inspecting the return value of fwrite().  Based on patches by Jaakko Moisio
and test by Victor Stinner.
2013-12-17 14:40:06 +02:00
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