Guido van Rossum
ca4b252fba
Issue #28556 : two more small upstream changes by Ivan Levkivskyi ( #329 , #330 )
2016-11-19 10:32:41 -08:00
Martin Panter
e82338ddab
Issue #28548 : Parse HTTP request version even if too many words received
2016-11-19 01:06:37 +00:00
Xavier de Gaye
ac05f88582
Issue #26926 : Merge 3.6
2016-11-17 09:22:43 +01:00
Xavier de Gaye
877f036950
Issue #26926 : Skip some test_io tests on platforms without large file support
2016-11-17 09:20:28 +01:00
Xavier de Gaye
56758354c8
Issue 26931: Merge 3.6
2016-11-17 09:01:58 +01:00
Xavier de Gaye
dfc13e069a
Issue 26931: Skip the test_distutils tests using a compiler executable
...
that is not found
2016-11-17 09:00:19 +01:00
Yury Selivanov
6592dbd2a8
Merge 3.6 (issue #28720 )
2016-11-16 18:25:48 -05:00
Yury Selivanov
22214ab0af
Issue #28720 : Add collections.abc.AsyncGenerator.
2016-11-16 18:25:04 -05:00
Yury Selivanov
bb2356500c
Merge 3.6 (issue #28721 )
2016-11-16 18:16:32 -05:00
Yury Selivanov
41782e4970
Issue #28721 : Fix asynchronous generators aclose() and athrow()
2016-11-16 18:16:17 -05:00
Xavier de Gaye
1e2784e0b3
Issue #26935 : Merge 3.6
2016-11-16 08:06:12 +01:00
Xavier de Gaye
21060105d9
Issue #26935 : Fix broken Android dup2() in test_os
2016-11-16 08:05:27 +01:00
Donald Stufft
a97872a1fe
Merge - upgrade pip/setuptools
2016-11-15 21:18:54 -05:00
Donald Stufft
756b45ab6e
Merge - upgrade pip/setuptools
2016-11-15 21:18:40 -05:00
Donald Stufft
5ebff7b300
Merge - upgrade pip/setuptools
2016-11-15 21:18:20 -05:00
Donald Stufft
dd5c73b4f2
Upgrade pip to 9.0.1 and setuptools to 28.8.0
2016-11-15 21:17:43 -05:00
Yury Selivanov
22131a3e19
Merge 3.6 (issue #28704 )
2016-11-15 15:27:48 -05:00
Yury Selivanov
21bb0e6f55
Merge 3.5 (issue #28704 )
2016-11-15 15:27:23 -05:00
Yury Selivanov
d7c151871e
Issue #28704 : Fix create_unix_server to support Path-like objects
2016-11-15 15:26:34 -05:00
Yury Selivanov
adceaa64ee
Merge 3.6 (issue #28703 )
2016-11-15 15:21:34 -05:00
Yury Selivanov
27182bb232
Merge 3.5 (issue #28703 )
2016-11-15 15:21:07 -05:00
Yury Selivanov
0ed20cdfb7
Issue #28703 : Fix asyncio.iscoroutinefunction to handle Mock objects.
2016-11-15 15:20:34 -05:00
Guido van Rossum
dbd5b6b730
Issue #28556 : Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321 ) (3.6->3.7)
2016-11-15 09:48:12 -08:00
Guido van Rossum
63859aea9b
Issue #28556 : Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321 ) (3.5->3.6)
2016-11-15 09:48:09 -08:00
Guido van Rossum
2f84144235
Issue #28556 : Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321 )
2016-11-15 09:48:06 -08:00
Xavier de Gaye
e385cd16eb
Issue #26929 : Merge 3.6
2016-11-15 17:25:54 +01:00
Xavier de Gaye
43cf2efafc
Issue #26929 : Skip some test_strptime tests failing on Android that
...
incorrectly formats %V or %G for the last or the first
incomplete week in a year
2016-11-15 17:24:42 +01:00
Xavier de Gaye
f1190c493d
Issue 28668: Merge 3.6
2016-11-15 17:04:53 +01:00
Xavier de Gaye
d178e69ad8
Issue 28668: Merge 3.5
2016-11-15 17:03:12 +01:00
Xavier de Gaye
49e8f2d204
Issue 28668: Skip tests where instanciation of multiprocessing.Queue
...
would raise ImportError
2016-11-15 16:57:52 +01:00
Victor Stinner
d5f599a392
Merge 3.6
2016-11-15 09:12:36 +01:00
Victor Stinner
f9cca365c7
Fix warn_invalid_escape_sequence()
...
Issue #28691 : Fix warn_invalid_escape_sequence(): handle correctly
DeprecationWarning raised as an exception. First clear the current exception to
replace the DeprecationWarning exception with a SyntaxError exception.
Unit test written by Serhiy Storchaka.
2016-11-15 09:12:10 +01:00
Serhiy Storchaka
d0d245cd7f
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:31:04 +02:00
Serhiy Storchaka
39d2dfef44
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:30:36 +02:00
Serhiy Storchaka
5ae6c776a8
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:29:59 +02:00
Serhiy Storchaka
5ca92ab3d2
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:25:56 +02:00
Serhiy Storchaka
60ac989d6f
Issue #28563 : Make plural form selection more lenient and accepting
...
non-integer numbers. Django tests depend on this.
2016-11-14 19:22:12 +02:00
Xavier de Gaye
bdc33e1dae
Issue #28662 : Merge 3.6
2016-11-14 17:15:45 +01:00
Xavier de Gaye
38c8b7d292
Issue #28662 : Catch PermissionError in tests when spawning a non existent program
2016-11-14 17:14:42 +01:00
Victor Stinner
d62ecf51ef
Merge 3.6
2016-11-14 12:39:05 +01:00
Victor Stinner
8bf43e6d0b
Issue #28082 : Add basic unit tests on re enums
2016-11-14 12:38:43 +01:00
Victor Stinner
fb6a6596b5
Issue #28637 : Reapply changeset 223731925d06
...
"issue28082: use IntFlag for re constants" by Ethan Furman.
The re module is not more used in the site module and so adding "import enum"
to re.py doesn't impact python_startup benchmark anymore.
2016-11-14 12:35:55 +01:00
Benjamin Peterson
2294f83c7c
merge 3.6
2016-11-14 00:15:52 -08:00
Benjamin Peterson
996fc1fcfc
correctly emulate error semantics of gen.throw in FutureIter_throw
2016-11-14 00:15:44 -08:00
Martin Panter
5e17ad9716
Merge AIX fixes from 3.6
2016-11-14 05:04:36 +00:00
Martin Panter
f8cebad290
Merge AIX fixes from 3.5 into 3.6
2016-11-14 05:04:12 +00:00
Martin Panter
9544a365bd
Issue #28016 : Skip /dev/tty seekable() test on AIX
2016-11-14 01:58:57 +00:00
Xavier de Gaye
f59d568e47
Issue #26934 : Merge 3.6
2016-11-13 21:56:59 +01:00
Xavier de Gaye
95aa56a6fb
Issue #26934 : Handle _ANDROID_API_LEVEL is None on Windows
2016-11-13 21:55:52 +01:00
Xavier de Gaye
524eac0f14
Issue #26934 : Fix test_faulthandler on Android where raise() exits with 0,
...
with a cosmetic change to add a commit message with the issue number,
missing from the previous two commits.
2016-11-13 21:14:03 +01:00
Xavier de Gaye
c4bd0fe2e3
Merge 3.6
2016-11-13 20:47:39 +01:00
Xavier de Gaye
6c5f21945a
Fix test_faulthandler on Android where raise() exits with 0
2016-11-13 20:46:46 +01:00
Xavier de Gaye
daa9e239f0
Merge 3.6
2016-11-13 19:42:09 +01:00
Xavier de Gaye
f056b04eea
Merge 3.5
2016-11-13 19:41:07 +01:00
Xavier de Gaye
547c1b9ace
Fix temporary file not deleted in test_socket
2016-11-13 19:39:48 +01:00
Raymond Hettinger
77f6411d96
merge
2016-11-13 00:44:24 -05:00
Raymond Hettinger
24e4239434
Fix typos
2016-11-13 00:42:56 -05:00
Serhiy Storchaka
a8f2f5ab0d
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:50 +02:00
Serhiy Storchaka
58d3e54556
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:33 +02:00
Serhiy Storchaka
022371ff94
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:47:16 +02:00
Serhiy Storchaka
49bcce977d
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:11:48 +02:00
Serhiy Storchaka
e0e9d5f312
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:11:33 +02:00
Serhiy Storchaka
5adc22b330
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:10:24 +02:00
Serhiy Storchaka
ac40c6c575
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:07:48 +02:00
Serhiy Storchaka
a27c064428
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:06:38 +02:00
Serhiy Storchaka
62e32d6352
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:05:01 +02:00
Serhiy Storchaka
684cadaef9
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:48:22 +02:00
Serhiy Storchaka
839102603c
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:46:44 +02:00
Serhiy Storchaka
daeddc48a4
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:42:47 +02:00
Guido van Rossum
11ca7b5b8f
Issue #28649 : fix second issue with _ForwardRef ( #328 ) (3.6->3.7)
2016-11-10 08:29:20 -08:00
Guido van Rossum
0d1acfdf18
Issue #28649 : fix second issue with _ForwardRef ( #328 ) (3.5->3.6)
2016-11-10 08:29:19 -08:00
Guido van Rossum
dad179075a
Issue #28649 : fix second issue with _ForwardRef ( #328 )
2016-11-10 08:29:18 -08:00
Guido van Rossum
f3abcf6a31
Issue #28649 : fix first issue with _ForwardRef ( #327 ) (3.6->3.7)
2016-11-10 08:27:50 -08:00
Guido van Rossum
fc293ddf92
Issue #28649 : fix first issue with _ForwardRef ( #327 ) (3.5->3.6)
2016-11-10 08:26:19 -08:00
Guido van Rossum
c7b92950c9
Issue #28649 : fix first issue with _ForwardRef ( #327 )
2016-11-10 08:24:06 -08:00
Yury Selivanov
3e05a9c2b0
Merge 3.6 (issue #28653 )
2016-11-09 18:57:00 -05:00
Yury Selivanov
0a66a1cdd6
Merge 3.6 (issue #28653 )
2016-11-09 18:56:26 -05:00
Yury Selivanov
46a02db90b
Issue #28653 : Fix a refleak in functools.lru_cache.
2016-11-09 18:55:45 -05:00
Serhiy Storchaka
1f9449589e
Issue #28649 : Clear the typing module caches when search for reference leaks.
2016-11-09 23:52:40 +02:00
Serhiy Storchaka
04c954d275
Issue #28649 : Clear the typing module caches when search for reference leaks.
2016-11-09 23:51:54 +02:00
Serhiy Storchaka
28f42fd4f8
Issue #28649 : Clear the typing module caches when search for reference leaks.
2016-11-09 23:49:02 +02:00
Guido van Rossum
ea446e2f2a
Issue #28649 : typing-clear-caches.patch (3.6->3.7)
2016-11-09 13:23:06 -08:00
Guido van Rossum
5486a88427
Issue #28649 : typing-clear-caches.patch (3.5->3.6)
2016-11-09 13:23:05 -08:00
Guido van Rossum
9b10756019
Issue #28649 : typing-clear-caches.patch
2016-11-09 13:23:04 -08:00
Guido van Rossum
45b09cacde
Issue #28649 : fix-typing-test-v2.diff (3.6->3.7)
2016-11-09 13:19:01 -08:00
Guido van Rossum
83be424700
Issue #28649 : fix-typing-test-v2.diff (3.5->3.6)
2016-11-09 13:19:00 -08:00
Guido van Rossum
f9099de894
Issue #28649 : fix-typing-test-v2.diff
2016-11-09 13:18:59 -08:00
Guido van Rossum
a50c79f36f
Issue #28556 : More typing.py updates from upstream. (3.6->3.7)
2016-11-09 13:12:56 -08:00
Guido van Rossum
b75f48580f
Issue #28556 : More typing.py updates from upstream. (3.5->3.6)
2016-11-09 13:12:53 -08:00
Guido van Rossum
991d14fee1
Issue #28556 : More typing.py updates from upstream.
2016-11-09 13:12:51 -08:00
Steve Dower
bb132fc34e
Issue #19717 : Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
2016-11-09 12:58:31 -08:00
Steve Dower
98eb360531
Issue #19717 : Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
2016-11-09 12:58:17 -08:00
Yury Selivanov
02f252f3af
Merge 3.6 (issue #28652 )
2016-11-09 15:48:22 -05:00
Yury Selivanov
954c7dd0cc
Merge 3.5 (issue #28652 )
2016-11-09 15:47:47 -05:00
Yury Selivanov
a1a8b7d3d7
Issue #28652 : Make loop methods reject socket kinds they do not support.
2016-11-09 15:47:00 -05:00
Yury Selivanov
6cb819c171
Merge 3.6 (issue #28639 )
2016-11-08 19:59:57 -05:00
Yury Selivanov
d8aa0c6eec
Merge 3.5 (issue #28639 )
2016-11-08 19:59:29 -05:00
Yury Selivanov
c0215dfbc1
Issue #28639 : Fix inspect.isawaitable to always return bool
...
Patch by Justin Mayfield.
2016-11-08 19:57:44 -05:00
Yury Selivanov
bb5e522d45
Merge 3.6 (asyncio)
2016-11-08 19:16:37 -05:00
Yury Selivanov
a054f40e84
Merge 3.5 (asyncio)
2016-11-08 19:16:15 -05:00
Yury Selivanov
6cc495e9e2
asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__
...
Some built-in coroutine-like objects might not have __name__ or
__qualname__. A good example of such are 'asend', 'aclose' and
'athrow' coroutine methods of asynchronous generators.
2016-11-08 19:16:01 -05:00
Yury Selivanov
0ee446c894
Merge 3.6 (issue #27243 )
2016-11-08 15:15:42 -05:00
Yury Selivanov
2edd8a1e2c
Issue #27243 : Change PendingDeprecationWarning -> DeprecationWarning.
...
As it was agreed in the issue, __aiter__ returning an awaitable
should result in PendingDeprecationWarning in 3.5 and in
DeprecationWarning in 3.6.
2016-11-08 15:13:07 -05:00
Serhiy Storchaka
64d84c60e2
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:28:30 +02:00
Serhiy Storchaka
1c9bd1d8ec
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:27:17 +02:00
Serhiy Storchaka
eb20fcae14
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:26:14 +02:00
Serhiy Storchaka
1c3fdd900d
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:20:09 +02:00
Serhiy Storchaka
07bcf05fcf
Issue #28563 : Fixed possible DoS and arbitrary code execution when handle
...
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:17:46 +02:00
Serhiy Storchaka
b5c349d5ae
Issue #28637 : No longer use re in site.py.
...
This makes Python startup from a virtual environment a little faster.
2016-11-08 20:18:20 +02:00
Serhiy Storchaka
727ba7c6f4
Issue #28637 : No longer use re in site.py.
...
This makes Python startup from a virtual environment a little faster.
2016-11-08 20:17:35 +02:00
Yury Selivanov
122b99dad4
Merge 3.6 (docs/inspect)
2016-11-08 12:23:26 -05:00
Yury Selivanov
4778e13148
docs/inspect: clarify iscoroutinefunction; add docs for isasyncgen*
2016-11-08 12:23:09 -05:00
Terry Jan Reedy
e83a64164e
Merge with 3.6
2016-11-07 23:15:10 -05:00
Terry Jan Reedy
0180cf6684
Issue #28572 : Use system-specific values for configdialog font test
2016-11-07 23:14:53 -05:00
Yury Selivanov
cb4f0c53ff
Merge 3.6 (issue #28613 )
2016-11-07 19:01:27 -05:00
Yury Selivanov
1994dd360b
Merge 3.5 (issue #28613 )
2016-11-07 19:01:14 -05:00
Yury Selivanov
6ea2b8fc8b
Issue #28613 : Expose asyncio._get_running_loop() and _set_running_loop()
2016-11-07 19:00:46 -05:00
Victor Stinner
621d4a7c86
Merge 3.6
2016-11-08 00:44:53 +01:00
Victor Stinner
1ec1cd161b
Issue #28637 : Revert issue #28082 , don't import enum in re
...
Importing the enum module in the re module slows down Python startup by 34%
when Python is run from a virtual environment, or more generally when the re
module is imported at startup but not the enum module.
2016-11-08 00:42:46 +01:00
Eric V. Smith
9a8e569865
Merge from 3.6.
2016-11-07 17:57:48 -05:00
Eric V. Smith
9b88fdf4f0
Fixed issue #28633 : segfault when concatenating bytes literal and f-string.
2016-11-07 17:54:01 -05:00
Terry Jan Reedy
25c28c901a
Merge with 3.6
2016-11-07 17:15:16 -05:00
Terry Jan Reedy
f46b7823e6
Issue #28572 : Add 10% to coverage of IDLE's test_configdialog.
...
Update and augment description of the configuration system.
2016-11-07 17:15:01 -05:00
Yury Selivanov
884edfcc83
Merge 3.6 (issue #28634 )
2016-11-07 16:07:58 -05:00
Yury Selivanov
6130c0271f
Merge 3.5 (issue #28634 )
2016-11-07 16:07:30 -05:00
Yury Selivanov
49d6b8c0c3
Issue #28634 : Fix asyncio.isfuture() to support mocks
2016-11-07 16:00:50 -05:00
Steve Dower
257a4c1503
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:24 -08:00
Steve Dower
78057b4159
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:08 -08:00
Guido van Rossum
a80b9c51e1
issue #28622 : Remove redundant variable annotation test from test_grammar. Ivan L. (3.6->3.7)
2016-11-06 18:26:08 -08:00
Guido van Rossum
f570d0f117
issue #28622 : Remove redundant variable annotation test from test_grammar. Ivan L.
2016-11-06 18:25:39 -08:00
Serhiy Storchaka
85bcf37e15
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:47:35 +02:00
Serhiy Storchaka
60e49aa756
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:47:03 +02:00
Serhiy Storchaka
24411f8a8d
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:44:42 +02:00
Jason R. Coombs
692b97c848
Merge with 3.6
2016-11-06 11:27:50 -05:00
Jason R. Coombs
1c92a76a69
Update test_no_escapes_for_braces to clarify behavior with a docstring and expressions that clearly are not evaluated.
2016-11-06 11:25:54 -05:00
Jason R. Coombs
32d93b2dc8
Merge with 3.6
2016-11-06 11:16:42 -05:00
Jason R. Coombs
da25abf712
Additionally show that a backslash-escaped opening brace is treated as a literal and thus triggers the single closing brace error, clarifying #28590 .
2016-11-06 11:14:48 -05:00
Jason R. Coombs
45cab8ccdd
Add an additional test with a newline, one that's very similar to test_parens_in_expressions, but because the newline is not a literal newline, but a backslash en, this error is triggered.
2016-11-06 11:01:08 -05:00
Serhiy Storchaka
f0b311bd73
Issue #28123 : _PyDict_GetItem_KnownHash() now can raise an exception as
...
PyDict_GetItemWithError(). Patch by Xiang Zhang.
2016-11-06 13:18:24 +02:00
Martin Panter
cee93c3b73
Issue #28485 : Merge single-threading fix from 3.5 into 3.6
2016-11-05 01:35:25 +00:00
Martin Panter
88281ceed0
Issue #28485 : Check for negative workers even without ProcessPoolExecutor
...
This matches the documentation, and passes the test suite when multithreading
is disabled.
2016-11-05 01:11:36 +00:00
Yury Selivanov
69312fa4a2
Merge 3.5 (issue #28613 )
2016-11-04 14:30:11 -04:00
Yury Selivanov
600a349781
Issue #28613 : Fix get_event_loop() to return the current loop
...
when called from coroutines or callbacks.
2016-11-04 14:29:28 -04:00
Yury Selivanov
c5420492cf
asyncio: Sync with upstream
2016-11-03 15:35:23 -07:00
Yury Selivanov
a6fbcd19ac
Merge 3.5 (issue #28600 )
2016-11-03 15:10:11 -07:00
Yury Selivanov
491a912659
Issue #28600 : Optimize loop.call_soon().
...
Run expensive type checks only in debug mode. In addition, stop
supporting passing handles to loop.run_in_executor.
2016-11-03 15:09:24 -07:00
Donald Stufft
c96b8fcf25
Allow ensurepip even when ssl is unavailable
2016-11-02 20:32:37 -04:00
Donald Stufft
f81d60ba68
Merge updated pip/setuptools from 3.5
2016-11-02 15:55:01 -04:00
Donald Stufft
2af4144b7f
Merge new pip/setuptools from 3.4
2016-11-02 15:53:58 -04:00
Donald Stufft
20a587bd67
Upgrade pip to 9.0 and setuptools to 28.7.1
2016-11-02 15:42:49 -04:00
INADA Naoki
93f26f794d
Issue #28583 : PyDict_SetDefault didn't combine split table when needed.
...
Patch by Xiang Zhang.
2016-11-02 18:45:16 +09:00
Raymond Hettinger
8567e58ae3
Minor code beautification
2016-11-01 22:23:11 -07:00
Ned Deily
b02f2e1298
Update pydoc topics for 3.6.0b3
2016-10-31 20:39:38 -04:00
Eric V. Smith
5646648678
Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6.
2016-10-31 14:46:26 -04:00
Serhiy Storchaka
88b2219358
Issue #27517 : LZMA compressor and decompressor no longer raise exceptions if
...
given empty data twice. Patch by Benjamin Fogle.
2016-10-31 08:31:13 +02:00
Serhiy Storchaka
04f17f103a
Issue #27517 : LZMA compressor and decompressor no longer raise exceptions if
...
given empty data twice. Patch by Benjamin Fogle.
2016-10-31 08:30:09 +02:00
Serhiy Storchaka
13c8f3266a
Update the f-string test broken in issue #28385 .
2016-10-31 08:13:00 +02:00
Serhiy Storchaka
c4a35daa97
Issue #28541 : Improve test coverage for encoding detection in json library.
...
Original patch by Eric Appelt.
2016-10-30 23:00:01 +02:00
Serhiy Storchaka
2f4453eff8
Issue #28449 : tarfile.open() with mode "r" or "r:" now tries to open a tar
...
file with compression before trying to open it without compression. Otherwise
it had 50% chance failed with ignore_zeros=True.
2016-10-30 20:56:23 +02:00
Serhiy Storchaka
a89d22aff3
Issue #28449 : tarfile.open() with mode "r" or "r:" now tries to open a tar
...
file with compression before trying to open it without compression. Otherwise
it had 50% chance failed with ignore_zeros=True.
2016-10-30 20:52:29 +02:00
Serhiy Storchaka
7984bff52a
Issue #28385 : An error message when non-empty format spec is passed to
...
object.__format__ now contains the name of actual type.
2016-10-30 19:37:46 +02:00
Serhiy Storchaka
d1af5effc2
Issue #28385 : An error message when non-empty format spec is passed to
...
object.__format__ now contains the name of actual type.
2016-10-30 19:33:54 +02:00
Serhiy Storchaka
a1fd5e4bc7
- Issue #23262 : The webbrowser module now supports Firefox 36+ and derived
...
browsers. Based on patch by Oleg Broytman.
2016-10-30 19:21:10 +02:00
Serhiy Storchaka
c9b750d249
Issue #23262 : The webbrowser module now supports Firefox 36+ and derived
...
browsers. Based on patch by Oleg Broytman.
2016-10-30 19:16:33 +02:00
Serhiy Storchaka
016a9acb26
Issue #27939 : Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
...
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
2016-10-30 18:52:02 +02:00
Serhiy Storchaka
32c0d3ada5
Issue #27939 : Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
...
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
2016-10-30 18:49:52 +02:00
Serhiy Storchaka
b7d14a09c2
Merge from 3.5.
2016-10-30 17:25:45 +02:00
Serhiy Storchaka
0438683939
Backed out changeset 9f7505019767 (issue #27275 ).
2016-10-30 17:17:24 +02:00
Raymond Hettinger
77d574d4ae
Issue #18844 : Strengthen tests to include a case with unequal weighting
2016-10-29 17:42:36 -07:00
Raymond Hettinger
30d00e54dd
Issue #18844 : Make the various ways for specifing weights produce the same results.
2016-10-29 16:55:36 -07:00
Guido van Rossum
ab5cf4da4e
Issue #28556 : updates to typing.py (add Coroutine, prohibit Generic[T]()) (3.5->3.6)
2016-10-29 16:05:27 -07:00
Guido van Rossum
62fe1bb983
Issue #28556 : updates to typing.py (add Coroutine, prohibit Generic[T]())
2016-10-29 16:05:26 -07:00
Guido van Rossum
c6c1c6ef79
Issue #28556 : updates to typing.py (fix copy, deepcopy, pickle) (3.5->3.6)
2016-10-29 12:44:30 -07:00
Guido van Rossum
b7dedc89f1
Issue #28556 : updates to typing.py (fix copy, deepcopy, pickle)
2016-10-29 12:44:29 -07:00
Guido van Rossum
868147b0a6
Issue #28556 : updates to typing.py (3.5->3.6)
2016-10-29 08:54:57 -07:00
Guido van Rossum
5fc25a873c
Issue #28556 : updates to typing.py
2016-10-29 08:54:56 -07:00
Steve Dower
1da055ee0d
Makes test_underpth* tests more robust by copying the executable.
2016-10-29 08:50:31 -07:00
Serhiy Storchaka
04230c4087
Issue #28123 : _PyDict_GetItem_KnownHash() now can raise an exception as
...
PyDict_GetItemWithError(). Patch by Xiang Zhang.
2016-11-06 13:19:38 +02:00
Martin Panter
a76f014278
Remove disabled test code
...
Loading Unix libraries via getattr() was disabled before ctypes was added to
Python.
2016-11-05 02:49:20 +00:00
Martin Panter
52dfd4bd99
Issue #28485 : Merge single-threading fix from 3.6
2016-11-05 01:56:58 +00:00
Yury Selivanov
a494e34ca1
Merge 3.6 (issue #28613 )
2016-11-04 14:30:41 -04:00
Yury Selivanov
91d78f0aae
Merge 3.6 (issue #28600 )
2016-11-03 15:10:48 -07:00
Donald Stufft
cee42c4c41
Merge 3.6 - allow ensurepip w/o ssl
2016-11-02 20:33:07 -04:00
Donald Stufft
629dda5147
Merge updated pip/setuptools from 3.6
2016-11-02 15:55:26 -04:00
INADA Naoki
a3498c7569
Issue #28583 : PyDict_SetDefault didn't combine split table when needed.
...
Patch by Xiang Zhang.
2016-11-02 18:47:24 +09:00
Raymond Hettinger
79a188c2bb
merge
2016-11-01 22:23:34 -07:00
Eric V. Smith
42454af094
Issue 28128: Print out better error/warning messages for invalid string escapes.
2016-10-31 09:22:08 -04:00
Serhiy Storchaka
ecf40c1dce
Issue #27517 : LZMA compressor and decompressor no longer raise exceptions if
...
given empty data twice. Patch by Benjamin Fogle.
2016-10-31 08:31:41 +02:00
Serhiy Storchaka
4eebf8477a
Update the f-string test broken in issue #28385 .
2016-10-31 08:13:30 +02:00
Serhiy Storchaka
40926a8b2e
Issue #28541 : Improve test coverage for encoding detection in json library.
...
Original patch by Eric Appelt.
2016-10-30 23:00:20 +02:00
Serhiy Storchaka
3e7f593c87
Issue #28449 : tarfile.open() with mode "r" or "r:" now tries to open a tar
...
file with compression before trying to open it without compression. Otherwise
it had 50% chance failed with ignore_zeros=True.
2016-10-30 20:58:31 +02:00
Serhiy Storchaka
79879e002f
Issue #28385 : An error message when non-empty format spec is passed to
...
object.__format__ now contains the name of actual type.
2016-10-30 19:38:05 +02:00
Serhiy Storchaka
08921c4be3
Issue #23262 : The webbrowser module now supports Firefox 36+ and derived
...
browsers. Based on patch by Oleg Broytman.
2016-10-30 19:22:15 +02:00
Serhiy Storchaka
686583c05a
Issue #27939 : Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
...
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
2016-10-30 18:53:09 +02:00
Serhiy Storchaka
a182d7bc14
Merge from 3.6.
2016-10-30 17:27:40 +02:00
Raymond Hettinger
fdf6716ea9
merge
2016-10-29 17:43:02 -07:00
Raymond Hettinger
ba25f61490
merge
2016-10-29 16:57:09 -07:00
Guido van Rossum
7ca671532c
Issue #28556 : updates to typing.py (add Coroutine, prohibit Generic[T]()) (3.6->3.7)
2016-10-29 16:05:28 -07:00
Guido van Rossum
fd274c47aa
Issue #28556 : updates to typing.py (fix copy, deepcopy, pickle) (3.6->3.7)
2016-10-29 12:44:31 -07:00
Guido van Rossum
d920d05381
Issue #28556 : updates to typing.py (3.6->3.7)
2016-10-29 08:54:58 -07:00
Steve Dower
842a146672
Merge from 3.6
2016-10-29 08:50:42 -07:00
Yury Selivanov
29d3cbfe97
Merge 3.6 (issue #28544 )
2016-10-28 12:53:29 -04:00
Yury Selivanov
a0c1ba608e
Issue #28544 : Implement asyncio.Task in C.
...
This implementation provides additional 10-20% speed boost for
asyncio programs.
The patch also fixes _asynciomodule.c to use Arguments Clinic, and
makes '_schedule_callbacks' an overridable method (as it was in 3.5).
2016-10-28 12:52:37 -04:00
Serhiy Storchaka
5d8f0a1ca9
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:19:19 +03:00
Serhiy Storchaka
b6bd81dee9
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:18:30 +03:00
Serhiy Storchaka
7865dfff2e
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:17:38 +03:00
Steve Dower
06ba3d34b4
Issue #28522 : Fixes mishandled buffer reallocation in getpathp.c
2016-10-27 14:29:13 -07:00
Steve Dower
c6dd415252
Issue #28522 : Fixes mishandled buffer reallocation in getpathp.c
2016-10-27 14:28:07 -07:00
Guido van Rossum
c3f6c21264
Issue #25002 : Back out asyncore/asynchat deprecation. (3.6->3.7)
2016-10-25 18:43:21 -07:00
Guido van Rossum
66078ac5d0
Issue #25002 : Back out asyncore/asynchat deprecation.
2016-10-25 18:42:51 -07:00
Martin Panter
34d304cc0f
Issue #26240 : Merge subprocess doc string from 3.6
2016-10-26 00:26:38 +00:00
Martin Panter
3dca62440c
Issue #26240 : Merge subprocess doc string from 3.5 into 3.6
2016-10-25 23:41:42 +00:00
Martin Panter
4afdca056b
Issue #26240 : Clean up the subprocess module doc string
...
Patch by Tim Mitchell.
2016-10-25 22:20:48 +00:00
Serhiy Storchaka
36888dd970
Issue #28353 : Fixed tests of os.fwalk() with broken links.
2016-10-25 20:18:31 +03:00
Serhiy Storchaka
11e9a16548
Issue #28353 : Try to fix tests.
2016-10-25 19:03:27 +03:00
Serhiy Storchaka
28f982060c
Issue #28353 : Try to fix tests.
2016-10-25 19:01:41 +03:00
Guido van Rossum
ec648f63fc
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta. (3.6->3.7)
2016-10-25 08:49:48 -07:00
Guido van Rossum
16591f440d
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.
2016-10-25 08:49:13 -07:00
Serhiy Storchaka
b3e5812300
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:38:28 +03:00
Serhiy Storchaka
1faf9025b5
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:36:56 +03:00
Serhiy Storchaka
4832580596
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:33:23 +03:00
Serhiy Storchaka
0595ed21ba
Issue #28255 : calendar.TextCalendar.prweek() no longer prints a space after
...
a weeks's calendar. calendar.TextCalendar.pryear() no longer prints redundant
newline after a year's calendar. Based on patch by Xiang Zhang.
2016-10-25 15:20:58 +03:00
Serhiy Storchaka
78d84d8326
Issue #28255 : calendar.TextCalendar().prmonth() no longer prints a space
...
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
2016-10-25 15:03:59 +03:00
Serhiy Storchaka
ecb90182f5
Issue #28255 : calendar.TextCalendar().prmonth() no longer prints a space
...
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
2016-10-25 15:02:36 +03:00
Serhiy Storchaka
7ff51bd2b8
Issue #28255 : calendar.TextCalendar().prmonth() no longer prints a space
...
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
2016-10-25 15:00:52 +03:00
Serhiy Storchaka
da223e5cef
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:47:53 +03:00
Serhiy Storchaka
a6eba11f86
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:46:44 +03:00
Serhiy Storchaka
f3ebc9fe3f
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:44:54 +03:00
Serhiy Storchaka
f06f82d66b
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:35:18 +03:00
Serhiy Storchaka
af4e4747f5
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:34:38 +03:00
Serhiy Storchaka
42bababba6
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:28:38 +03:00
Serhiy Storchaka
8416196197
Issue #28314 : Added tests for xml.etree.ElementTree.Element.getiterator().
2016-10-25 10:38:07 +03:00
Serhiy Storchaka
c3adf1e09b
Issue #28314 : Added tests for xml.etree.ElementTree.Element.getiterator().
2016-10-25 10:37:55 +03:00
Serhiy Storchaka
036fb15435
Issue #28314 : Added tests for xml.etree.ElementTree.Element.getiterator().
2016-10-25 10:37:01 +03:00
Serhiy Storchaka
e402312499
Issue #27025 : Generated names for Tkinter widgets now start by the "!" prefix
...
for readability (was "`").
2016-10-25 09:46:46 +03:00
Serhiy Storchaka
b1f5287952
Issue #27025 : Generated names for Tkinter widgets now start by the "!" prefix
...
for readability (was "`").
2016-10-25 09:43:48 +03:00
Serhiy Storchaka
19aef9c24e
Issue #25464 : Fixed HList.header_exists() in tkinter.tix module by addin
...
a workaround to Tix library bug.
2016-10-24 23:49:51 +03:00
Serhiy Storchaka
407c8acd90
Issue #25464 : Fixed HList.header_exists() in tkinter.tix module by addin
...
a workaround to Tix library bug.
2016-10-24 23:49:10 +03:00
Serhiy Storchaka
071dec2027
Issue #25464 : Fixed HList.header_exists() in tkinter.tix module by addin
...
a workaround to Tix library bug.
2016-10-24 23:47:28 +03:00
Raymond Hettinger
c2deb995f4
merge
2016-10-24 07:32:23 -07:00
Raymond Hettinger
712d593e49
Issue #5830 : Remove old comment. Add empty slots.
2016-10-24 07:31:55 -07:00
Serhiy Storchaka
f113c8fa6d
Merge heads
2016-10-24 14:53:36 +03:00
Serhiy Storchaka
e89639124b
Merge heads
2016-10-24 14:53:25 +03:00
Yury Selivanov
b42e8d2c1f
Merge 3.6 (asyncio)
2016-10-23 22:35:29 -04:00
Yury Selivanov
01c521ba7a
asyncio: Increase asyncio.Future test coverage; test both implementations.
...
Also, add 'isfuture' to 'asyncio.futures.__all__', so that it's
exposed as 'asyncio.isfuture'.
2016-10-23 22:34:35 -04:00
Serhiy Storchaka
c7ede1132e
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:58:23 +03:00
Serhiy Storchaka
cb637fa231
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:58:06 +03:00
Serhiy Storchaka
0211bb78fd
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:56:14 +03:00
Serhiy Storchaka
eb569e4775
Issue #28115 : ZIP creation test requires zlib.
2016-10-23 22:33:12 +03:00
Serhiy Storchaka
8985031476
Issue #28115 : ZIP creation test requires zlib.
2016-10-23 22:32:48 +03:00