Serhiy Storchaka
292dd1b2ad
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701 ).
2016-11-16 16:12:34 +02:00
Serhiy Storchaka
f5894dd646
Issue #28701 : Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
...
The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang.
2016-11-16 15:40:39 +02:00
Serhiy Storchaka
f4934ea77d
Issue #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
...
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:17:58 +02: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
d7c151871e
Issue #28704 : Fix create_unix_server to support Path-like objects
2016-11-15 15:26:34 -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
2f84144235
Issue #28556 : Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321 )
2016-11-15 09:48:06 -08: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
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
Martin Panter
c9e08d8cb5
Issue #28000 : Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
...
Patch by Matthieu S.
2016-11-14 04:26:36 +00:00
Martin Panter
9544a365bd
Issue #28016 : Skip /dev/tty seekable() test on AIX
2016-11-14 01:58:57 +00:00
Martin Panter
efbf20f3a3
Issue #28678 : Fix references to numeric_owner parameter
2016-11-13 23:25:06 +00:00
Xavier de Gaye
547c1b9ace
Fix temporary file not deleted in test_socket
2016-11-13 19:39:48 +01:00
Ned Deily
7ae4112649
Issue #28676 : Prevent missing 'getentropy' declaration warning on macOS.
...
Patch by Gareth Rees.
2016-11-12 16:35:48 -05: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
6b4b6e956e
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:35:46 +02:00
Serhiy Storchaka
84293aff9f
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:29:48 +02:00
Serhiy Storchaka
b626643734
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:28:06 +02:00
Guido van Rossum
ae08687c3b
Issue 28644: Document recent changes in typing.py (Ivan L)
2016-11-11 15:54:04 -08: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
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
daeddc48a4
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:42:47 +02:00
Guido van Rossum
dad179075a
Issue #28649 : fix second issue with _ForwardRef ( #328 )
2016-11-10 08:29:18 -08:00
Guido van Rossum
c7b92950c9
Issue #28649 : fix first issue with _ForwardRef ( #327 )
2016-11-10 08:24:06 -08:00
Yury Selivanov
46a02db90b
Issue #28653 : Fix a refleak in functools.lru_cache.
2016-11-09 18:55:45 -05: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
9b10756019
Issue #28649 : typing-clear-caches.patch
2016-11-09 13:23:04 -08:00
Guido van Rossum
f9099de894
Issue #28649 : fix-typing-test-v2.diff
2016-11-09 13:18:59 -08:00
Guido van Rossum
991d14fee1
Issue #28556 : More typing.py updates from upstream.
2016-11-09 13:12:51 -08: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
d2fd3599ab
ssue #27942 : Fix memory leak in codeobject.c
2016-11-09 09:42:14 -05:00
Andrew Kuchling
58c534dd6c
Use http instead of https, due to certificate error
2016-11-08 22:33:31 -05:00
Andrew Kuchling
d58fc8b89e
Update URL for requests documentation after IRC request
2016-11-08 22:07:43 -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
33499b7eed
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
2016-11-08 19:19:28 -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
Serhiy Storchaka
70b72f0f96
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
...
Every opcode should end with DISPATCH() or goto error.
2016-11-08 23:12:46 +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
579f038018
Issue #28585 : Restored docstring of os._isdir().
2016-11-08 20:21:22 +02:00
Yury Selivanov
6ea2b8fc8b
Issue #28613 : Expose asyncio._get_running_loop() and _set_running_loop()
2016-11-07 19:00:46 -05:00
Yury Selivanov
49d6b8c0c3
Issue #28634 : Fix asyncio.isfuture() to support mocks
2016-11-07 16:00:50 -05:00
Yury Selivanov
3b3a141a83
Issue #27392 : Document loop.connect_accepted_socket()
...
Patch by Jim Fulton.
2016-11-07 15:35:25 -05:00
Berker Peksag
2ebd6feeae
Issue #28088 : Don't include self in method signature
...
Also update versionadded directive to 3.5.3.
2016-11-07 23:36:14 +03:00
Benjamin Peterson
db87c99444
make sure dict view types are initialized
2016-11-06 13:01:07 -08:00
Berker Peksag
cea632ece5
Issue #21864 : Remove outdated section about exceptions from the tutorial
...
Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".
2016-11-06 21:15:01 +03:00