Commit Graph

92451 Commits

Author SHA1 Message Date
Vinay Sajip 67dbd0d73c Fixes #25844: Merged fix from 3.5. 2015-12-13 09:45:19 +00:00
Vinay Sajip a1d6f39997 Fixes #25844: Corrected =/== typo potentially leading to crash in launcher. 2015-12-13 09:44:15 +00:00
Vinay Sajip abeb6479bd Fixes #25844: Corrected =/== typo potentially leading to crash in launcher. 2015-12-13 09:41:29 +00:00
Guido van Rossum 707244736a Sync asyncio with upstream git repo (conditional import in test_pep492.py). (Merge 3.5->3.6) 2015-12-12 17:02:15 -08:00
Guido van Rossum 1a316e82f6 Sync asyncio with upstream git repo (conditional import in test_pep492.py). 2015-12-12 17:01:47 -08:00
Martin Panter 33d8a1b426 Issue #19771: Merge runpy error adjustment from 3.5 2015-12-12 07:16:33 +00:00
Martin Panter ad587f96a3 Issue #25845: Merge PyLong_Check() cleanup from 3.5 2015-12-12 07:14:03 +00:00
Martin Panter 58ea9104fb Issue #25809: Merge French locale test from 3.5 2015-12-12 07:13:10 +00:00
Martin Panter dda584340e Issue #19771: Omit irrelevant message if package could not be initialized 2015-12-12 06:58:55 +00:00
Martin Panter f0c0318cdc Issue #25845: Drop redundant checks leftover from int to long conversion 2015-12-12 06:57:13 +00:00
Martin Panter 6a109365ec Issue #25809: Skip testing platform-dependent French thousands separator 2015-12-12 06:53:34 +00:00
Berker Peksag e0ad1e191a 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)
2015-12-11 23:48:37 +02:00
Berker Peksag a7d81270cc 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)
2015-12-11 23:48:13 +02:00
Yury Selivanov 8bb6fa85e1 Merge 3.5 2015-12-11 11:34:30 -05:00
Yury Selivanov d3ded40a53 Merge 3.4 2015-12-11 11:34:11 -05:00
Yury Selivanov 0ac3a0cd79 asyncio: Make Tasks check if Futures are attached to the same event loop
See https://github.com/python/asyncio/pull/303 for details
2015-12-11 11:33:59 -05:00
Yury Selivanov 0f8475a008 Merge 3.5 2015-12-11 11:33:21 -05:00
Yury Selivanov 7888e67027 Merge 3.4 2015-12-11 11:33:08 -05:00
Yury Selivanov dddc781998 asyncio: Sync with github 2015-12-11 11:32:59 -05:00
Martin Panter aa5dcd893c Issue #25764: Merge fix for root user from 3.5 2015-12-11 05:42:26 +00:00
Martin Panter 70fe09bc67 Issue #22341: Merge CRC doc from 3.5 2015-12-11 05:41:48 +00:00
Martin Panter 5cf791b035 Issue #25764: Skip fork failure test when run as root 2015-12-11 05:40:14 +00:00
Martin Panter b82032f935 Issue #22341: Drop Python 2 workaround and document CRC initial value
Also align the parameter naming in binascii to be consistent with zlib.
2015-12-11 05:19:29 +00:00
Martin Panter 8c0b5b998a Issue #14285: Merge runpy fix from 3.5 2015-12-11 03:35:31 +00:00
Serhiy Storchaka 36ff997988 Issue #25638: Optimized ElementTree parsing; it is now 10% faster. 2015-12-10 09:51:53 +02:00
Martin Panter 7dda421bff 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.
2015-12-10 06:47:06 +00:00
Serhiy Storchaka 956244bee1 Fixed possible leaks in ElementTree parser. 2015-12-09 19:45:07 +02:00
Serhiy Storchaka a29eb08fb9 Fixed possible leaks in ElementTree parser. 2015-12-09 19:44:30 +02:00
Serhiy Storchaka 9fcbdf480e Fixed possible leak in ElementTree.Element.iter(). 2015-12-09 11:27:34 +02:00
Serhiy Storchaka d6a69d8ccb Fixed possible leak in ElementTree.Element.iter(). 2015-12-09 11:27:07 +02:00
Zachary Ware e0ffe17e72 Merge with 3.5 2015-12-09 02:03:18 -06:00
Zachary Ware 3181feb601 Clarify that only *documentation* bugs should go to docs@python.org 2015-12-09 01:53:44 -06:00
Martin Panter 747029afdc Issue #25820: Merge test_gdb fixes from 3.5 2015-12-09 02:05:03 +00:00
Martin Panter 40e102c193 Issue #25820: Remove unused assignment and redundant GDB CLI arguments
These were added in revision b71cda2f48c6.
2015-12-08 21:54:42 +00:00
Berker Peksag 2e7fca8e48 Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly 2015-12-08 12:15:19 +02:00
Berker Peksag 6e9d2e687b Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly 2015-12-08 12:14:50 +02:00
Raymond Hettinger 2300bf29e6 Only update the arr variable when PyObject_RichCompareBool() has been called. 2015-12-07 20:45:16 -08:00
Martin Panter e7ceef66dd Issue #25701: Merge set and delete documentation from 3.5 2015-12-08 00:05:06 +00:00
Martin Panter 45be8d67be 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.
2015-12-08 00:03:20 +00:00
doko@ubuntu.com 3a0380fb11 merge 3.5 2015-12-07 12:21:01 +01:00
doko@ubuntu.com f17468961f merge 3.4 2015-12-07 12:20:44 +01:00
doko@ubuntu.com 5e58600c42 Remove x permissions from Lib/test/test_script_helper.py 2015-12-07 12:19:49 +01:00
Serhiy Storchaka 3ac5380d24 Issue #25761: Fixed reference leak added in previous changeset (5c670af0100f). 2015-12-07 11:32:00 +02:00
Larry Hastings ef3a67682b Null merge from 3.5. 2015-12-06 22:14:58 -08:00
Larry Hastings f78d851804 Mostly-null merge from 3.4. (Only added the tag for 3.4.4rc1.) 2015-12-06 22:11:21 -08:00
Larry Hastings d785da8fbb Merge. 2015-12-06 22:00:57 -08:00
Larry Hastings f9c88ec3c7 Merge. 2015-12-06 21:58:18 -08:00
Larry Hastings 13cf4904b2 Post-release fixups for Python 3.4.4rc1. 2015-12-06 21:54:29 -08:00
Larry Hastings 0c6ffabc5b Post-release fixups for Python 3.5.1. 2015-12-06 21:53:27 -08:00
Serhiy Storchaka 9ec5e25f26 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.
2015-12-07 02:31:11 +02:00