Guido van Rossum
080169c494
Issue #24120 : Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri. (Merge 3.5->3.6)
2016-01-06 09:53:51 -08:00
Guido van Rossum
d54377d2ca
Issue #24120 : Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri. (Merge 3.4->3.5)
2016-01-06 09:51:42 -08:00
Guido van Rossum
6c2d33a258
Issue #24120 : Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri.
2016-01-06 09:42:07 -08:00
R David Murray
317f64f048
#21815 : violate IMAP RFC to be compatible with, e.g., gmail
...
and others, including imaplib's own behavior. I'm applying this only to 3.6
because there's a potential backward compatibility concern: if there are
servers that include ] characters in the 'text' portion of their imap
responses, this code change could introduce a new bug.
Patch by Lita Cho, reviewed by Jessica McKellar, Berker Peksag, Maciej Szulik,
silentghost, and me (I fleshed out the comments with the additional
info/concerns.)
2016-01-02 17:18:34 -05:00
R David Murray
01759d5554
Merge: #22709 : Use stdin as-is if it does not have a buffer attribute.
2016-01-02 15:43:44 -05:00
R David Murray
830207e8f3
#22709 : Use stdin as-is if it does not have a buffer attribute.
...
This restores backward compatibility lost in the fix for #21075 , and
is better duck typing.
Patch by Akira Li.
2016-01-02 15:41:41 -05:00
Gregory P. Smith
a313538381
Remove a duplicate test_addresses key:value as identified by Vincent
...
Davis reviewing code.
2016-01-01 17:42:30 -08:00
Gregory P. Smith
9ecf00e7cb
Remove a duplicate test_addresses key:value as identified by Vincent
...
Davis reviewing code.
2016-01-01 17:41:46 -08:00
Serhiy Storchaka
58f8833e4c
Make catched exception more specific and correct a comment.
2015-12-30 21:00:29 +02:00
Serhiy Storchaka
beb652ccc1
Make catched exception more specific and correct a comment.
2015-12-30 21:00:08 +02:00
Berker Peksag
a7161e7fac
Issue #25977 : Fix typos in Lib/tokenize.py
...
Patch by John Walker.
2015-12-30 01:42:43 +02:00
Berker Peksag
ff8d0873aa
Issue #25977 : Fix typos in Lib/tokenize.py
...
Patch by John Walker.
2015-12-30 01:41:58 +02:00
Serhiy Storchaka
0d250bc119
Issue #25971 : Optimized creating Fractions from floats by 2 times and from
...
Decimals by 3 times.
Unified error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(),
and Fraction constructors.
2015-12-29 22:34:23 +02:00
Benjamin Peterson
5aab44b301
merge 3.5 ( #25973 )
2015-12-29 10:08:51 -06:00
Benjamin Peterson
3cc8f4b969
make recording and reporting errors and nonlocal and global directives more robust ( closes #25973 )
2015-12-29 10:08:34 -06:00
Brett Cannon
eae3079041
Issue #25802 : Deprecate load_module() on importlib.machinery.SourceFileLoader and SourcelessFileLoader.
...
They were the only remaining implementations of load_module() not
documented as deprecated.
2015-12-28 17:55:27 -08:00
Brett Cannon
838629a1fe
Issue #25234 : Skip test_eintr.test_os_open under OS X.
...
Test inconsistently hangs.
2015-12-28 17:23:35 -08:00
Brett Cannon
3bbad12b5b
Tweak skipping message
2015-12-28 17:21:44 -08:00
Brett Cannon
b4783f4bc1
Merge
2015-12-28 17:18:21 -08:00
Brett Cannon
3c61a448f1
Issue #24725 : Skip the test_socket.testFDPassEmpty on OS X.
...
In OS X 10.11, the test fails consistently due to a platform change
since 10.10. Thanks to Jeff Ramnani for the patch.
2015-12-28 17:17:58 -08:00
Stefan Krah
150660eefd
Issue #25940 : Make buildbots usable again until a solution is found.
2015-12-29 02:15:35 +01:00
Stefan Krah
2335f44d8e
Issue #25928 : Temporarily disable some tests in test_statistics in order
...
to sort out its assumptions about the as_integer_ratio() interface.
2015-12-29 00:11:36 +01:00
Stefan Krah
e3f359c71c
Merge.
2015-12-28 23:12:52 +01:00
Stefan Krah
53f2e0ad45
Issue #25928 : Add Decimal.as_integer_ratio(). Python parts and docs by
...
Mark Dickinson.
2015-12-28 23:02:02 +01:00
Serhiy Storchaka
3f1b95b4ae
Merge heads
2015-12-29 00:01:31 +02:00
Serhiy Storchaka
e3a7d26aa6
Issue #25447 : Copying the lru_cache() wrapper object now always works,
...
independedly from the type of the wrapped object (by returning the original
object unchanged).
2015-12-28 23:59:09 +02:00
Serhiy Storchaka
e4d65e3aab
Issue #25447 : Copying the lru_cache() wrapper object now always works,
...
independedly from the type of the wrapped object (by returning the original
object unchanged).
2015-12-28 23:58:07 +02:00
Ezio Melotti
ac1e7f6983
Remove duplicate method in test_pathlib. Initial patch by Navneet Suman.
2015-12-28 23:50:19 +02:00
Brett Cannon
1e3c3e906c
Issue #25768 : Make compileall functions return booleans and document
...
the return values as well as test them.
Thanks to Nicholas Chammas for the bug report and initial patch.
2015-12-27 13:17:04 -08:00
Vinay Sajip
c1681674d4
Closes #25685 : Merged fix from 3.5.
2015-12-26 12:51:43 +00:00
Vinay Sajip
9cdfd18fc6
Closes #25685 : Made SocketHandler emission more efficient.
2015-12-26 12:48:44 +00:00
Serhiy Storchaka
f9253c96fd
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.
2015-12-25 21:05:35 +02:00
Serhiy Storchaka
f81be8aa3f
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.
2015-12-25 21:04:29 +02:00
Serhiy Storchaka
85896f72d5
Issue #25860 : Fixed test failure caused by inconsistency of os.walk() and
...
os.fwalk() parameter names.
2015-12-23 00:37:50 +02:00
Serhiy Storchaka
a17ca19d34
Issue #25860 : Fixed test failure caused by inconsistency of os.walk() and
...
os.fwalk() parameter names.
2015-12-23 00:37:34 +02:00
Serhiy Storchaka
345e78e566
Issue #25860 : os.fwalk() no longer skips remaining directories when error occurs.
...
Original patch by Samson Lee.
2015-12-23 00:09:01 +02:00
Serhiy Storchaka
0bddc9eb15
Issue #25860 : os.fwalk() no longer skips remaining directories when error occurs.
...
Original patch by Samson Lee.
2015-12-23 00:08:24 +02:00
Serhiy Storchaka
3987e26e75
Issue #25914 : Fixed and simplified OrderedDict.__sizeof__.
2015-12-22 08:22:05 +02:00
Serhiy Storchaka
0ce7a3a34c
Issue #25914 : Fixed and simplified OrderedDict.__sizeof__.
2015-12-22 08:16:18 +02:00
Serhiy Storchaka
47a9d59d51
Issue #25902 : Fixed various refcount issues in ElementTree iteration.
2015-12-21 11:11:12 +02:00
Serhiy Storchaka
66c08d90f6
Issue #25902 : Fixed various refcount issues in ElementTree iteration.
2015-12-21 11:09:48 +02:00
Larry Hastings
52d6c2c4c0
Merge.
2015-12-20 22:44:06 -08:00
Serhiy Storchaka
3182db356c
Issue #25766 : Special method __bytes__() now works in str subclasses.
2015-12-20 16:37:21 +02:00
Serhiy Storchaka
5aac3ed799
Issue #25766 : Special method __bytes__() now works in str subclasses.
2015-12-20 16:36:34 +02:00
Serhiy Storchaka
5decf0bf32
Fixed sizeof tests for dict and type (they were passed by accident).
...
Added tests for dict views iterators.
2015-12-20 11:39:47 +02:00
Serhiy Storchaka
5185597a69
Fixed sizeof tests for dict and type (they were passed by accident).
...
Added tests for dict views iterators.
2015-12-20 11:39:14 +02:00
Serhiy Storchaka
36b5b6a417
Don't create non-needed file.
2015-12-20 09:38:31 +02:00
Serhiy Storchaka
aaf69aca45
Don't create non-needed file.
2015-12-20 09:37:52 +02:00
Larry Hastings
5caf39d827
Rebuild pydoc topics for Python 3.4.4 final.
2015-12-19 19:28:52 -08:00
Serhiy Storchaka
0702d4d245
Use correct PyGC_Head size in tests for issue #25421 .
2015-12-19 22:51:00 +02:00
Serhiy Storchaka
9c297e43bf
Use correct PyGC_Head size in tests for issue #25421 .
2015-12-19 22:49:29 +02:00
Serhiy Storchaka
a9406e77fa
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.
2015-12-19 20:07:11 +02:00
Serhiy Storchaka
5c4064e8bd
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.
2015-12-19 20:05:25 +02:00
Serhiy Storchaka
a254921cd4
Issue #22227 : The TarFile iterator is reimplemented using generator.
...
This implementation is simpler that using class.
2015-12-19 09:43:14 +02:00
Terry Jan Reedy
de20bad224
Merge with 3.5
2015-12-18 15:47:28 -05:00
Terry Jan Reedy
efd7b34d7c
Merge with 3.4
2015-12-18 15:47:13 -05:00
Terry Jan Reedy
5aeadb3fba
Issue #25905 : Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.
2015-12-18 15:46:57 -05:00
Serhiy Storchaka
3fd4a735d8
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.
2015-12-18 13:10:37 +02:00
Serhiy Storchaka
225821c653
Issue #25899 : Converted non-ASCII characters in docstrings and manpage
...
to ASCII replacements. Original patch by Chris Angelico.
2015-12-18 13:05:04 +02:00
Martin Panter
afaf3544aa
Merge typo fixes from 3.5
2015-12-17 10:20:21 +00:00
Martin Panter
6f9b010242
Fix a couple of typos in code comments
2015-12-17 10:18:28 +00:00
Yury Selivanov
d4222dba18
Merge 3.5
2015-12-16 20:41:39 -05:00
Yury Selivanov
c4e27e277c
Merge 3.4
2015-12-16 20:41:25 -05:00
Yury Selivanov
ea4ce1c776
asyncio/tests: Fix a ResourceWarning due to unclosed loop
2015-12-16 20:41:11 -05:00
Yury Selivanov
29832bb19d
Merge 3.5
2015-12-16 20:23:47 -05:00
Yury Selivanov
152c408ed6
Merge 3.4
2015-12-16 20:23:37 -05:00
Yury Selivanov
3cd863c86e
asyncio/tests: Fix ResourceWarnings related to unclosed transports
2015-12-16 20:23:26 -05:00
Yury Selivanov
9f79a705ab
Merge 3.5
2015-12-16 19:51:31 -05:00
Yury Selivanov
bcf8afd015
Merge 3.4
2015-12-16 19:51:19 -05:00
Yury Selivanov
5f68ca66bf
asyncio/tests: Fix some ResourceWarnings
2015-12-16 19:51:09 -05:00
Yury Selivanov
94a35cc4f8
Merge 3.5
2015-12-16 19:40:23 -05:00
Yury Selivanov
e277a3dc51
Merge 3.4
2015-12-16 19:40:11 -05:00
Yury Selivanov
aa78adc589
asyncio/tests: Fix deprecation warning
2015-12-16 19:40:03 -05:00
Yury Selivanov
88aa2dc1ac
Merge 3.5
2015-12-16 19:36:01 -05:00
Yury Selivanov
a3f82bad16
Merge 3.4
2015-12-16 19:35:39 -05:00
Yury Selivanov
ec45226eeb
Normalize whitespace
2015-12-16 19:35:30 -05:00
Yury Selivanov
1215227d1f
Merge 3.5
2015-12-16 19:31:55 -05:00
Yury Selivanov
631546cf92
Merge 3.4
2015-12-16 19:31:40 -05:00
Yury Selivanov
d5c2a62100
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.
2015-12-16 19:31:17 -05:00
Martin Panter
5d120e9522
Issue #23788 : Merge test_bad_address() cleanup from 3.5
2015-12-16 05:04:29 +00:00
Martin Panter
a7f9933efa
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.
2015-12-16 04:36:20 +00:00
Victor Stinner
129a414490
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.
2015-12-15 11:29:59 +01:00
Gregory P. Smith
fcbdf9906b
* Re-fix issue #19284 : Don't generate the no-op -R command line
...
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
* assert_python_ok docstring typo fix.
* Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
2015-12-13 20:15:26 -08:00
Gregory P. Smith
6edadfc9ca
* Re-fix issue #19284 : Don't generate the no-op -R command line
...
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
* assert_python_ok docstring typo fix.
* Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
2015-12-13 20:09:42 -08:00
Gregory P. Smith
0212c4dc6b
Re-fix issue #19284 : Don't generate the no-op -R command line
...
parameter to "enable" the always on sys.flags.hash_randomization
in _args_from_interpreter_flags() used by multiprocessing and
some unittests. This simplifies the code.
2015-12-13 20:05:55 -08:00
Gregory P. Smith
220ba72c20
Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed
...
due to test_hash_randomization expecting a different seed per process.
2015-12-13 20:01:44 -08:00
Gregory P. Smith
4cb6d37d1d
assert_python_ok docstring typo fix.
2015-12-13 20:00:24 -08: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
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
ce70132bc4
Issue #25809 : Skip testing platform-dependent French thousands separator
2015-12-12 06:53:34 +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
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