Commit Graph

77570 Commits

Author SHA1 Message Date
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
Vinay Sajip d46a31fc64 Issue #19902: Added list of logging levels. 2013-12-19 11:42:18 +00:00
Benjamin Peterson 437c4ae5b7 update url to spec (closes #20018) 2013-12-18 15:36:34 -06:00
Gregory P. Smith ddd71e2f78 remove trailing spaces. 2013-12-18 11:25:26 -08:00
Zachary Ware b56c517b05 Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa. 2013-12-18 12:18:36 -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 78ad6583d6 Circumventing a bug in glibc (issue #17976).
Patch by Jaakko Moisio.
2013-12-17 17:32:20 +02:00
Serhiy Storchaka 15df36bb14 Issue #16404: Add checks for return value of PyInt_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
2013-12-17 15:09:45 +02:00
Serhiy Storchaka 0585418b0d Fixed leak in sys.flags initialization. 2013-12-17 14:59:29 +02: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 4d39df35d7 Merge heads 2013-12-16 15:16:11 +02: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
Charles-François Natali 7a2fe9c83c Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
2013-12-15 19:07:44 +01: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
Ezio Melotti 91b88c8d87 #19981: fix typo in email.mailbox docs. Patch by Claudiu Popa. 2013-12-14 12:42:29 +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
Nick Coghlan 73188fb68b Issue #19407: add Python Packaging User Guide notes
The stdlib docs for package distribution and building extensions
are rather dated, and that isn't expected to change for 2.7 and
3.3.

The Python Packaging User Guide isn't complete either, but it's
already a much better road map for new users than the existing
stdlib docs.
2013-12-10 21:18:32 +10: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
Vinay Sajip d919da9942 Added minor clarification in logging HOWTO. 2013-12-06 11:21:15 +00: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
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
Eli Bendersky 7b2ac60934 Issue #19814: Clarify argparse's docs w.r.t prefix matching 2013-12-02 05:53:35 -08: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