]>
granicus.if.org Git - python/log
Serhiy Storchaka [Sun, 27 Dec 2015 13:51:32 +0000 (15:51 +0200)]
Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.
Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner.
This patch doesn't fix bugs and hence there is no need to backport it.
Serhiy Storchaka [Sun, 27 Dec 2015 13:44:33 +0000 (15:44 +0200)]
Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
Serhiy Storchaka [Sun, 27 Dec 2015 13:41:34 +0000 (15:41 +0200)]
Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
Serhiy Storchaka [Sun, 27 Dec 2015 10:38:28 +0000 (12:38 +0200)]
Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
Serhiy Storchaka [Sun, 27 Dec 2015 10:36:18 +0000 (12:36 +0200)]
Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
Vinay Sajip [Sat, 26 Dec 2015 13:11:38 +0000 (13:11 +0000)]
Closes #25360: Merged fix from 3.5.
Vinay Sajip [Sat, 26 Dec 2015 13:10:51 +0000 (13:10 +0000)]
Fixes #25360: Search for pythonw.exe when in pyw.exe.
Vinay Sajip [Sat, 26 Dec 2015 12:51:43 +0000 (12:51 +0000)]
Closes #25685: Merged fix from 3.5.
Vinay Sajip [Sat, 26 Dec 2015 12:48:44 +0000 (12:48 +0000)]
Closes #25685: Made SocketHandler emission more efficient.
Vinay Sajip [Sat, 26 Dec 2015 12:35:47 +0000 (12:35 +0000)]
Closes #25789: Improved buffering behaviour in launcher.
Serhiy Storchaka [Fri, 25 Dec 2015 19:05:35 +0000 (21:05 +0200)]
Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
Serhiy Storchaka [Fri, 25 Dec 2015 19:04:29 +0000 (21:04 +0200)]
Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
Serhiy Storchaka [Fri, 25 Dec 2015 18:01:53 +0000 (20:01 +0200)]
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Serhiy Storchaka [Fri, 25 Dec 2015 17:53:18 +0000 (19:53 +0200)]
Issue #25923: Added the const qualifier to static constant arrays.
Serhiy Storchaka [Thu, 24 Dec 2015 09:53:16 +0000 (11:53 +0200)]
Issue #24103: Fixed possible use after free in ElementTree.XMLPullParser.
Serhiy Storchaka [Thu, 24 Dec 2015 09:51:57 +0000 (11:51 +0200)]
Issue #24103: Fixed possible use after free in ElementTree.XMLPullParser.
Serhiy Storchaka [Thu, 24 Dec 2015 08:39:57 +0000 (10:39 +0200)]
Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
Serhiy Storchaka [Thu, 24 Dec 2015 08:35:59 +0000 (10:35 +0200)]
Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
R David Murray [Thu, 24 Dec 2015 02:19:53 +0000 (21:19 -0500)]
Merge: #
1753718 : clarify RFC compliance and bytes/string argument types.
R David Murray [Thu, 24 Dec 2015 02:17:17 +0000 (21:17 -0500)]
#
1753718 : clarify RFC compliance and bytes/string argument types.
Patch includes contributions by Isobel Hooper, incorporating suggestions from
Paul Winkler. Reviewed by Martin Panter.
In addition to accepting the corrections for the RFC compliance wording, I
went through and corrected all the argument and return types, and made the
pattern of how the arguments and return types are documented consistent.
So, this patch also addresses #20782, though I had forgotten about that issue
and its patch.
Serhiy Storchaka [Tue, 22 Dec 2015 22:37:50 +0000 (00:37 +0200)]
Issue #25860: Fixed test failure caused by inconsistency of os.walk() and
os.fwalk() parameter names.
Serhiy Storchaka [Tue, 22 Dec 2015 22:37:34 +0000 (00:37 +0200)]
Issue #25860: Fixed test failure caused by inconsistency of os.walk() and
os.fwalk() parameter names.
Serhiy Storchaka [Tue, 22 Dec 2015 22:09:01 +0000 (00:09 +0200)]
Issue #25860: os.fwalk() no longer skips remaining directories when error occurs.
Original patch by Samson Lee.
Serhiy Storchaka [Tue, 22 Dec 2015 22:08:24 +0000 (00:08 +0200)]
Issue #25860: os.fwalk() no longer skips remaining directories when error occurs.
Original patch by Samson Lee.
Serhiy Storchaka [Tue, 22 Dec 2015 06:22:05 +0000 (08:22 +0200)]
Issue #25914: Fixed and simplified OrderedDict.__sizeof__.
Serhiy Storchaka [Tue, 22 Dec 2015 06:16:18 +0000 (08:16 +0200)]
Issue #25914: Fixed and simplified OrderedDict.__sizeof__.
Zachary Ware [Mon, 21 Dec 2015 20:17:12 +0000 (14:17 -0600)]
Issue #25827: Merge with 3.5
Zachary Ware [Mon, 21 Dec 2015 18:09:17 +0000 (12:09 -0600)]
Issue #25827: Add support for ICC to configure
Serhiy Storchaka [Mon, 21 Dec 2015 10:57:27 +0000 (12:57 +0200)]
Issue #25869: Optimized deepcopying ElementTree; it is now 20 times faster.
Serhiy Storchaka [Mon, 21 Dec 2015 10:43:54 +0000 (12:43 +0200)]
Issue #25873: Optimized iterating ElementTree.
Iterating elements Element.iter() is now 40% faster,
iterating text Element.itertext() is now up to 2.5 times faster.
Serhiy Storchaka [Mon, 21 Dec 2015 09:11:12 +0000 (11:11 +0200)]
Issue #25902: Fixed various refcount issues in ElementTree iteration.
Serhiy Storchaka [Mon, 21 Dec 2015 09:09:48 +0000 (11:09 +0200)]
Issue #25902: Fixed various refcount issues in ElementTree iteration.
Larry Hastings [Mon, 21 Dec 2015 06:47:04 +0000 (22:47 -0800)]
Merge from 3.5 to default.
Larry Hastings [Mon, 21 Dec 2015 06:46:30 +0000 (22:46 -0800)]
Merge 3.4.4 from 3.4 to 3.5.
Larry Hastings [Mon, 21 Dec 2015 06:44:06 +0000 (22:44 -0800)]
Merge.
Larry Hastings [Mon, 21 Dec 2015 06:42:47 +0000 (22:42 -0800)]
Post-release touchups for Python 3.4.4 final.
Serhiy Storchaka [Sun, 20 Dec 2015 14:37:21 +0000 (16:37 +0200)]
Issue #25766: Special method __bytes__() now works in str subclasses.
Serhiy Storchaka [Sun, 20 Dec 2015 14:36:34 +0000 (16:36 +0200)]
Issue #25766: Special method __bytes__() now works in str subclasses.
Serhiy Storchaka [Sun, 20 Dec 2015 09:39:47 +0000 (11:39 +0200)]
Fixed sizeof tests for dict and type (they were passed by accident).
Added tests for dict views iterators.
Serhiy Storchaka [Sun, 20 Dec 2015 09:39:14 +0000 (11:39 +0200)]
Fixed sizeof tests for dict and type (they were passed by accident).
Added tests for dict views iterators.
Serhiy Storchaka [Sun, 20 Dec 2015 07:38:31 +0000 (09:38 +0200)]
Don't create non-needed file.
Serhiy Storchaka [Sun, 20 Dec 2015 07:37:52 +0000 (09:37 +0200)]
Don't create non-needed file.
Larry Hastings [Sun, 20 Dec 2015 03:31:20 +0000 (19:31 -0800)]
Added tag v3.4.4 for changeset
737efcadf5a6
Larry Hastings [Sun, 20 Dec 2015 03:31:10 +0000 (19:31 -0800)]
Release bump for Python 3.4.4 final.
Larry Hastings [Sun, 20 Dec 2015 03:28:52 +0000 (19:28 -0800)]
Rebuild pydoc topics for Python 3.4.4 final.
Serhiy Storchaka [Sat, 19 Dec 2015 20:51:00 +0000 (22:51 +0200)]
Use correct PyGC_Head size in tests for issue #25421.
Serhiy Storchaka [Sat, 19 Dec 2015 20:49:29 +0000 (22:49 +0200)]
Use correct PyGC_Head size in tests for issue #25421.
Serhiy Storchaka [Sat, 19 Dec 2015 18:07:11 +0000 (20:07 +0200)]
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
Serhiy Storchaka [Sat, 19 Dec 2015 18:05:25 +0000 (20:05 +0200)]
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
Serhiy Storchaka [Sat, 19 Dec 2015 07:43:14 +0000 (09:43 +0200)]
Issue #22227: The TarFile iterator is reimplemented using generator.
This implementation is simpler that using class.
Terry Jan Reedy [Fri, 18 Dec 2015 20:47:28 +0000 (15:47 -0500)]
Merge with 3.5
Terry Jan Reedy [Fri, 18 Dec 2015 20:47:13 +0000 (15:47 -0500)]
Merge with 3.4
Terry Jan Reedy [Fri, 18 Dec 2015 20:46:57 +0000 (15:46 -0500)]
Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.
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