Commit Graph

92527 Commits

Author SHA1 Message Date
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
Serhiy Storchaka f2fdfe1f88 Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
2015-12-06 23:55:05 +02:00
Serhiy Storchaka 7ff276fd2e Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
2015-12-06 23:54:28 +02:00
Serhiy Storchaka 7efaf95934 Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
2015-12-06 23:51:44 +02:00
Serhiy Storchaka 59fb6342a4 Issue #25761: Improved detecting errors in broken pickle data. 2015-12-06 22:01:35 +02:00
Larry Hastings 00a86354c9 Added tag v3.4.4rc1 for changeset 04f3f725896c 2015-12-06 05:53:49 -08:00
Larry Hastings e739601a78 Version bump for 3.4.4rc1. 2015-12-06 05:53:35 -08:00
Larry Hastings 8986c442cd Rebuilt pydoc topics for 3.4.4rc1. 2015-12-06 05:51:56 -08:00
Martin Panter c68e723e6f Issue #25717: Merge comment from 3.5 2015-12-06 11:19:31 +00:00
Martin Panter 49d3db92a4 Issue #25717: Add comment explaining why errors are ignored 2015-12-06 11:12:15 +00:00
Ned Deily 7da28d29d6 Issue #25798: merge from 3.5 2015-12-05 23:57:55 -05:00
Ned Deily 8d5d4664dc Issue #25798: merge from 3.4 2015-12-05 23:55:33 -05:00
Ned Deily 6364094f49 Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
2015-12-05 23:51:23 -05:00
Martin Panter c85110658b Issue #25717: Merge fstat() fix from 3.5 2015-12-06 03:29:54 +00:00
Martin Panter 0bb62b12a3 Issue #25717: Tolerate fstat() failures in the FileIO constructor
This restores 3.4 behaviour, which was removed by revision 3b5279b5bfd1. The
fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if
the file entry has been unlinked, e.g. for a temporary file.
2015-12-06 03:15:05 +00:00
Larry Hastings 0c398ebf89 Added tag v3.5.1 for changeset 37a07cee5969 2015-12-05 17:05:33 -08:00
Larry Hastings ffccaa40fa Version bump for 3.5.1 final. 2015-12-05 17:05:23 -08:00
Larry Hastings 3e7a56a496 Updated pydoc topics for 3.5.1 final. 2015-12-05 17:03:20 -08:00
Martin Panter c4b8979a2f Issue #25764: Merge OS X test skipping from 3.4 into 3.5 2015-12-05 12:41:29 +00:00
Martin Panter 0d559cf72a Issue #25764: Remove test debugging 2015-12-05 10:18:25 +00:00
Martin Panter 1a173de212 Issue #25764: Merge OS X test skipping from 3.5 2015-12-05 12:41:41 +00:00
Martin Panter f7fdbdab5b Issue #25764: Skip the test on OS X
The OS X buildbots were failing at the second setrlimit() call with EPERM, as
if they were trying to raise the hard limit. The call should be keeping the
hard limit the same and raising the soft limit back to its original value, so
I don't understand the failure.
2015-12-05 09:51:52 +00:00
Benjamin Peterson 4be79aab2d merge 3.5 2015-12-05 00:27:40 -08:00
Benjamin Peterson 8fc7d296a2 merge 3.4 2015-12-05 00:27:33 -08:00
Benjamin Peterson e2825e9522 merge 3.3 2015-12-05 00:27:23 -08:00