]>
granicus.if.org Git - python/log
Yury Selivanov [Thu, 17 Dec 2015 00:51:31 +0000 (19:51 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 00:51:19 +0000 (19:51 -0500)]
Merge 3.4
Yury Selivanov [Thu, 17 Dec 2015 00:51:09 +0000 (19:51 -0500)]
asyncio/tests: Fix some ResourceWarnings
Yury Selivanov [Thu, 17 Dec 2015 00:40:23 +0000 (19:40 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 00:40:11 +0000 (19:40 -0500)]
Merge 3.4
Yury Selivanov [Thu, 17 Dec 2015 00:40:03 +0000 (19:40 -0500)]
asyncio/tests: Fix deprecation warning
Yury Selivanov [Thu, 17 Dec 2015 00:36:01 +0000 (19:36 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 00:35:39 +0000 (19:35 -0500)]
Merge 3.4
Yury Selivanov [Thu, 17 Dec 2015 00:35:30 +0000 (19:35 -0500)]
Normalize whitespace
Yury Selivanov [Thu, 17 Dec 2015 00:31:55 +0000 (19:31 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 00:31:40 +0000 (19:31 -0500)]
Merge 3.4
Yury Selivanov [Thu, 17 Dec 2015 00:31:17 +0000 (19:31 -0500)]
asyncio: Skip getaddrinfo if host is already resolved.
getaddrinfo takes an exclusive lock on some platforms, causing clients to queue
up waiting for the lock if many names are being resolved concurrently. Users
may want to handle name resolution in their own code, for the sake of caching,
using an alternate resolver, or to measure DNS duration separately from
connection duration. Skip getaddrinfo if the "host" passed into
create_connection is already resolved.
See https://github.com/python/asyncio/pull/302 for details.
Patch by A. Jesse Jiryu Davis.
Martin Panter [Wed, 16 Dec 2015 05:04:29 +0000 (05:04 +0000)]
Issue #23788: Merge test_bad_address() cleanup from 3.5
Martin Panter [Wed, 16 Dec 2015 04:36:20 +0000 (04:36 +0000)]
Issue #23788: Merge redundant test_bad_address() into test_urllibnet
In Python 2, these were duplicated; one for urllib.urlopen() and one for
urllib2.urlopen(). The test_urllibnet version has a better precondition to
avoid false failures with bad DNS, and the test_urllib2_localnet version had
a more up-to-date comment and domain name.
Victor Stinner [Tue, 15 Dec 2015 10:29:59 +0000 (11:29 +0100)]
Issue #25868: Try to make test_eintr.test_sigwaitinfo() more reliable
especially on slow buildbots
Use a pipe to synchronize the parent and the child processes.
Raymond Hettinger [Tue, 15 Dec 2015 08:42:30 +0000 (00:42 -0800)]
Minor tweek. Counting down rather than up reduces register pressure.
Yury Selivanov [Tue, 15 Dec 2015 05:45:39 +0000 (00:45 -0500)]
Merge 3.5
Yury Selivanov [Tue, 15 Dec 2015 05:45:24 +0000 (00:45 -0500)]
docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs
Yury Selivanov [Tue, 15 Dec 2015 05:38:38 +0000 (00:38 -0500)]
Merge 3.5
Yury Selivanov [Tue, 15 Dec 2015 05:38:28 +0000 (00:38 -0500)]
docs/whatsnew/3.5: Fix ref link
Yury Selivanov [Tue, 15 Dec 2015 05:30:32 +0000 (00:30 -0500)]
Merge 3.5
Yury Selivanov [Tue, 15 Dec 2015 05:30:18 +0000 (00:30 -0500)]
whatsnew/3.5: Mention new asyncio APIs in 3.5.1
Gregory P. Smith [Mon, 14 Dec 2015 06:10:58 +0000 (22:10 -0800)]
Issue #11072: change the incorrect "deprecation" of ftplib dir() and nlst()
APIs into a note that mlsd() is a nicer API if the server supports
it. They aren't deprecated, they are all different server commands.
Not all servers support all commands.
Gregory P. Smith [Mon, 14 Dec 2015 06:10:28 +0000 (22:10 -0800)]
Issue #11072: change the incorrect "deprecation" of ftplib dir() and nlst()
APIs into a note that mlsd() is a nicer API if the server supports
it. They aren't deprecated, they are all different server commands.
Not all servers support all commands.
Gregory P. Smith [Mon, 14 Dec 2015 04:15:26 +0000 (20:15 -0800)]
* Re-fix issue #19284: Don't generate the no-op -R command line
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
* assert_python_ok docstring typo fix.
* Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
Gregory P. Smith [Mon, 14 Dec 2015 04:09:42 +0000 (20:09 -0800)]
* Re-fix issue #19284: Don't generate the no-op -R command line
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
* assert_python_ok docstring typo fix.
* Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
Gregory P. Smith [Mon, 14 Dec 2015 04:06:35 +0000 (20:06 -0800)]
merge head
Gregory P. Smith [Mon, 14 Dec 2015 04:05:55 +0000 (20:05 -0800)]
Re-fix issue #19284: Don't generate the no-op -R command line
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
Gregory P. Smith [Mon, 14 Dec 2015 04:01:44 +0000 (20:01 -0800)]
Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed
due to test_hash_randomization expecting a different seed per process.
Gregory P. Smith [Mon, 14 Dec 2015 04:00:24 +0000 (20:00 -0800)]
assert_python_ok docstring typo fix.
Raymond Hettinger [Mon, 14 Dec 2015 03:27:17 +0000 (19:27 -0800)]
Undo inadvertent line swap
Raymond Hettinger [Mon, 14 Dec 2015 02:45:01 +0000 (18:45 -0800)]
Hoist constant expressions (so->table and so->mask) out of the inner-loop.
Victor Stinner [Sun, 13 Dec 2015 23:22:10 +0000 (00:22 +0100)]
Merge 3.5
Victor Stinner [Sun, 13 Dec 2015 23:21:50 +0000 (00:21 +0100)]
Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() (new try)
R David Murray [Sun, 13 Dec 2015 23:11:07 +0000 (18:11 -0500)]
Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.
In 3.6 the parameter to control the appending of the newline was finally
added, so I dropped the historical note about why a new line was always
appended.
R David Murray [Sun, 13 Dec 2015 23:04:56 +0000 (18:04 -0500)]
Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.
R David Murray [Sun, 13 Dec 2015 23:04:27 +0000 (18:04 -0500)]
#25495: Clarify b2a_base64 documentation vis 57 bytes.
Victor Stinner [Sun, 13 Dec 2015 20:41:12 +0000 (21:41 +0100)]
(Merge 3.5) Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()
Victor Stinner [Sun, 13 Dec 2015 20:40:26 +0000 (21:40 +0100)]
Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()
Victor Stinner [Sun, 13 Dec 2015 20:26:34 +0000 (21:26 +0100)]
Merge 3.5
Victor Stinner [Sun, 13 Dec 2015 20:26:17 +0000 (21:26 +0100)]
Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory
Victor Stinner [Sun, 13 Dec 2015 20:21:36 +0000 (21:21 +0100)]
(Merge 3.5) Issue #25696: Fix installation of Python on UNIX with make -j9.
Victor Stinner [Sun, 13 Dec 2015 20:20:36 +0000 (21:20 +0100)]
Issue #25696: Fix installation of Python on UNIX with make -j9.
Vinay Sajip [Sun, 13 Dec 2015 09:45:19 +0000 (09:45 +0000)]
Fixes #25844: Merged fix from 3.5.
Vinay Sajip [Sun, 13 Dec 2015 09:44:15 +0000 (09:44 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.
Vinay Sajip [Sun, 13 Dec 2015 09:41:29 +0000 (09:41 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.
Guido van Rossum [Sun, 13 Dec 2015 01:02:15 +0000 (17:02 -0800)]
Sync asyncio with upstream git repo (conditional import in test_pep492.py). (Merge 3.5->3.6)
Guido van Rossum [Sun, 13 Dec 2015 01:01:47 +0000 (17:01 -0800)]
Sync asyncio with upstream git repo (conditional import in test_pep492.py).
Martin Panter [Sat, 12 Dec 2015 07:16:33 +0000 (07:16 +0000)]
Issue #19771: Merge runpy error adjustment from 3.5
Martin Panter [Sat, 12 Dec 2015 07:14:03 +0000 (07:14 +0000)]
Issue #25845: Merge PyLong_Check() cleanup from 3.5
Martin Panter [Sat, 12 Dec 2015 07:13:10 +0000 (07:13 +0000)]
Issue #25809: Merge French locale test from 3.5
Martin Panter [Sat, 12 Dec 2015 06:58:55 +0000 (06:58 +0000)]
Issue #19771: Omit irrelevant message if package could not be initialized
Martin Panter [Sat, 12 Dec 2015 06:57:13 +0000 (06:57 +0000)]
Issue #25845: Drop redundant checks leftover from int to long conversion
Martin Panter [Sat, 12 Dec 2015 06:53:34 +0000 (06:53 +0000)]
Issue #25809: Skip testing platform-dependent French thousands separator
Berker Peksag [Fri, 11 Dec 2015 21:48:37 +0000 (23:48 +0200)]
Issue #25755: Move PropertyWritableDoc into the test case
This fixes a test failure in refleak mode because
test_property_decorator_doc_writable no longer modifies
the class in module level.
Initial patch by Nan Wu and Torsten Landschoff (from issue 25757)
Berker Peksag [Fri, 11 Dec 2015 21:48:13 +0000 (23:48 +0200)]
Issue #25755: Move PropertyWritableDoc into the test case
This fixes a test failure in refleak mode because
test_property_decorator_doc_writable no longer modifies
the class in module level.
Initial patch by Nan Wu and Torsten Landschoff (from issue 25757)
Yury Selivanov [Fri, 11 Dec 2015 16:34:30 +0000 (11:34 -0500)]
Merge 3.5
Yury Selivanov [Fri, 11 Dec 2015 16:34:11 +0000 (11:34 -0500)]
Merge 3.4
Yury Selivanov [Fri, 11 Dec 2015 16:33:59 +0000 (11:33 -0500)]
asyncio: Make Tasks check if Futures are attached to the same event loop
See https://github.com/python/asyncio/pull/303 for details
Yury Selivanov [Fri, 11 Dec 2015 16:33:21 +0000 (11:33 -0500)]
Merge 3.5
Yury Selivanov [Fri, 11 Dec 2015 16:33:08 +0000 (11:33 -0500)]
Merge 3.4
Yury Selivanov [Fri, 11 Dec 2015 16:32:59 +0000 (11:32 -0500)]
asyncio: Sync with github
Martin Panter [Fri, 11 Dec 2015 05:42:26 +0000 (05:42 +0000)]
Issue #25764: Merge fix for root user from 3.5
Martin Panter [Fri, 11 Dec 2015 05:41:48 +0000 (05:41 +0000)]
Issue #22341: Merge CRC doc from 3.5
Martin Panter [Fri, 11 Dec 2015 05:40:14 +0000 (05:40 +0000)]
Issue #25764: Skip fork failure test when run as root
Martin Panter [Fri, 11 Dec 2015 05:19:29 +0000 (05:19 +0000)]
Issue #22341: Drop Python 2 workaround and document CRC initial value
Also align the parameter naming in binascii to be consistent with zlib.
Martin Panter [Fri, 11 Dec 2015 03:35:31 +0000 (03:35 +0000)]
Issue #14285: Merge runpy fix from 3.5
Serhiy Storchaka [Thu, 10 Dec 2015 07:51:53 +0000 (09:51 +0200)]
Issue #25638: Optimized ElementTree parsing; it is now 10% faster.
Martin Panter [Thu, 10 Dec 2015 06:47:06 +0000 (06:47 +0000)]
Issue #14285: Do not catch exceptions initializing any ancestor package
The previous fix only handled the case of the parent package of __main__
failing to initialize.
Also make the "Error while finding spec" formatting slightly more appealing,
and document and test that the module name must be absolute.
Serhiy Storchaka [Wed, 9 Dec 2015 17:45:07 +0000 (19:45 +0200)]
Fixed possible leaks in ElementTree parser.
Serhiy Storchaka [Wed, 9 Dec 2015 17:44:30 +0000 (19:44 +0200)]
Fixed possible leaks in ElementTree parser.
Serhiy Storchaka [Wed, 9 Dec 2015 09:27:34 +0000 (11:27 +0200)]
Fixed possible leak in ElementTree.Element.iter().
Serhiy Storchaka [Wed, 9 Dec 2015 09:27:07 +0000 (11:27 +0200)]
Fixed possible leak in ElementTree.Element.iter().
Zachary Ware [Wed, 9 Dec 2015 08:03:18 +0000 (02:03 -0600)]
Merge with 3.5
Zachary Ware [Wed, 9 Dec 2015 07:53:44 +0000 (01:53 -0600)]
Clarify that only *documentation* bugs should go to docs@python.org
Martin Panter [Wed, 9 Dec 2015 02:05:03 +0000 (02:05 +0000)]
Issue #25820: Merge test_gdb fixes from 3.5
Martin Panter [Tue, 8 Dec 2015 21:54:42 +0000 (21:54 +0000)]
Issue #25820: Remove unused assignment and redundant GDB CLI arguments
These were added in revision
b71cda2f48c6 .
Berker Peksag [Tue, 8 Dec 2015 10:15:19 +0000 (12:15 +0200)]
Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly
Berker Peksag [Tue, 8 Dec 2015 10:14:50 +0000 (12:14 +0200)]
Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly
Raymond Hettinger [Tue, 8 Dec 2015 04:45:16 +0000 (20:45 -0800)]
Only update the arr variable when PyObject_RichCompareBool() has been called.
Martin Panter [Tue, 8 Dec 2015 00:05:06 +0000 (00:05 +0000)]
Issue #25701: Merge set and delete documentation from 3.5
Martin Panter [Tue, 8 Dec 2015 00:03:20 +0000 (00:03 +0000)]
Issue #25701: Document C API functions that both set and delete objects
Also document that the separate functions that delete objects are preferred;
using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to
delete is deprecated.
doko@ubuntu.com [Mon, 7 Dec 2015 11:21:01 +0000 (12:21 +0100)]
merge 3.5
doko@ubuntu.com [Mon, 7 Dec 2015 11:20:44 +0000 (12:20 +0100)]
merge 3.4
doko@ubuntu.com [Mon, 7 Dec 2015 11:19:49 +0000 (12:19 +0100)]
Remove x permissions from Lib/test/test_script_helper.py
Serhiy Storchaka [Mon, 7 Dec 2015 09:32:00 +0000 (11:32 +0200)]
Issue #25761: Fixed reference leak added in previous changeset (
5c670af0100f ).
Larry Hastings [Mon, 7 Dec 2015 06:14:58 +0000 (22:14 -0800)]
Null merge from 3.5.
Larry Hastings [Mon, 7 Dec 2015 06:11:21 +0000 (22:11 -0800)]
Mostly-null merge from 3.4. (Only added the tag for 3.4.4rc1.)
Larry Hastings [Mon, 7 Dec 2015 06:00:57 +0000 (22:00 -0800)]
Merge.
Larry Hastings [Mon, 7 Dec 2015 05:58:18 +0000 (21:58 -0800)]
Merge.
Larry Hastings [Mon, 7 Dec 2015 05:54:29 +0000 (21:54 -0800)]
Post-release fixups for Python 3.4.4rc1.
Larry Hastings [Mon, 7 Dec 2015 05:53:27 +0000 (21:53 -0800)]
Post-release fixups for Python 3.5.1.
Serhiy Storchaka [Mon, 7 Dec 2015 00:31:11 +0000 (02:31 +0200)]
Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.
ElementTree.XMLParser._setevents now accepts any objects with the append
method, not just a list.
Serhiy Storchaka [Sun, 6 Dec 2015 21:55:05 +0000 (23:55 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
Serhiy Storchaka [Sun, 6 Dec 2015 21:54:28 +0000 (23:54 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
Serhiy Storchaka [Sun, 6 Dec 2015 21:51:44 +0000 (23:51 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
Serhiy Storchaka [Sun, 6 Dec 2015 20:01:35 +0000 (22:01 +0200)]
Issue #25761: Improved detecting errors in broken pickle data.
Larry Hastings [Sun, 6 Dec 2015 13:53:49 +0000 (05:53 -0800)]
Added tag v3.4.4rc1 for changeset
04f3f725896c
Larry Hastings [Sun, 6 Dec 2015 13:53:35 +0000 (05:53 -0800)]
Version bump for 3.4.4rc1.
Larry Hastings [Sun, 6 Dec 2015 13:51:56 +0000 (05:51 -0800)]
Rebuilt pydoc topics for 3.4.4rc1.