]>
granicus.if.org Git - python/log
Zachary Ware [Fri, 20 Dec 2013 19:25:53 +0000 (13:25 -0600)]
Update test.outstanding_bugs.py
Zachary Ware [Fri, 20 Dec 2013 19:25:07 +0000 (13:25 -0600)]
Update test.outstanding_bugs.py
Serhiy Storchaka [Fri, 20 Dec 2013 16:50:32 +0000 (18:50 +0200)]
Issue #20034: Updated alias mapping to most recent locale.alias file
from X.org distribution using makelocalealias.py.
Serhiy Storchaka [Fri, 20 Dec 2013 16:23:26 +0000 (18:23 +0200)]
Issue #20034: Updated alias mapping to most recent locale.alias file
from X.org distribution using makelocalealias.py.
Nick Coghlan [Fri, 20 Dec 2013 12:14:03 +0000 (22:14 +1000)]
Issue #19946: use public API for multiprocessing start methods
This should appease the OpenIndiana buildbot.
Also lengthened the worst case timeout to try to eliminate
the inconsistent failure on one of the Windows 7 buildbots.
Guido van Rossum [Thu, 19 Dec 2013 21:49:32 +0000 (13:49 -0800)]
asyncio: Clean up formatting.
Victor Stinner [Thu, 19 Dec 2013 21:42:40 +0000 (22:42 +0100)]
Close #19967: Thanks to the PEP 442, asyncio.Future can use a destructor in
Python 3.4 to log "uncatched" exceptions, instead of the dedicated
_TracebackLogger class.
Guido van Rossum [Thu, 19 Dec 2013 20:47:38 +0000 (12:47 -0800)]
Shorten lines.
Serhiy Storchaka [Thu, 19 Dec 2013 20:32:40 +0000 (22:32 +0200)]
Null merge
Serhiy Storchaka [Thu, 19 Dec 2013 20:31:46 +0000 (22:31 +0200)]
Don't use sebTest() in tests for issue #5815.
Zachary Ware [Thu, 19 Dec 2013 19:47:40 +0000 (13:47 -0600)]
Null merge with 3.3.
The empty tests should be implemented on this branch.
Zachary Ware [Thu, 19 Dec 2013 19:44:56 +0000 (13:44 -0600)]
Issue #19683: Removed empty tests from test_minidom. Patch by Ajitesh Gupta.
Serhiy Storchaka [Thu, 19 Dec 2013 19:24:06 +0000 (21:24 +0200)]
Merge with 3.3
Serhiy Storchaka [Thu, 19 Dec 2013 19:21:40 +0000 (21:21 +0200)]
Issue #5815: Fixed support for locales with modifiers. Fixed support for
locale encodings with hyphens.
Serhiy Storchaka [Thu, 19 Dec 2013 19:21:25 +0000 (21:21 +0200)]
Issue #5815: Fixed support for locales with modifiers. Fixed support for
locale encodings with hyphens.
Victor Stinner [Thu, 19 Dec 2013 16:16:42 +0000 (17:16 +0100)]
Fix the C definition of the sys._debugmallocstats() function: the function has
no parameter
Victor Stinner [Thu, 19 Dec 2013 15:47:25 +0000 (16:47 +0100)]
(Merge 3.3) Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now
raise a ValueError if num is negative (instead of raising a SystemError).
Victor Stinner [Thu, 19 Dec 2013 15:47:04 +0000 (16:47 +0100)]
Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a
ValueError if num is negative (instead of raising a SystemError).
Victor Stinner [Thu, 19 Dec 2013 15:41:22 +0000 (16:41 +0100)]
Merge heads
Victor Stinner [Thu, 19 Dec 2013 15:39:00 +0000 (16:39 +0100)]
(Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalid
isolation level (wrong type).
Victor Stinner [Thu, 19 Dec 2013 15:38:03 +0000 (16:38 +0100)]
Issue #20026: Fix the sqlite module to handle correctly invalid isolation level
(wrong type).
Serhiy Storchaka [Thu, 19 Dec 2013 14:28:04 +0000 (16:28 +0200)]
Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields. Original patch by Vajrasky Kok.
Serhiy Storchaka [Thu, 19 Dec 2013 14:27:18 +0000 (16:27 +0200)]
Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields. Original patch by Vajrasky Kok.
Victor Stinner [Thu, 19 Dec 2013 12:47:35 +0000 (13:47 +0100)]
Better assertion in PyObject_Call() to detect functions returning a result with
an exception set (invalid state).
Victor Stinner [Thu, 19 Dec 2013 12:39:32 +0000 (13:39 +0100)]
Fix _Py_DisplaySourceLine(), if PyTokenizer_FindEncodingFilename() fails, clear
the exception to not call open() with an exception set.
Victor Stinner [Thu, 19 Dec 2013 12:24:49 +0000 (13:24 +0100)]
Fix os.listdir(): _Py_dup() already raises an exception on error, no need to
raise a new exception
Nick Coghlan [Thu, 19 Dec 2013 11:53:31 +0000 (21:53 +1000)]
Issue #19946: appropriately skip new multiprocessing tests
Thanks to Christian Heimes for noting the buildbot failures and
to Zachary Ware for providing the patch to make the new tests
play nice with both other platforms and unittest test discovery
Vinay Sajip [Thu, 19 Dec 2013 11:51:19 +0000 (11:51 +0000)]
Closes #19902: Merged update from 3.3.
Vinay Sajip [Thu, 19 Dec 2013 11:50:24 +0000 (11:50 +0000)]
Issue #19902: Added list of logging levels.
Eric Snow [Thu, 19 Dec 2013 06:35:15 +0000 (23:35 -0700)]
Remove some dead code in importlib, introduced with the PEP 451 patch.
Early in the PEP 451 implementation some of the importlib loaders had
their own _get_spec() methods to simplify accommodating them. However,
later implementations removed the need. They simply failed to remove
this code at the same time. :)
Benjamin Peterson [Wed, 18 Dec 2013 21:37:03 +0000 (15:37 -0600)]
merge 3.3 (#20018)
Benjamin Peterson [Wed, 18 Dec 2013 21:35:18 +0000 (15:35 -0600)]
update url to spec (closes #20018)
Gregory P. Smith [Wed, 18 Dec 2013 19:27:21 +0000 (11:27 -0800)]
remove trailing spaces
Gregory P. Smith [Wed, 18 Dec 2013 19:27:05 +0000 (11:27 -0800)]
remove trailing spaces.
Zachary Ware [Wed, 18 Dec 2013 18:22:35 +0000 (12:22 -0600)]
Closes #20005: Fix typo in operator docs. Patch by Claudiu Popa.
Zachary Ware [Wed, 18 Dec 2013 18:21:49 +0000 (12:21 -0600)]
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
Serhiy Storchaka [Wed, 18 Dec 2013 14:45:24 +0000 (16:45 +0200)]
Issue #19492: Silently skipped distutils tests now reported as skipped.
Serhiy Storchaka [Wed, 18 Dec 2013 14:41:01 +0000 (16:41 +0200)]
Issue #19492: Silently skipped distutils tests now reported as skipped.
R David Murray [Wed, 18 Dec 2013 02:14:41 +0000 (21:14 -0500)]
Merge: #19855: uuid.get_node now looks on the PATH for executables on unix.
R David Murray [Wed, 18 Dec 2013 02:13:16 +0000 (21:13 -0500)]
#19855: uuid.get_node now looks on the PATH for executables on unix.
Patch by Serhiy Storchaka.
Antoine Pitrou [Tue, 17 Dec 2013 23:32:02 +0000 (00:32 +0100)]
Issue #20006: Fix sporadic failures in test_weakset.
Antoine Pitrou [Tue, 17 Dec 2013 23:28:36 +0000 (00:28 +0100)]
Issue #20006: Fix sporadic failures in test_weakset.
Antoine Pitrou [Tue, 17 Dec 2013 23:29:30 +0000 (00:29 +0100)]
Revert misled test change in
f189da5bda26 .
Serhiy Storchaka [Tue, 17 Dec 2013 19:51:40 +0000 (21:51 +0200)]
Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
Serhiy Storchaka [Tue, 17 Dec 2013 19:50:02 +0000 (21:50 +0200)]
Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
Serhiy Storchaka [Tue, 17 Dec 2013 13:12:46 +0000 (15:12 +0200)]
Issue #16404: Add checks for return value of PyLong_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
Serhiy Storchaka [Tue, 17 Dec 2013 13:11:24 +0000 (15:11 +0200)]
Issue #16404: Add checks for return value of PyLong_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
Serhiy Storchaka [Tue, 17 Dec 2013 13:00:53 +0000 (15:00 +0200)]
Fixed leak in sys.flags initialization.
Serhiy Storchaka [Tue, 17 Dec 2013 12:59:42 +0000 (14:59 +0200)]
Fixed leak in sys.flags initialization.
Nick Coghlan [Tue, 17 Dec 2013 12:17:26 +0000 (22:17 +1000)]
Close #19946: use runpy as needed in multiprocessing
- handles main files without a suffix
- handles main submodules properly
- adds test cases for the various kinds of __main__
Eric Snow [Tue, 17 Dec 2013 06:10:50 +0000 (23:10 -0700)]
Issue #19713: Fix mistakes in the import page of language reference.
These mistakes were introduced by the initial PEP 451 merge.
Eric Snow [Tue, 17 Dec 2013 06:06:52 +0000 (23:06 -0700)]
Issue #19713: Update importlib docs for module spec changes, including deprecations.
Eli Bendersky [Tue, 17 Dec 2013 05:13:40 +0000 (21:13 -0800)]
Issue #20001: Add the SVG source of the pathlib-inheritance diagram to Hg
Victor Stinner [Mon, 16 Dec 2013 22:39:40 +0000 (23:39 +0100)]
Backout
a1a05e2724dd : shutil.which(bytes) is a new feature and my patch does not work on Windows
Victor Stinner [Mon, 16 Dec 2013 22:06:19 +0000 (23:06 +0100)]
tracemalloc: fix usage of strtol(), value can be LONG_MIN or LONG_MAX on ERANGE
Victor Stinner [Mon, 16 Dec 2013 22:05:13 +0000 (23:05 +0100)]
tracemalloc: only use unsigned types to compute hash
Commit to simplify the backport to python 2.7 and to make the code more
consistent.
Victor Stinner [Mon, 16 Dec 2013 21:48:48 +0000 (22:48 +0100)]
Issue #18283: shutil.which() now supports bytes argument, not only text argument.
Victor Stinner [Mon, 16 Dec 2013 21:38:46 +0000 (22:38 +0100)]
(Merge 3.3) Close #19999: tolerate coarse time when testing time.monotonic() on
very busy/slow buildbot
Victor Stinner [Mon, 16 Dec 2013 21:36:50 +0000 (22:36 +0100)]
Close #19999: tolerate coarse time when testing time.monotonic() on very
busy/slow buildbot
Christian Heimes [Mon, 16 Dec 2013 20:17:02 +0000 (21:17 +0100)]
merge
Christian Heimes [Mon, 16 Dec 2013 20:16:45 +0000 (21:16 +0100)]
Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
Christian Heimes [Mon, 16 Dec 2013 20:15:44 +0000 (21:15 +0100)]
Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
Antoine Pitrou [Mon, 16 Dec 2013 20:00:53 +0000 (21:00 +0100)]
Mention specific exceptions instead of OSError where appropriate.
Antoine Pitrou [Mon, 16 Dec 2013 19:22:37 +0000 (20:22 +0100)]
Issue #19921: When Path.mkdir() is called with parents=True, any missing parent is created with the default permissions, ignoring the mode argument (mimicking the POSIX "mkdir -p" command).
Patch by Serhiy.
Antoine Pitrou [Mon, 16 Dec 2013 18:57:41 +0000 (19:57 +0100)]
Issue #19887: Improve the Path.resolve() algorithm to support certain symlink chains.
Original patch by Serhiy.
Zachary Ware [Mon, 16 Dec 2013 15:05:44 +0000 (09:05 -0600)]
Issue #19987: Merge with 3.3
Zachary Ware [Mon, 16 Dec 2013 15:02:41 +0000 (09:02 -0600)]
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.
Christian Heimes [Mon, 16 Dec 2013 13:54:24 +0000 (14:54 +0100)]
Issue #19987: disable test_winsound's test_alias_fallback test when no sound card
is available. The test fails on Windows Server 2008.
Christian Heimes [Mon, 16 Dec 2013 13:35:58 +0000 (14:35 +0100)]
merge
Christian Heimes [Mon, 16 Dec 2013 13:35:39 +0000 (14:35 +0100)]
Issue #18215: Add script Tools/ssl/test_multiple_versions.py to compile and
run Python's unit tests with multiple versions of OpenSSL.
Serhiy Storchaka [Mon, 16 Dec 2013 13:17:33 +0000 (15:17 +0200)]
Null merge
Serhiy Storchaka [Mon, 16 Dec 2013 13:17:13 +0000 (15:17 +0200)]
Merge heads
Serhiy Storchaka [Mon, 16 Dec 2013 13:16:35 +0000 (15:16 +0200)]
Merge heads
Serhiy Storchaka [Mon, 16 Dec 2013 13:14:19 +0000 (15:14 +0200)]
Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more return illegal result for paths with redundant slashes.
* splitunc() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Deprecation warnings now emitted for every use of splitunc().
* Added tests for splitunc().
Serhiy Storchaka [Mon, 16 Dec 2013 13:13:28 +0000 (15:13 +0200)]
Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more return illegal result for paths with redundant slashes.
* splitunc() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Deprecation warnings now emitted for every use of splitunc().
* Added tests for splitunc().
Charles-François Natali [Mon, 16 Dec 2013 12:49:56 +0000 (13:49 +0100)]
Mere.
Charles-François Natali [Mon, 16 Dec 2013 12:49:38 +0000 (13:49 +0100)]
Merge.
Charles-François Natali [Mon, 16 Dec 2013 12:49:30 +0000 (13:49 +0100)]
Merge.
Charles-François Natali [Mon, 16 Dec 2013 12:49:19 +0000 (13:49 +0100)]
Merge.
Serhiy Storchaka [Mon, 16 Dec 2013 12:36:10 +0000 (14:36 +0200)]
Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
Serhiy Storchaka [Mon, 16 Dec 2013 12:34:55 +0000 (14:34 +0200)]
Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
Christian Heimes [Mon, 16 Dec 2013 12:28:20 +0000 (13:28 +0100)]
Issue #17919: add missing import of USHRT_MAX
Christian Heimes [Mon, 16 Dec 2013 12:27:16 +0000 (13:27 +0100)]
Issue #17919: add missing import of USHRT_MAX
Charles-François Natali [Mon, 16 Dec 2013 11:03:05 +0000 (12:03 +0100)]
Merge.
Charles-François Natali [Mon, 16 Dec 2013 11:02:42 +0000 (12:02 +0100)]
Merge.
R David Murray [Mon, 16 Dec 2013 01:56:00 +0000 (20:56 -0500)]
Merge: #19532: make compileall with no file/dir args respect -f and -q.
R David Murray [Mon, 16 Dec 2013 01:49:38 +0000 (20:49 -0500)]
#19532: make compileall with no file/dir args respect -f and -q.
Patch by Vajrasky Kok.
Christian Heimes [Sun, 15 Dec 2013 20:49:17 +0000 (21:49 +0100)]
test_ssl: skip tests when SNI is not available
Christian Heimes [Sun, 15 Dec 2013 20:44:43 +0000 (21:44 +0100)]
test_poplib: skip stls_context test when SNI is not available
Stefan Krah [Sun, 15 Dec 2013 20:02:28 +0000 (21:02 +0100)]
Merge.
Raymond Hettinger [Sun, 15 Dec 2013 19:56:14 +0000 (11:56 -0800)]
Minor code clean-up. Keep the C-API all in one section.
Stefan Krah [Sun, 15 Dec 2013 19:52:08 +0000 (20:52 +0100)]
Merge from 3.3.
Stefan Krah [Sun, 15 Dec 2013 19:45:08 +0000 (20:45 +0100)]
Issue #19986: Avoid an incorrect warning of older gcc versions.
Christian Heimes [Sun, 15 Dec 2013 18:50:13 +0000 (19:50 +0100)]
fixed test_ftplib
Christian Heimes [Sun, 15 Dec 2013 18:39:32 +0000 (19:39 +0100)]
test_imaplib: skip check_hostname test when SNI is not available
Christian Heimes [Sun, 15 Dec 2013 18:38:22 +0000 (19:38 +0100)]
test_ftplib: skip check_hostname test when SNI is not available
Charles-François Natali [Sun, 15 Dec 2013 18:12:52 +0000 (19:12 +0100)]
Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
Charles-François Natali [Sun, 15 Dec 2013 18:12:07 +0000 (19:12 +0100)]
Merge.
Charles-François Natali [Sun, 15 Dec 2013 18:09:00 +0000 (19:09 +0100)]
Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
Christian Heimes [Sun, 15 Dec 2013 16:02:36 +0000 (17:02 +0100)]
Skip some tests that require server name indication (SNI)