]>
granicus.if.org Git - python/log
Victor Stinner [Thu, 12 Dec 2013 22:07:40 +0000 (23:07 +0100)]
Issue #19751: Fix hash_info test of test_sys on SPARC Solaris
Victor Stinner [Thu, 12 Dec 2013 22:06:07 +0000 (23:06 +0100)]
Issue #19751: Fix typo in configuration option
Stefan Krah [Thu, 12 Dec 2013 18:05:08 +0000 (19:05 +0100)]
Merge from 3.3.
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:33:27 +0000 (10:33 -0600)]
Merge fix from 3.3
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.
Victor Stinner [Thu, 12 Dec 2013 11:35:17 +0000 (12:35 +0100)]
Add a sequence diagram for the chained coroutines example
Zachary Ware [Wed, 11 Dec 2013 23:21:13 +0000 (17:21 -0600)]
Properly filter some recent additions in the Windows build files.
Zachary Ware [Wed, 11 Dec 2013 23:18:37 +0000 (17:18 -0600)]
Null merge with 3.3.
There are enough new things to make the merge harder than making the
change in VS, and there are other things to add filters for in 3.4.
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 23:01:21 +0000 (17:01 -0600)]
Issue #19828: Merge with 3.3
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:52:11 +0000 (16:52 -0500)]
#19063: fix set_payload handling of non-ASCII string input.
This version of the fix raises an error instead of accepting the invalid
input (ie: if a non-ASCII string is used but no charset is specified).
R David Murray [Wed, 11 Dec 2013 21:48:52 +0000 (16:48 -0500)]
Null merge for #19063 (3.4 fix is different).
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:26:36 +0000 (21:26 +0200)]
Issue #17576: Deprecation warning emitted now when __int__() or __index__()
return not int instance. Introduced _PyLong_FromNbInt() and refactored
PyLong_As*() functions.
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.
Eric Snow [Wed, 11 Dec 2013 05:16:41 +0000 (22:16 -0700)]
Issue #18864: Add a setter for ModuleSpec.has_location.
Gregory P. Smith [Wed, 11 Dec 2013 02:26:02 +0000 (18:26 -0800)]
null merge (3.4 doesn't need this fix)
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:32:57 +0000 (16:32 -0800)]
Issue #18270: merge from 3.3
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:18:30 +0000 (14:18 -0600)]
Issue #19928: Fix test on Windows
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:06:18 +0000 (14:06 +0200)]
#19943: merge with 3.3.
Ezio Melotti [Tue, 10 Dec 2013 12:05:46 +0000 (14:05 +0200)]
#19943: fix typo noticed by Jakub Wilk.
Serhiy Storchaka [Tue, 10 Dec 2013 11:53:56 +0000 (13:53 +0200)]
Remove commented out debugging code (remnants of issue #18996).
Nick Coghlan [Tue, 10 Dec 2013 11:31:14 +0000 (21:31 +1000)]
Issue #19407: merge PPUG notes from 3.3
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.
Victor Stinner [Tue, 10 Dec 2013 11:20:14 +0000 (12:20 +0100)]
asyncio doc: simplify task example
Victor Stinner [Tue, 10 Dec 2013 11:18:15 +0000 (12:18 +0100)]
asyncio doc: don't document Task.cancel(), already documented in Future.cancel()
Victor Stinner [Tue, 10 Dec 2013 11:14:50 +0000 (12:14 +0100)]
asyncio: document Task.current_task()
Serhiy Storchaka [Tue, 10 Dec 2013 08:21:51 +0000 (10:21 +0200)]
Issue #19928: Implemented a test for repr() of cell objects.
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:06:35 +0000 (10:06 +0200)]
Issue #19481: print() of string subclass instance in IDLE no more hangs.
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.
Eric Snow [Tue, 10 Dec 2013 03:33:33 +0000 (20:33 -0700)]
Remove commented-out module spec test code and an out-of-date note.
Eric Snow [Tue, 10 Dec 2013 02:59:10 +0000 (19:59 -0700)]
Issue 19851: Fix a regression in reloading submodules.
Victor Stinner [Tue, 10 Dec 2013 01:52:49 +0000 (02:52 +0100)]
asyncio: don't document private functions
Victor Stinner [Tue, 10 Dec 2013 01:51:05 +0000 (02:51 +0100)]
asyncio: fix 2nd task example
Victor Stinner [Tue, 10 Dec 2013 01:47:22 +0000 (02:47 +0100)]
asyncio doc: rewrite the callback hello world to use call_soon() instead of a
direct call.
Victor Stinner [Tue, 10 Dec 2013 01:09:46 +0000 (02:09 +0100)]
assyncio doc: rewrite, improve and move coroutine, Future and Task examples
Victor Stinner [Tue, 10 Dec 2013 00:20:39 +0000 (01:20 +0100)]
(Merge 3.3) Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.
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 [Mon, 9 Dec 2013 18:18:59 +0000 (19:18 +0100)]
Fix typo.
Stefan Krah [Mon, 9 Dec 2013 18:11:05 +0000 (19:11 +0100)]
Fix whitespace.
Stefan Krah [Mon, 9 Dec 2013 18:03:24 +0000 (19:03 +0100)]
Merge 3.3.
Serhiy Storchaka [Mon, 9 Dec 2013 15:45:57 +0000 (17:45 +0200)]
Issue #15475: Add __sizeof__ implementations for itertools objects.
Victor Stinner [Mon, 9 Dec 2013 12:19:23 +0000 (13:19 +0100)]
asyncio doc: explain why the loop is running twice
Victor Stinner [Mon, 9 Dec 2013 12:04:12 +0000 (13:04 +0100)]
asyncio: another Future example using add_done_callback()
Victor Stinner [Mon, 9 Dec 2013 11:40:17 +0000 (12:40 +0100)]
asyncio doc: add an example with Future
Victor Stinner [Mon, 9 Dec 2013 01:10:08 +0000 (02:10 +0100)]
Issue #19817: Fix print_exception(), clear the exception on error
Victor Stinner [Mon, 9 Dec 2013 00:59:07 +0000 (01:59 +0100)]
Backed out changeset
c4c1c4bc8086
Victor Stinner [Mon, 9 Dec 2013 00:57:14 +0000 (01:57 +0100)]
Issue #19876: Run also test_selectors.test_unregister_after_fd_close_and_reuse() on Windows
os.dup2() is available on Windows.
Victor Stinner [Mon, 9 Dec 2013 00:52:50 +0000 (01:52 +0100)]
Close #19880: Fix a reference leak in unittest.TestCase. Explicitly break
reference cycles between frames and the _Outcome instance.
Victor Stinner [Mon, 9 Dec 2013 00:15:10 +0000 (01:15 +0100)]
Fix #19830: Fix a ResourceWarning in test_poplib.
Patch written by Vajrasky Kok.
Victor Stinner [Sun, 8 Dec 2013 23:26:12 +0000 (00:26 +0100)]
(Merge 3.3) Issue #17429: Oops, remove unused import
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:14:52 +0000 (00:14 +0100)]
Issue #17429: some PEP 8 compliance fixes for the platform modules, add whitespaces
Victor Stinner [Sun, 8 Dec 2013 23:04:09 +0000 (00:04 +0100)]
(Merge 3.3) 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.
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.
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.
Gregory P. Smith [Sun, 8 Dec 2013 18:58:28 +0000 (10:58 -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.
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.
Stefan Krah [Sun, 8 Dec 2013 18:54:05 +0000 (19:54 +0100)]
Update copyright. The four year increment is intentional (to save work).
Nadeem Vawda [Sun, 8 Dec 2013 18:50:05 +0000 (19:50 +0100)]
Closes #18430: Document that peek() may change the position of the underlying
file for the BZ2File, GzipFile and LZMAFile classes.
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:16:18 +0000 (18:16 +0200)]
Issue #19535: Fixed test_docxmlrpc, test_functools, test_inspect, and
test_statistics when python is run with -OO.
Serhiy Storchaka [Sun, 8 Dec 2013 16:14:49 +0000 (18:14 +0200)]
Issue #19535: Fixed test_docxmlrpc when python is run with -OO.
doko@ubuntu.com [Sun, 8 Dec 2013 14:23:07 +0000 (15:23 +0100)]
- Issue #19736: Add module-level statvfs constants defined for GNU/glibc
based systems.
Christian Heimes [Sun, 8 Dec 2013 14:21:08 +0000 (15:21 +0100)]
Attempt to fix OpenIndiana build issue introduced by #19922
Christian Heimes [Sun, 8 Dec 2013 13:35:55 +0000 (14:35 +0100)]
Issue #19343: Expose FreeBSD-specific APIs in resource module. Original patch by Koobs.
Charles-François Natali [Sun, 8 Dec 2013 09:06:04 +0000 (10:06 +0100)]
Fix test_selectors failure introduced by
39e7995f9ad1 .
Gregory P. Smith [Sun, 8 Dec 2013 08:39:36 +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.
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:01:42 +0000 (01:01 -0600)]
Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
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:44:27 +0000 (00:44 -0600)]
Issue 19572: More silently skipped tests explicitly skipped.
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:14:59 +0000 (19:14 -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.
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.
Eric Snow [Sun, 8 Dec 2013 02:37:31 +0000 (19:37 -0700)]
Issue #19758: silence PendingDeprecationWarnings in test_importlib.
Guido van Rossum [Sun, 8 Dec 2013 00:03:36 +0000 (16:03 -0800)]
News item for issue 19876.
Guido van Rossum [Sat, 7 Dec 2013 23:57:01 +0000 (15:57 -0800)]
Silently ignore unregistering closed files. Fixes issue 19876. With docs and slight test refactor.
Christian Heimes [Sat, 7 Dec 2013 22:39:33 +0000 (23:39 +0100)]
Issue #19922: define _INCLUDE__STDC_A1_SOURCE in HP-UX to include mbstate_t
for mbrtowc().
Charles-François Natali [Sat, 7 Dec 2013 19:30:41 +0000 (20:30 +0100)]
Merge.
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.
Charles-François Natali [Sat, 7 Dec 2013 19:28:46 +0000 (20:28 +0100)]
Merge.
Charles-François Natali [Sat, 7 Dec 2013 19:27:41 +0000 (20:27 +0100)]
Issue #19857: Make sure that test_imaplib reaps server threads even in face of
error upon client disconnection.
Charles-François Natali [Sat, 7 Dec 2013 19:03:12 +0000 (20:03 +0100)]
Issue #19857: Make sure that test_imaplib reaps server threads even in face of
error upon client disconnection.
Christian Heimes [Sat, 7 Dec 2013 17:19:21 +0000 (18:19 +0100)]
Solaris needs a readable file for shared lock
Victor Stinner [Sat, 7 Dec 2013 14:02:09 +0000 (15:02 +0100)]
Remove a duplicated import
Alexandre Vassalotti [Sat, 7 Dec 2013 09:09:27 +0000 (01:09 -0800)]
Issue #6784: Strings from Python 2 can now be unpickled as bytes objects.
Initial patch by Merlijn van Deen.
I've added a few unrelated docstring fixes in the patch while I was at
it, which makes the documentation for pickle a bit more consistent.
Guido van Rossum [Sat, 7 Dec 2013 01:46:22 +0000 (17:46 -0800)]
Fix indentation of switch cases.
Benjamin Peterson [Sat, 7 Dec 2013 01:12:51 +0000 (20:12 -0500)]
merge 3.3 (#19910)
Benjamin Peterson [Sat, 7 Dec 2013 01:12:39 +0000 (20:12 -0500)]
document that compile() can take bytes (closes #19910)
Antoine Pitrou [Sat, 7 Dec 2013 00:05:57 +0000 (01:05 +0100)]
Mention pickle protocol 4, and some tweaks.