Martin Panter
8c0b5b998a
Issue #14285 : Merge runpy fix from 3.5
2015-12-11 03:35:31 +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
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
doko@ubuntu.com
5e58600c42
Remove x permissions from Lib/test/test_script_helper.py
2015-12-07 12:19:49 +01:00
Larry Hastings
d785da8fbb
Merge.
2015-12-06 22:00:57 -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
59fb6342a4
Issue #25761 : Improved detecting errors in broken pickle data.
2015-12-06 22:01:35 +02:00
Larry Hastings
8986c442cd
Rebuilt pydoc topics for 3.4.4rc1.
2015-12-06 05:51:56 -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
Zachary Ware
6dece97768
Closes #25800 : Merge with 3.5
2015-12-05 00:19:08 -06: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
Martin Panter
aa0780801c
Issue #25764 : OS X now failing on the second setrlimit() call
2015-12-05 05:42:18 +00:00
Zachary Ware
2d2af91da0
Closes #25795 : Merge with 3.5
2015-12-04 23:33:59 -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
Martin Panter
da0f2a1f52
Issue #25764 : Attempt to debug and skip OS X setrlimit() failure
2015-12-05 04:16:45 +00:00
R David Murray
154228fb61
Merge: #24903 : Remove misleading error message to fix regression.
2015-12-04 23:05:20 -05: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
07efcd5007
Issue #25764 : Merge subprocess fix from 3.5
2015-12-05 02:27:58 +00: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
65ca88e4e0
Issue #25771 : Tweak ValueError message when package isn't specified
...
for importlib.util.resolve_name() but is needed.
Thanks to Martin Panter for the bug report.
2015-12-04 15:19:42 -08:00
Guido van Rossum
ce2650fda4
Add Awaitable, AsyncIterable, AsyncIterator to typing.py. (Merge 3.5->3.6)
2015-12-03 17:32:05 -08:00
Guido van Rossum
f17c20076c
Add Awaitable, AsyncIterable, AsyncIterator to typing.py.
2015-12-03 17:31:24 -08:00
Serhiy Storchaka
3ab6c981e7
Issue #6478 : _strptime's regexp cache now is reset after changing timezone
...
with time.tzset().
2015-12-03 22:27:31 +02: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
85134706af
Issue #14285 : Merge runpy exception fix from 3.5
2015-12-03 01:36:03 +00: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
Serhiy Storchaka
7c088a9b5c
Issue #25709 : Fixed problem with in-place string concatenation and utf-8 cache.
2015-12-03 01:05:52 +02:00
Serhiy Storchaka
6648bf5661
Issue #25709 : Fixed problem with in-place string concatenation and utf-8 cache.
2015-12-03 01:04:37 +02:00
Serhiy Storchaka
e800941d66
Issue #25709 : Fixed problem with in-place string concatenation and utf-8 cache.
2015-12-03 01:02:03 +02:00
Serhiy Storchaka
7aa690860e
Issue #25709 : Fixed problem with in-place string concatenation and utf-8 cache.
2015-12-03 01:02:03 +02:00
Victor Stinner
31618c9d48
(Merge 3.5) Fix test_doctest in verbose mode
2015-12-02 14:37:35 +01:00
Victor Stinner
09a08de363
Fix test_doctest in verbose mode
2015-12-02 14:37:17 +01:00
Steven D'Aprano
b28c3275c7
Issue #25177 : Fixed problem with the mean of very small and very large numbers.
2015-12-01 19:59:53 +11:00
Steven D'Aprano
40a841bcb9
Fixed issue #25177 , problems with the mean of very small and very large numbers.
2015-12-01 17:04:32 +11:00
Steven D'Aprano
c0c00c38ad
Fix for issue #25177 with the mean of very small and very large numbers.
2015-12-01 13:48:48 +11:00
Serhiy Storchaka
723e296b3b
Removed debugging output of exception raised by __reduce__ method.
2015-12-01 00:40:50 +02:00
Serhiy Storchaka
1f23e238e8
Removed debugging output of exception raised by __reduce__ method.
2015-12-01 00:39:45 +02:00
Serhiy Storchaka
a8d83f5fc9
Removed debugging output of exception raised by __reduce__ method.
2015-12-01 00:39:25 +02:00
Serhiy Storchaka
78122c9c5d
Issue #25718 : Fixed copying object with state with boolean value is false.
2015-11-30 17:37:13 +02:00
Serhiy Storchaka
b63015b01a
Issue #25718 : Fixed copying object with state with boolean value is false.
2015-11-30 17:35:40 +02:00
Serhiy Storchaka
cbbec1c53f
Issue #25718 : Fixed copying object with state with boolean value is false.
2015-11-30 17:20:02 +02:00
Martin Panter
b4ce1fc31b
Issue #5319 : New Py_FinalizeEx() API to exit with status 120 on failure
2015-11-30 03:18:29 +00:00