Commit Graph

25892 Commits

Author SHA1 Message Date
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
Serhiy Storchaka 18ab51d2ee Merge heads 2013-12-19 22:31:23 +02:00
Serhiy Storchaka 80b76bf0f9 Don't use sebTest() in tests for issue #5815. 2013-12-19 22:28:25 +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
Benjamin Peterson 437c4ae5b7 update url to spec (closes #20018) 2013-12-18 15:36:34 -06:00
Serhiy Storchaka 57bc6da7c4 Issue #19492: Silently skipped distutils tests now reported as skipped. 2013-12-18 16:45:37 +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
Antoine Pitrou bd4b667ea4 Issue #20006: Fix sporadic failures in test_weakset. 2013-12-18 00:28:36 +01: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
R David Murray ea76e87cc2 20004: Note that the setter in csv.DictReader is broken.
This is a comment in the code because only someone reading the code would try
setting fieldnames to None in the first place...
2013-12-17 12:09:46 -05:00
Serhiy Storchaka 84e7e5f40e Skip test for issue #17976 if /dev/null is not available. 2013-12-17 14:53:32 +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
Serhiy Storchaka 2f43b63543 Removed old implementation of ntpath.splitunc() (issue #19912). 2013-12-16 18:43:00 +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 b06231a9c9 Issue #19572: Replace a return that shouldn't have been removed from test_os.
This should fix the test_os failure on the AMD64 Windows 7 buildbot.
2013-12-10 16:06:46 -06:00
Zachary Ware 227c01a194 Issue #19928: Fix test on Windows 2013-12-10 14:14:28 -06:00
Zachary Ware 1f70221b86 Issue #19572: More silently skipped tests explicitly skipped. 2013-12-10 14:09:20 -06:00
Nadeem Vawda 284164b476 Skip test for #19878 on Windows. 2013-12-10 17:23:00 +01:00
Ezio Melotti 89c19fd094 #19943: fix typo noticed by Jakub Wilk. 2013-12-10 14:05:46 +02: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
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
Kristján Valur Jónsson 222b284911 Issue #7105: weak dict iterators are fragile because of unpredictable GC runs
Backport the fix from pyton 3.x for this issue.
2013-12-05 10:03:45 +00:00
Tim Peters c289fa7556 Fudge - http.client doesn't exist in 2.7. Use Queue.Empty instead. 2013-12-03 21:49:30 -06: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
Serhiy Storchaka 7546220f06 Fixed JSON tests on wide build when ran from *.pyc files (issue #11489). 2013-12-01 17:30:55 +02: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 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
Eli Bendersky f933e081dd Issue #19815: Fix segfault when parsing empty namespace declaration.
Based on patches by Christian Heimes and Vajrasky Kok
2013-11-28 06:25:45 -08:00
Serhiy Storchaka cf6a3e2a27 Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
2013-11-27 08:57:33 +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