]>
granicus.if.org Git - python/log
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.
Antoine Pitrou [Fri, 6 Dec 2013 23:57:44 +0000 (00:57 +0100)]
Issue #19900: improve generalities at the start of the pickle module doc
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
Christian Heimes [Fri, 6 Dec 2013 23:14:55 +0000 (00:14 +0100)]
copy 'n paste typo (thx Antoine)
Christian Heimes [Fri, 6 Dec 2013 23:09:45 +0000 (00:09 +0100)]
Skip new SSL tests with IocpEventLoop
Christian Heimes [Fri, 6 Dec 2013 22:43:50 +0000 (23:43 +0100)]
Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded.
This silences the pre-processor warning '_POSIX_C_SOURCE redefined'.
Guido van Rossum [Fri, 6 Dec 2013 20:57:40 +0000 (12:57 -0800)]
asyncio: Add Task.current_task() class method.
Brett Cannon [Fri, 6 Dec 2013 19:25:01 +0000 (14:25 -0500)]
Issue #19712: Update test.test_importlib.source for PEP 451
Brett Cannon [Fri, 6 Dec 2013 17:07:25 +0000 (12:07 -0500)]
Issue #19712: Update test.test_importlib.import_ to test/use PEP 451
where appropriate.
Serhiy Storchaka [Fri, 6 Dec 2013 15:25:51 +0000 (17:25 +0200)]
Test same drive in different cases (issue #19908).
Serhiy Storchaka [Fri, 6 Dec 2013 15:14:12 +0000 (17:14 +0200)]
Issue #19908: pathlib now joins relative Windows paths correctly when a drive
is present. Original patch by Antoine Pitrou.
Vinay Sajip [Fri, 6 Dec 2013 11:23:08 +0000 (11:23 +0000)]
Merged minor documentation update from 3.3.
Vinay Sajip [Fri, 6 Dec 2013 11:22:24 +0000 (11:22 +0000)]
Added minor clarification in logging HOWTO.
Alexandre Vassalotti [Fri, 6 Dec 2013 03:29:32 +0000 (19:29 -0800)]
Issue #19881: Fix bad pickling of large bytes in cpickle.
Christian Heimes [Fri, 6 Dec 2013 01:58:23 +0000 (02:58 +0100)]
fix cert names for asyncio test
Christian Heimes [Thu, 5 Dec 2013 23:23:13 +0000 (00:23 +0100)]
Issue #19509: Finish implementation of check_hostname
The new asyncio package now supports the new feature and comes with additional tests for SSL.
Christian Heimes [Thu, 5 Dec 2013 23:20:00 +0000 (00:20 +0100)]
Issue #19296: Silence compiler warning in dbm_open.
Some dbm header files declare the first argument as char * instead of a const char *.
Antoine Pitrou [Thu, 5 Dec 2013 22:48:10 +0000 (23:48 +0100)]
Issue #18840: Introduce the json module in the tutorial, and deemphasize the pickle module.
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.
Charles-François Natali [Thu, 5 Dec 2013 21:47:19 +0000 (22:47 +0100)]
Issue #19850: asyncio: Set SA_RESTART when registering a signal handler to
limit EINTR occurrences.
Christian Heimes [Thu, 5 Dec 2013 15:13:03 +0000 (16:13 +0100)]
Add simple test for fcntl.flock()
Christian Heimes [Thu, 5 Dec 2013 12:56:56 +0000 (13:56 +0100)]
Test syslog.openlog() without args to test syslog_get_argv()
Christian Heimes [Thu, 5 Dec 2013 06:53:38 +0000 (07:53 +0100)]
normalize white space
Christian Heimes [Thu, 5 Dec 2013 06:51:17 +0000 (07:51 +0100)]
Issue 19509: Don't call match_hostname() twice in http.client.
Christian Heimes [Thu, 5 Dec 2013 06:45:36 +0000 (07:45 +0100)]
Add a script similar to xmltests.py to run all SSL-related unit tests
Christian Heimes [Thu, 5 Dec 2013 06:41:08 +0000 (07:41 +0100)]
Test SSLSock's context getter and setter
Christian Heimes [Thu, 5 Dec 2013 06:40:29 +0000 (07:40 +0100)]
touch _lsprof's clear() method for C code coverage
Christian Heimes [Thu, 5 Dec 2013 06:38:13 +0000 (07:38 +0100)]
exclude _hashopenssl.c:_setException() from LCOV coverage
Nadeem Vawda [Wed, 4 Dec 2013 22:29:51 +0000 (23:29 +0100)]
Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF.
Also fix an analogous bug (not a regression) in the lzma 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:15:24 +0000 (21:15 +0100)]
Merge socket doc changes from 3.3
Guido van Rossum [Wed, 4 Dec 2013 20:12:07 +0000 (12:12 -0800)]
asyncio: Write flow control for proactor event loop.
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()
Guido van Rossum [Wed, 4 Dec 2013 19:50:09 +0000 (11:50 -0800)]
Fix broken docstring continuation line for detach().
Christian Heimes [Wed, 4 Dec 2013 19:46:20 +0000 (20:46 +0100)]
Issue #19509: Don't close the socket in do_handshake() when hostname verification fails.
Victor Stinner [Wed, 4 Dec 2013 10:16:17 +0000 (11:16 +0100)]
asyncio doc: add some notes on the ping example