]>
granicus.if.org Git - python/log
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: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 12:59:42 +0000 (14:59 +0200)]
Fixed leak in sys.flags initialization.
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:15:44 +0000 (21:15 +0100)]
Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
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.
Serhiy Storchaka [Mon, 16 Dec 2013 13:16:35 +0000 (15:16 +0200)]
Merge heads
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:19 +0000 (13:49 +0100)]
Merge.
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:27:16 +0000 (13:27 +0100)]
Issue #17919: add missing import of USHRT_MAX
Charles-François Natali [Mon, 16 Dec 2013 11:02:42 +0000 (12:02 +0100)]
Merge.
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.
Stefan Krah [Sun, 15 Dec 2013 19:45:08 +0000 (20:45 +0100)]
Issue #19986: Avoid an incorrect warning of older gcc versions.
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.
Serhiy Storchaka [Sat, 14 Dec 2013 19:07:09 +0000 (21:07 +0200)]
Issue #17576: Removed deprecation warnings added in changeset
618cca51a27e .
Serhiy Storchaka [Sat, 14 Dec 2013 18:35:04 +0000 (20:35 +0200)]
Issue #19623: Fixed writing to unseekable files in the aifc module.
Serhiy Storchaka [Sat, 14 Dec 2013 17:12:02 +0000 (19:12 +0200)]
Issue #17919: Fixed integer overflow in the eventmask parameter.
Stefan Krah [Sat, 14 Dec 2013 11:58:09 +0000 (12:58 +0100)]
Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subverted
by including stdint.h before mpdecimal.h. In that case the only option left
is to compile with -D_STDC_LIMIT_MACROS.
Ezio Melotti [Sat, 14 Dec 2013 10:42:29 +0000 (12:42 +0200)]
#19981: fix typo in email.mailbox docs. Patch by Claudiu Popa.
R David Murray [Sat, 14 Dec 2013 01:52:19 +0000 (20:52 -0500)]
#19970: Fix some comment typos.
Report and patch by Vajrasky Kok.
Brett Cannon [Fri, 13 Dec 2013 18:57:41 +0000 (13:57 -0500)]
Issue #19963: Document that importlib.import_module() will import
parent packages automatically.
R David Murray [Fri, 13 Dec 2013 17:29:29 +0000 (12:29 -0500)]
#18036: update .pyc FAQ entry in light of PEP 3147.
Initial patch by Phil Connell.
Victor Stinner [Fri, 13 Dec 2013 11:14:44 +0000 (12:14 +0100)]
Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c"
argument is not in range [0; 255].
Serhiy Storchaka [Fri, 13 Dec 2013 10:08:01 +0000 (12:08 +0200)]
Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.
Victor Stinner [Fri, 13 Dec 2013 01:30:12 +0000 (02:30 +0100)]
Issue #14432: Fix compilation when thread support is disabled
Victor Stinner [Fri, 13 Dec 2013 01:17:29 +0000 (02:17 +0100)]
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.
Stefan Krah [Thu, 12 Dec 2013 17:51:51 +0000 (18:51 +0100)]
Do not discard const qualifier without a reason.
Zachary Ware [Thu, 12 Dec 2013 16:32:16 +0000 (10:32 -0600)]
Avoid UnicodeEncodeError by only printing ASCII.
This fixes running test_decimal in verbose mode on Windows,
which I broke in issue #19572.
Zachary Ware [Wed, 11 Dec 2013 23:12:34 +0000 (17:12 -0600)]
Filter namespaceobject's files properly in the pythoncore VS project.
Zachary Ware [Wed, 11 Dec 2013 22:59:44 +0000 (16:59 -0600)]
Issue #19828: Fixed test_site when the whole suite is run with -S.
Also, cleaned up an unused import.
R David Murray [Wed, 11 Dec 2013 21:34:34 +0000 (16:34 -0500)]
#19063: partially fix set_payload handling of non-ASCII string input.
This is a backward compatible partial fix, the complete fix requires raising
an error instead of accepting the invalid input, so the real fix is only
suitable for 3.4.
Serhiy Storchaka [Wed, 11 Dec 2013 19:07:54 +0000 (21:07 +0200)]
Issue #17576: Deprecation warning emitted now when __int__() or __index__()
return not int instance. Introduced _PyLong_FromNbInt() and refactored
PyLong_As*() functions.
Gregory P. Smith [Wed, 11 Dec 2013 02:25:21 +0000 (18:25 -0800)]
Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by the
fix to Issue #14635 in Python 3.3.0 to be interpreted as milliseconds instead
of seconds when the platform supports select.poll (ie: everywhere). It is now
treated as seconds once again.
Ned Deily [Wed, 11 Dec 2013 00:24:01 +0000 (16:24 -0800)]
Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial
shell window is present. (Original patch by Terry Reedy)
Zachary Ware [Tue, 10 Dec 2013 20:17:22 +0000 (14:17 -0600)]
Issue #19928: Fix test on Windows
Ezio Melotti [Tue, 10 Dec 2013 12:05:46 +0000 (14:05 +0200)]
#19943: fix typo noticed by Jakub Wilk.
Nick Coghlan [Tue, 10 Dec 2013 11:24:55 +0000 (21:24 +1000)]
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.
Serhiy Storchaka [Tue, 10 Dec 2013 08:20:31 +0000 (10:20 +0200)]
Issue #19928: Implemented a test for repr() of cell objects.
Serhiy Storchaka [Tue, 10 Dec 2013 08:05:19 +0000 (10:05 +0200)]
Issue #19481: print() of string subclass instance in IDLE no more hangs.
Victor Stinner [Tue, 10 Dec 2013 00:19:58 +0000 (01:19 +0100)]
Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.
Stefan Krah [Sun, 8 Dec 2013 19:54:02 +0000 (20:54 +0100)]
Add libmpdec license.
Stefan Krah [Sun, 8 Dec 2013 19:08:32 +0000 (20:08 +0100)]
Fix two typos.
Stefan Krah [Sun, 8 Dec 2013 19:00:56 +0000 (20:00 +0100)]
Missed one copyright.
Stefan Krah [Sun, 8 Dec 2013 18:54:05 +0000 (19:54 +0100)]
Update copyright. The four year increment is intentional (to save work).
Victor Stinner [Sun, 8 Dec 2013 23:25:57 +0000 (00:25 +0100)]
Issue #17429: Oops, remove unused import
Victor Stinner [Sun, 8 Dec 2013 23:01:27 +0000 (00:01 +0100)]
Issue #17429: platform.linux_distribution() now decodes files from the UTF-8
encoding with the surrogateescape error handler, instead of decoding from the
locale encoding in strict mode. It fixes the function on Fedora 19 which is
probably the first major distribution release with a non-ASCII name. Patch
written by Toshio Kuratomi.
Gregory P. Smith [Sun, 8 Dec 2013 18:56:07 +0000 (10:56 -0800)]
Fixes issue #19929: Call os.read with 32768 within subprocess.Popen
communicate rather than 4096 for efficiency. A microbenchmark shows
Linux and OS X both using ~50% less cpu time this way.
Nadeem Vawda [Sun, 8 Dec 2013 18:47:22 +0000 (19:47 +0100)]
#18430: Document that peek() may change the position of the underlying file for
the BZ2File, GzipFile and LZMAFile classes.
Serhiy Storchaka [Sun, 8 Dec 2013 16:14:49 +0000 (18:14 +0200)]
Issue #19535: Fixed test_docxmlrpc when python is run with -OO.
Gregory P. Smith [Sun, 8 Dec 2013 08:39:07 +0000 (00:39 -0800)]
Remove mentions of Python 2.x and being externally maintained from
the bundled json module. Replace that with a mention of it being
a version of the externally maintained simplejson module.
Zachary Ware [Sun, 8 Dec 2013 07:00:14 +0000 (01:00 -0600)]
Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
Zachary Ware [Sun, 8 Dec 2013 06:38:54 +0000 (00:38 -0600)]
Normalize whitespace
Zachary Ware [Sun, 8 Dec 2013 06:20:35 +0000 (00:20 -0600)]
Issue 19572: More silently skipped tests explicitly skipped.
Gregory P. Smith [Sun, 8 Dec 2013 03:12:46 +0000 (19:12 -0800)]
Fixes issue #19506: Use a memoryview to avoid a data copy when piping data
to stdin within subprocess.Popen.communicate. 5-10% less cpu usage.
Charles-François Natali [Sat, 7 Dec 2013 19:30:17 +0000 (20:30 +0100)]
Issue #19857: Make sure that test_imaplib reaps server threads even in face of
error upon client disconnection.
Benjamin Peterson [Sat, 7 Dec 2013 01:12:39 +0000 (20:12 -0500)]
document that compile() can take bytes (closes #19910)
Antoine Pitrou [Fri, 6 Dec 2013 23:56:59 +0000 (00:56 +0100)]
Issue #19900: improve generalities at the start of the pickle module doc
Vinay Sajip [Fri, 6 Dec 2013 11:22:24 +0000 (11:22 +0000)]
Added minor clarification in logging HOWTO.
Antoine Pitrou [Thu, 5 Dec 2013 22:46:32 +0000 (23:46 +0100)]
Issue #18840: Introduce the json module in the tutorial, and deemphasize the pickle module.
Nadeem Vawda [Wed, 4 Dec 2013 22:03:49 +0000 (23:03 +0100)]
#19839: Fix lzma module's handling of non-lzma data at EOF.
Nadeem Vawda [Wed, 4 Dec 2013 22:01:15 +0000 (23:01 +0100)]
#19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF.
Antoine Pitrou [Wed, 4 Dec 2013 20:11:03 +0000 (21:11 +0100)]
Tweak the socket module doc layout
Antoine Pitrou [Wed, 4 Dec 2013 20:02:42 +0000 (21:02 +0100)]
Issue #19882: tweak docs for socket.close()
Christian Heimes [Wed, 4 Dec 2013 07:50:22 +0000 (08:50 +0100)]
ncurses' winch and mvwinch return an unsigned long
Tim Peters [Wed, 4 Dec 2013 03:02:05 +0000 (21:02 -0600)]
Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
(grafted from
c80083ad142db2939507800c755082293a87f2de )
Stefan Krah [Tue, 3 Dec 2013 13:33:46 +0000 (14:33 +0100)]
Make a couple of parameters constant.
Vinay Sajip [Tue, 3 Dec 2013 11:28:55 +0000 (11:28 +0000)]
Issue #19665: Increased timeout for SMTPHandler test.
Walter Doerwald [Mon, 2 Dec 2013 16:19:00 +0000 (17:19 +0100)]
Add NEWS entry for issue #19834.
Eli Bendersky [Mon, 2 Dec 2013 13:49:54 +0000 (05:49 -0800)]
Issue #19814: Clarify argparse's docs w.r.t prefix matching
Victor Stinner [Mon, 2 Dec 2013 11:16:46 +0000 (12:16 +0100)]
Issue #19728: Fix sys.getfilesystemencoding() documentation
Walter Doerwald [Mon, 2 Dec 2013 10:41:01 +0000 (11:41 +0100)]
Fix issue #19834: Support unpickling of exceptions pickled by Python 2.
Gregory P. Smith [Mon, 2 Dec 2013 01:27:40 +0000 (17:27 -0800)]
Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
The errpipe_write fd will always be >= 3.
Alexandre Vassalotti [Sun, 1 Dec 2013 21:25:26 +0000 (13:25 -0800)]
Issue #11480: Fixed copy.copy to work with classes with custom metaclasses.
Patch by Daniel Urban.
Gregory P. Smith [Sun, 1 Dec 2013 08:12:24 +0000 (00:12 -0800)]
Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
Gregory P. Smith [Sun, 1 Dec 2013 03:02:57 +0000 (19:02 -0800)]
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
Alexandre Vassalotti [Sun, 1 Dec 2013 01:55:48 +0000 (17:55 -0800)]
Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:06:39 +0000 (16:06 -0800)]
Issue #6477: Added support for pickling the types of built-in singletons.
Zachary Ware [Sat, 30 Nov 2013 22:59:33 +0000 (16:59 -0600)]
Issue #19845: Updated the Compiling Python on Windows docs.
Vinay Sajip [Sat, 30 Nov 2013 22:45:29 +0000 (22:45 +0000)]
Issue #19789: Clarified documentation for logging.disable.
Alexandre Vassalotti [Sat, 30 Nov 2013 21:52:35 +0000 (13:52 -0800)]
Fixed _pickle.Unpickler to handle empty persistent IDs correctly.
Alexandre Vassalotti [Sat, 30 Nov 2013 08:53:09 +0000 (00:53 -0800)]
Issue #19088: Fix incorrect caching of the copyreg module.
This fix does not cause any degradation in performance.
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound
Serhiy Storchaka [Fri, 29 Nov 2013 21:40:35 +0000 (23:40 +0200)]
Revert unrelated changes introduced by changeset
b2066bc8cab9 (issue #19795).
Serhiy Storchaka [Fri, 29 Nov 2013 10:17:13 +0000 (12:17 +0200)]
Issue #19795: Improved markup of True/False constants.
Eli Bendersky [Thu, 28 Nov 2013 14:33:21 +0000 (06:33 -0800)]
Fix indentation from previous commit
Eli Bendersky [Thu, 28 Nov 2013 14:31:58 +0000 (06:31 -0800)]
Issue #19815: Fix segfault when parsing empty namespace declaration.
Based on patches by Christian Heimes and Vajrasky Kok
Serhiy Storchaka [Wed, 27 Nov 2013 06:57:51 +0000 (08:57 +0200)]
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
Benjamin Peterson [Wed, 27 Nov 2013 05:05:25 +0000 (23:05 -0600)]
recommend OrderedDict for this FAQ (closes #19805)
Benjamin Peterson [Wed, 27 Nov 2013 01:22:36 +0000 (19:22 -0600)]
fix format spec recursive expansion (closes #19729)
Zachary Ware [Tue, 26 Nov 2013 22:32:59 +0000 (16:32 -0600)]
Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
Zachary Ware [Tue, 26 Nov 2013 20:57:10 +0000 (14:57 -0600)]
Merge heads
Zachary Ware [Tue, 26 Nov 2013 20:50:10 +0000 (14:50 -0600)]
Issue #19588: Fixed tests in test_random that were silently skipped most
of the time. Patch by Julian Gindi.
Serhiy Storchaka [Tue, 26 Nov 2013 20:47:16 +0000 (22:47 +0200)]
Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface. Original patch by Kent Frazier.
Mark Dickinson [Tue, 26 Nov 2013 20:28:29 +0000 (20:28 +0000)]
Use @bigmemtest more accurately.
Serhiy Storchaka [Tue, 26 Nov 2013 19:25:28 +0000 (21:25 +0200)]
Issue #11489: JSON decoder now accepts lone surrogates.
Mark Dickinson [Tue, 26 Nov 2013 16:19:13 +0000 (16:19 +0000)]
Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.
Serhiy Storchaka [Tue, 26 Nov 2013 15:32:16 +0000 (17:32 +0200)]
Issue #19794: Improved markup for True/False constants.
Georg Brandl [Tue, 26 Nov 2013 07:25:24 +0000 (08:25 +0100)]
Markup fix.