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
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
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
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
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
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
Serhiy Storchaka
59fb6342a4
Issue #25761 : Improved detecting errors in broken pickle data.
2015-12-06 22:01:35 +02: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
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
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
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
Martin Panter
afdd51343c
Issue #25764 : Preserve subprocess fork exception when preexec_fn used
...
Also fix handling of failure to release the import lock.
2015-11-30 02:21:41 +00:00
Serhiy Storchaka
92d5fbaf8f
Issue #25761 : Added more test cases for testing unpickling broken data.
...
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:14:00 +02:00
Serhiy Storchaka
3c49710e9f
Issue #25761 : Added more test cases for testing unpickling broken data.
...
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:13:24 +02:00
Serhiy Storchaka
7279befccb
Issue #25761 : Added more test cases for testing unpickling broken data.
...
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:12:10 +02:00
Martin Panter
40062a1127
Issue #25754 : Allow test_rlcompleter to be run multiple times
2015-11-28 22:38:24 +00:00
R David Murray
4f09806e66
#25485 : Add context manager support to Telnet class.
...
Patch by Stéphane Wirtel.
2015-11-28 12:24:52 -05:00
Serhiy Storchaka
37f5421954
Issue #10131 : Fixed deep copying of minidom documents. Based on patch
...
by Marian Ganisin.
2015-11-26 23:52:34 +02:00
Serhiy Storchaka
15f070f845
Issue #10131 : Fixed deep copying of minidom documents. Based on patch
...
by Marian Ganisin.
2015-11-26 23:50:54 +02:00
Serhiy Storchaka
c472246d81
Issue #10131 : Fixed deep copying of minidom documents. Based on patch
...
by Marian Ganisin.
2015-11-26 23:49:42 +02:00
Serhiy Storchaka
6a50e79130
Issue #24097 : Fixed crash in object.__reduce__() if slot name is freed inside
...
__getattr__. Original patch by Antoine Pitrou.
2015-11-25 18:35:15 +02:00
Serhiy Storchaka
670d78abc5
Issue #24097 : Fixed crash in object.__reduce__() if slot name is freed inside
...
__getattr__. Original patch by Antoine Pitrou.
2015-11-25 18:34:19 +02:00
Serhiy Storchaka
d28bb624d1
Issue #24097 : Fixed crash in object.__reduce__() if slot name is freed inside
...
__getattr__. Original patch by Antoine Pitrou.
2015-11-25 18:33:29 +02:00
Serhiy Storchaka
b64c94338b
Issue #25616 : Tests for OrderedDict are extracted from test_collections
...
into separate file test_ordered_dict.
2015-11-25 17:18:57 +02:00
Serhiy Storchaka
2cefc1efa2
Issue #25616 : Tests for OrderedDict are extracted from test_collections
...
into separate file test_ordered_dict.
2015-11-25 17:12:02 +02:00
Serhiy Storchaka
33e7ea5ad6
Issue #25616 : Tests for OrderedDict are extracted from test_collections
...
into separate file test_ordered_dict.
2015-11-25 17:09:01 +02:00
Serhiy Storchaka
bb6e4a0b31
Issue #24731 : Fixed crash on converting objects with special methods
...
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
2015-11-25 15:53:19 +02:00
Serhiy Storchaka
f9afda57ad
Issue #24731 : Fixed crash on converting objects with special methods
...
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
2015-11-25 15:52:04 +02:00
Serhiy Storchaka
15095800a3
Issue #24731 : Fixed crash on converting objects with special methods
...
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
2015-11-25 15:47:01 +02:00
Serhiy Storchaka
dde0815c35
Issue #7990 : dir() on ElementTree.Element now lists properties: "tag",
...
"text", "tail" and "attrib". Original patch by Santoso Wijaya.
2015-11-25 15:28:13 +02:00
Martin Panter
33623b145d
Issue #25695 : Defer creation of TESTDIRN until the test case is run
2015-11-24 22:12:05 +00:00
Martin Panter
745f6b3a5d
Issue #25663 : Update rlcompleter test for new 3.6 behaviour
2015-11-24 00:20:00 +00:00
Martin Panter
450c988184
Issue #25663 : Merge rlcompleter fix from 3.5
2015-11-24 00:19:10 +00:00
Martin Panter
11bb1ad155
Issue #25663 : Merge rlcompleter fix from 3.4 into 3.5
2015-11-24 00:10:45 +00:00
Martin Panter
ed92910852
Issue #25663 : Make rlcompleter avoid duplicate global names
2015-11-23 23:50:26 +00:00
Serhiy Storchaka
698068b013
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:46:14 +02:00
Serhiy Storchaka
6f988b5990
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:45:12 +02:00
Serhiy Storchaka
e3d4ec4766
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:44:03 +02:00
Serhiy Storchaka
b1ce30281d
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:20:21 +02:00
Serhiy Storchaka
4409c6cfae
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:19:23 +02:00
Serhiy Storchaka
e9b3074cf9
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:17:43 +02:00
Serhiy Storchaka
0cd3effacd
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:49:39 +02:00
Serhiy Storchaka
3987fefd6f
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:47:26 +02:00
Serhiy Storchaka
b6aa5375d5
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:42:25 +02:00
Victor Stinner
da43ee4316
Issue #25694 : Fix test_regrtest for installed Python
2015-11-22 15:18:54 +01:00
Serhiy Storchaka
bf57bff1a9
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:50:59 +02:00
Serhiy Storchaka
6e3d2ba269
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:50:25 +02:00
Serhiy Storchaka
8bc792a602
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:49:58 +02:00
Serhiy Storchaka
ac8abe2100
Issue #19687 : Fixed memory leak on failed Element slice assignment.
...
Added new tests for Element slice assignments.
2015-11-22 12:30:54 +02:00
Serhiy Storchaka
36e4f760f6
Issue #19687 : Fixed memory leak on failed Element slice assignment.
...
Added new tests for Element slice assignments.
2015-11-22 12:30:28 +02:00
Serhiy Storchaka
04d759b1e4
Issue #19687 : Fixed memory leak on failed Element slice assignment.
...
Added new tests for Element slice assignments.
2015-11-22 12:18:38 +02:00
Serhiy Storchaka
f7d75db803
Issue #25686 : test_shutil no longer uses the distutils package for searching
...
and running external archivers.
2015-11-21 14:10:30 +02:00
Serhiy Storchaka
efd83feb7d
Issue #25686 : test_shutil no longer uses the distutils package for searching
...
and running external archivers.
2015-11-21 14:09:58 +02:00
Serhiy Storchaka
b42de2f309
Issue #25686 : test_shutil no longer uses the distutils package for searching
...
and running external archivers.
2015-11-21 14:09:26 +02:00
Martin Panter
36befa5b4c
Issue #25626 : Merge zlib fix from 3.5
2015-11-21 10:57:15 +00:00
Yury Selivanov
5444de93ac
Merge 3.5
2015-11-20 12:58:00 -05:00
Yury Selivanov
875e4fbcca
Merge 3.4
2015-11-20 12:57:47 -05:00
Yury Selivanov
0f3c9765d4
asyncio: Fix with github
...
See https://github.com/python/asyncio/pull/295 for details
2015-11-20 12:57:34 -05:00
Yury Selivanov
ded6689117
Merge 3.5
2015-11-20 12:44:12 -05:00
Yury Selivanov
e342b8e8fe
Merge 3.4
2015-11-20 12:44:03 -05:00
Yury Selivanov
a211a7a0e7
asyncio.tests: Fix whitespace
2015-11-20 12:43:52 -05:00
Yury Selivanov
aa31c35e55
Merge 3.5
2015-11-20 12:40:02 -05:00
Yury Selivanov
abe61079de
Merge 3.4
2015-11-20 12:39:51 -05:00
Yury Selivanov
b485bb416c
asyncio: Sync with github
2015-11-20 12:39:43 -05:00
Serhiy Storchaka
9e788af7cc
Issue #25665 : Test pickling with all protocols in test_typing.
2015-11-20 18:33:33 +02:00
Serhiy Storchaka
6d9e92396f
Issue #25665 : Test pickling with all protocols in test_typing.
2015-11-20 18:33:02 +02:00
Martin Panter
e99e97762c
Issue #25626 : Change zlib to accept Py_ssize_t and cap to UINT_MAX
...
The underlying zlib library stores sizes in “unsigned int”. The corresponding
Python parameters are all sizes of buffers filled in by zlib, so it is okay
to reduce higher values to the UINT_MAX internal cap. OverflowError is still
raised for sizes that do not fit in Py_ssize_t.
Sizes are now limited to Py_ssize_t rather than unsigned long, because Python
byte strings cannot be larger than Py_ssize_t. Previously this could result
in a SystemError on 32-bit platforms.
This resolves a regression in the gzip module when reading more than UINT_MAX
or LONG_MAX bytes in one call, introduced by revision 62723172412c.
2015-11-20 08:13:35 +00:00
Martin Panter
5e02af4961
Issue #25583 : Merge makedirs fix from 3.5
2015-11-20 02:37:29 +00:00
Martin Panter
97cabb9fa5
Issue #25583 : Merge makedirs fix from 3.4 into 3.5
2015-11-20 02:35:46 +00:00
Guido van Rossum
13d9b86d46
Issue #25593 : Change semantics of EventLoop.stop(). (Merge 3.5->3.6)
2015-11-19 13:34:24 -08:00
Guido van Rossum
82f9feaf10
Issue #25593 : Change semantics of EventLoop.stop(). (Merge 3.4->3.5)
2015-11-19 13:33:34 -08:00
Guido van Rossum
41f69f4cc7
Issue #25593 : Change semantics of EventLoop.stop().
2015-11-19 13:28:47 -08:00
Guido van Rossum
1b2bd70f98
Issue #25665 : Make NamedTuple picklable. (Merge 3.5->3.6)
2015-11-19 08:16:52 -08:00
Guido van Rossum
557d1eb0f3
Issue #25665 : Make NamedTuple picklable.
2015-11-19 08:16:31 -08:00
Guido van Rossum
ca0f0a6bad
Remove unused imports from test_typing.py. (Merge 3.5->3.6)
2015-11-18 21:19:18 -08:00
Guido van Rossum
05e3090e3a
Remove unused imports from test_typing.py.
2015-11-18 21:18:51 -08:00
Guido van Rossum
5497ac4758
Issue #25472 : In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work. (Merge 3.5->3.6)
2015-11-18 21:13:42 -08:00
Guido van Rossum
bb7c57c6cd
Issue #25472 : In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work.
2015-11-18 21:12:58 -08:00
Martin Panter
a82642f9db
Issue #25583 : Avoid incorrect errors raised by os.makedirs(exist_ok=True)
2015-11-19 04:48:44 +00:00
Yury Selivanov
5c9f204300
Merge 3.5
2015-11-18 12:40:41 -05:00
Yury Selivanov
576fe71c12
asyncio: Error if awaiting in parallel on the same coroutine
...
See https://github.com/python/asyncio/pull/293 for details.
2015-11-18 12:40:26 -05:00
Yury Selivanov
4990289bbf
Merge 3.5
2015-11-17 12:20:26 -05:00
Yury Selivanov
5498f2b6bf
Merge 3.4
2015-11-17 12:20:02 -05:00
Yury Selivanov
5d7e3b6cd2
asyncio: Cleanup Future API
...
See https://github.com/python/asyncio/pull/292 for details.
2015-11-17 12:19:41 -05:00
Yury Selivanov
efbee31b47
Merge 3.5
2015-11-16 12:43:46 -05:00
Yury Selivanov
1334f83de2
Merge 3.4
2015-11-16 12:43:35 -05:00
Yury Selivanov
5bb1afb332
asyncio: Add Transport.is_closing()
...
See https://github.com/python/asyncio/pull/291 for details.
2015-11-16 12:43:21 -05:00
Martin Panter
a28cdafe83
Issue #20220 : Merge time zone workaround from 3.5
2015-11-16 09:43:05 +00:00
Martin Panter
42347100bf
Issue #20220 : Merge time zone workaround from 3.4 into 3.5
2015-11-16 09:42:41 +00:00
Martin Panter
fca22327ca
Issue #20220 : Revert time zone test debugging, revision 139c18943d9b
2015-11-16 09:22:19 +00:00
Serhiy Storchaka
51eca24748
Issue #9051 : Added tests for pickling and copying the timezone objects.
2015-11-16 11:20:17 +02:00
Serhiy Storchaka
f242aebbd3
Issue #9051 : Added tests for pickling and copying the timezone objects.
2015-11-16 11:19:31 +02:00
Serhiy Storchaka
e28209f251
Issue #9051 : Added tests for pickling and copying the timezone objects.
2015-11-16 11:12:58 +02:00
Martin Panter
6e0889f0c7
Issue #20220 : Add DST rules to work around glibc quirk
...
This was triggering intermittent failures in unrelated tests.
2015-11-16 07:21:38 +00:00
Gregory P. Smith
f31f9718ac
Fixes #23564 : Fix a partially broken sanity check in the _posixsubprocess
...
internals regarding how fds_to_pass were passed to the child. The bug
had no actual impact as subprocess.py already avoided it.
2015-11-15 21:29:43 -08:00
Gregory P. Smith
d0a5b1c343
Fixes #23564 : Fix a partially broken sanity check in the _posixsubprocess
...
internals regarding how fds_to_pass were passed to the child. The bug
had no actual impact as subprocess.py already avoided it.
2015-11-15 21:15:26 -08:00
Serhiy Storchaka
0304729ec4
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:12:04 +02:00
Serhiy Storchaka
7e2b870b85
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:11:17 +02:00
Serhiy Storchaka
0d441119f5
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:10:35 +02:00
Martin Panter
19e69c5a20
Issue #23883 : Add missing APIs to __all__; patch by Jacek Kołodziej
2015-11-14 12:46:42 +00:00
Martin Panter
d226d308a3
Issue #23883 : Add test.support.check__all__() and test gettext.__all__
...
Patches by Jacek Kołodziej.
2015-11-14 11:47:00 +00:00
Martin Panter
63c1ebb67b
Issue #25168 : Temporary timezone and cache debugging
2015-11-14 08:54:30 +00:00