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
Alexandre Vassalotti
c6df622c4c
Merge heads.
2013-11-30 16:56:36 -08:00
Alexandre Vassalotti
a2934280e5
Issue #6477 : Added pickling support for singletons and their types.
2013-11-30 16:52:03 -08:00
Vinay Sajip
e9cb5e9df6
Issue #19789 : Clarified documentation for logging.disable.
2013-11-30 22:43:13 +00: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
Eli Bendersky
71142c4e86
Fix indentation from previous commit
2013-11-28 06:37:25 -08: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