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
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
Martin Panter
04b3d8b697
Fix spacing after C++ in documentation
2016-11-05 02:40:31 +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
Ned Deily
da4887a88d
Issue #28616 : Correct help for sys.version_info releaselevel component.
...
Patch by Anish Tambe.
2016-11-04 17:03:34 -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
INADA Naoki
1ea023e523
Issue #28088 : Document Transport.set_protocol and get_protocol
2016-11-04 16:33:47 +09:00
Yury Selivanov
c5420492cf
asyncio: Sync with upstream
2016-11-03 15:35:23 -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
Guido van Rossum
9e80eeb22d
Issue #26980 : Improve docs for create_unix_connection(). By Mariatta.
2016-11-03 14:17:25 -07:00
Serhiy Storchaka
a7c972e03b
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:37:01 +02: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
Serhiy Storchaka
72b34439bc
Fixed hyperlinks for tarfile CLI options.
2016-11-02 21:04:45 +02:00
Serhiy Storchaka
92c1a90462
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:06:15 +02:00
Ned Deily
38adbfa710
Issue #28248 : Update macOS installer build to use OpenSSL 1.0.2j.
...
Original patch by Mariatta Wijaya.
2016-10-31 19:51:58 -04:00
INADA Naoki
3e3e9f3667
Issue #28553 : Fix logic error in example code of int.to_bytes doc.
2016-10-31 17:41:47 +09: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
0bcd89b859
Issue #28549 : Fixed segfault in curses's addch() with ncurses6.
2016-10-30 22:52:06 +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
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
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
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
0438683939
Backed out changeset 9f7505019767 (issue #27275 ).
2016-10-30 17:17:24 +02:00
Martin Panter
b8c5f54248
Issue #26638 : Work around more CLI options that can’t be linked
...
* Cannot seem to link directly to main options from the “unittest” module,
because that module has its own set of options
* Mask out linking for options that no longer exist in Python 3
2016-10-30 04:20:23 +00:00
Martin Panter
5c67933940
Issue #26638 : Mask undefined CLI options to defeat new Sphinx warnings
2016-10-30 04:20:17 +00: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
b7dedc89f1
Issue #28556 : updates to typing.py (fix copy, deepcopy, pickle)
2016-10-29 12:44:29 -07:00
Guido van Rossum
5fc25a873c
Issue #28556 : updates to typing.py
2016-10-29 08:54:56 -07:00
Xavier de Gaye
84968b74c8
Issue #28444 : Fix missing extensions modules when cross compiling.
2016-10-29 16:57:20 +02:00
Steve Dower
43ab355e0e
Removes incorrect condition from lib_pdb.msi
2016-10-28 11:19:18 -07:00
Serhiy Storchaka
3ec5f421c5
Fixed possible NULL decrefing.
2016-10-28 12:14:34 +03:00