]>
granicus.if.org Git - python/log
Serhiy Storchaka [Fri, 18 Dec 2015 17:37:02 +0000 (19:37 +0200)]
Fixed markup and spaces in Misc/NEWS.
Serhiy Storchaka [Fri, 18 Dec 2015 17:36:24 +0000 (19:36 +0200)]
Fixed markup and spaces in Misc/NEWS.
Serhiy Storchaka [Fri, 18 Dec 2015 11:23:33 +0000 (13:23 +0200)]
Issue #25899: Converted Objects/listsort.txt to UTF-8.
Original patch by Chris Angelico.
Serhiy Storchaka [Fri, 18 Dec 2015 11:13:29 +0000 (13:13 +0200)]
Issue #25899: Fixed typo in .bzrignore.
Serhiy Storchaka [Fri, 18 Dec 2015 11:12:33 +0000 (13:12 +0200)]
Issue #25899: Fixed typo in .bzrignore.
Serhiy Storchaka [Fri, 18 Dec 2015 11:10:37 +0000 (13:10 +0200)]
Issue #25899: Converted non-ASCII characters in docstrings and manpage
to ASCII replacements. Removed UTF-8 BOM from Misc/NEWS.
Original patch by Chris Angelico.
Serhiy Storchaka [Fri, 18 Dec 2015 11:05:04 +0000 (13:05 +0200)]
Issue #25899: Converted non-ASCII characters in docstrings and manpage
to ASCII replacements. Original patch by Chris Angelico.
Serhiy Storchaka [Fri, 18 Dec 2015 08:23:29 +0000 (10:23 +0200)]
Test UTF-32LE before UTF-16LE since UTF-16LE BOM is a prefix of UTF-32LE BOM.
Serhiy Storchaka [Fri, 18 Dec 2015 08:23:09 +0000 (10:23 +0200)]
Test UTF-32LE before UTF-16LE since UTF-16LE BOM is a prefix of UTF-32LE BOM.
Serhiy Storchaka [Fri, 18 Dec 2015 08:19:30 +0000 (10:19 +0200)]
Issue #25889: Got rid of warning about mixing signed/unsigned char pointers.
Serhiy Storchaka [Fri, 18 Dec 2015 08:06:58 +0000 (10:06 +0200)]
Issue #25890: Removed yet one unused variable.
Serhiy Storchaka [Fri, 18 Dec 2015 08:03:13 +0000 (10:03 +0200)]
Issues #25890, #25891, #25892: Removed unused variables in Windows code.
Reported by Alexander Riccio.
Serhiy Storchaka [Fri, 18 Dec 2015 07:54:59 +0000 (09:54 +0200)]
Issue #25893: Removed unused variable reqdSize.
Added test for return code for the last RegQueryValueExW.
Serhiy Storchaka [Fri, 18 Dec 2015 07:54:19 +0000 (09:54 +0200)]
Issue #25893: Removed unused variable reqdSize.
Added test for return code for the last RegQueryValueExW.
Yury Selivanov [Thu, 17 Dec 2015 23:26:53 +0000 (18:26 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 23:26:41 +0000 (18:26 -0500)]
docs: Document ASYNC/AWAIT tokens (issue #25580)
Initial patch by SilentGhost
Martin Panter [Thu, 17 Dec 2015 10:35:05 +0000 (10:35 +0000)]
Merge from 3.5
Martin Panter [Thu, 17 Dec 2015 10:34:44 +0000 (10:34 +0000)]
Merge 3.4 into 3.5
Martin Panter [Thu, 17 Dec 2015 10:20:21 +0000 (10:20 +0000)]
Merge typo fixes from 3.5
Martin Panter [Thu, 17 Dec 2015 10:18:28 +0000 (10:18 +0000)]
Fix a couple of typos in code comments
Yury Selivanov [Thu, 17 Dec 2015 02:31:15 +0000 (21:31 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 02:31:04 +0000 (21:31 -0500)]
Merge 3.4
Yury Selivanov [Thu, 17 Dec 2015 02:30:52 +0000 (21:30 -0500)]
docs/asyncio: Twek sections names per Nick Coghlan suggestion
Yury Selivanov [Thu, 17 Dec 2015 01:41:39 +0000 (20:41 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 01:41:25 +0000 (20:41 -0500)]
Merge 3.4
Yury Selivanov [Thu, 17 Dec 2015 01:41:11 +0000 (20:41 -0500)]
asyncio/tests: Fix a ResourceWarning due to unclosed loop
Yury Selivanov [Thu, 17 Dec 2015 01:23:47 +0000 (20:23 -0500)]
Merge 3.5
Yury Selivanov [Thu, 17 Dec 2015 01:23:37 +0000 (20:23 -0500)]
Merge 3.4
Yury Selivanov [Thu, 17 Dec 2015 01:23:26 +0000 (20:23 -0500)]
asyncio/tests: Fix ResourceWarnings related to unclosed transports
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
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.