Commit Graph

91624 Commits

Author SHA1 Message Date
Yury Selivanov dddc781998 asyncio: Sync with github 2015-12-11 11:32:59 -05: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 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 a29eb08fb9 Fixed possible leaks in ElementTree parser. 2015-12-09 19:44:30 +02:00
Serhiy Storchaka d6a69d8ccb Fixed possible leak in ElementTree.Element.iter(). 2015-12-09 11:27:07 +02: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 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 6e9d2e687b Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly 2015-12-08 12:14:50 +02: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 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
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 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
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 49d3db92a4 Issue #25717: Add comment explaining why errors are ignored 2015-12-06 11:12:15 +00: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 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 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 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
Benjamin Peterson 14b2c82855 fix reordering 2015-12-05 00:27:11 -08:00
Benjamin Peterson c98bbd5289 merge 3.4 2015-12-05 00:24:01 -08:00
Benjamin Peterson 68524e1984 merge 3.3 2015-12-05 00:23:11 -08:00
Benjamin Peterson 2deaea3119 merge 3.2 2015-12-05 00:21:12 -08:00
Benjamin Peterson 5e621176c4 add CVE and issue number 2015-12-05 00:17:57 -08:00
Zachary Ware 2356069d94 Issue #25800: Merge with 3.4 2015-12-05 00:18:29 -06:00
Zachary Ware 6d8a260845 Issue #25800: Fix running test_capi directly 2015-12-05 00:16:55 -06:00
Zachary Ware ac28b796d8 Issue #25795: Fix several tests to run independently.
These were broken in 3aec776fc796 when they were converted
away from using support.run_unittest().  Oops :)

Initial patch by Felippe da Motta Raposo.
2015-12-04 23:32:23 -06:00
R David Murray 939614c48c Merge: #24903: Remove misleading error message to fix regression. 2015-12-04 23:04:37 -05:00
R David Murray ced699b4c7 #24903: Remove misleading error message to fix regression.
Before the argparse conversion, compileall would (sometimes) accept multiple
paths when -d was specified.  Afterward, it does not.  The corresponding check
in the original code claimed to prevent multiple *directories* from being
specified...but it didn't really work even to do that.  So this patch fixes
the regression by invoking the consenting adults rule: if you specify a
combination of arguments to compileall that produces files with inconsistent
destdirs (which you could do before), it is on you.

Patch by Jake Garver.
2015-12-04 22:54:38 -05:00
Martin Panter 6a77c2d978 Issue #25764: Merge subprocess fix from 3.4 into 3.5 2015-12-05 02:03:42 +00:00
Brett Cannon ccddbb186b Issue #23936: Clarify what finders are.
Thanks to Raúl Cumplido for the bug report and Thomas Kluyver for the
patch.
2015-12-04 15:46:21 -08:00
Brett Cannon f4f25fe576 Issue #25500: Fix the language reference to not claim that import
statements search for __import__ in the global scope.

Thanks to Sergei Lebedev for finding the documentation bug.
2015-12-04 14:51:26 -08:00
Guido van Rossum f17c20076c Add Awaitable, AsyncIterable, AsyncIterator to typing.py. 2015-12-03 17:31:24 -08:00
Serhiy Storchaka b1f64e7d29 Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
2015-12-03 22:26:36 +02:00
Serhiy Storchaka c7217d7c22 Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
2015-12-03 22:21:07 +02:00
Martin Panter 657257edb6 Issue #14285: Do not catch __init__.py exceptions in runpy
Initialize package before calling find_spec() for __main__, so that we do not
incorrectly handle exceptions from __init__.py. When runpy is used from the
Python CLI, use an internal exception rather than ImportError, to avoid
catching unexpected exceptions.

Also remove exception message rewriting in _run_module_as_main(), because it
seems to be redundant with the _get_main_module_details() function.
2015-12-03 01:23:10 +00:00