]>
granicus.if.org Git - python/log
Guido van Rossum [Thu, 10 Nov 2016 16:29:18 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328)
Guido van Rossum [Thu, 10 Nov 2016 16:24:06 +0000 (08:24 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327)
Yury Selivanov [Wed, 9 Nov 2016 23:55:45 +0000 (18:55 -0500)]
Issue #28653: Fix a refleak in functools.lru_cache.
Serhiy Storchaka [Wed, 9 Nov 2016 21:49:02 +0000 (23:49 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.
Guido van Rossum [Wed, 9 Nov 2016 21:23:04 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch
Guido van Rossum [Wed, 9 Nov 2016 21:18:59 +0000 (13:18 -0800)]
Issue #28649: fix-typing-test-v2.diff
Guido van Rossum [Wed, 9 Nov 2016 21:12:51 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream.
Yury Selivanov [Wed, 9 Nov 2016 20:47:00 +0000 (15:47 -0500)]
Issue #28652: Make loop methods reject socket kinds they do not support.
Yury Selivanov [Wed, 9 Nov 2016 14:42:14 +0000 (09:42 -0500)]
ssue #27942: Fix memory leak in codeobject.c
Andrew Kuchling [Wed, 9 Nov 2016 03:33:31 +0000 (22:33 -0500)]
Use http instead of https, due to certificate error
Andrew Kuchling [Wed, 9 Nov 2016 03:07:43 +0000 (22:07 -0500)]
Update URL for requests documentation after IRC request
Yury Selivanov [Wed, 9 Nov 2016 00:57:44 +0000 (19:57 -0500)]
Issue #28639: Fix inspect.isawaitable to always return bool
Patch by Justin Mayfield.
Yury Selivanov [Wed, 9 Nov 2016 00:19:28 +0000 (19:19 -0500)]
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
Yury Selivanov [Wed, 9 Nov 2016 00:16:01 +0000 (19:16 -0500)]
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.
Serhiy Storchaka [Tue, 8 Nov 2016 21:12:46 +0000 (23:12 +0200)]
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Every opcode should end with DISPATCH() or goto error.
Serhiy Storchaka [Tue, 8 Nov 2016 19:26:14 +0000 (21:26 +0200)]
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.
Serhiy Storchaka [Tue, 8 Nov 2016 19:20:09 +0000 (21:20 +0200)]
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.
Serhiy Storchaka [Tue, 8 Nov 2016 19:17:46 +0000 (21:17 +0200)]
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.
Serhiy Storchaka [Tue, 8 Nov 2016 18:21:22 +0000 (20:21 +0200)]
Issue #28585: Restored docstring of os._isdir().
Yury Selivanov [Tue, 8 Nov 2016 00:00:46 +0000 (19:00 -0500)]
Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop()
Yury Selivanov [Mon, 7 Nov 2016 21:00:50 +0000 (16:00 -0500)]
Issue #28634: Fix asyncio.isfuture() to support mocks
Yury Selivanov [Mon, 7 Nov 2016 20:35:25 +0000 (15:35 -0500)]
Issue #27392: Document loop.connect_accepted_socket()
Patch by Jim Fulton.
Berker Peksag [Mon, 7 Nov 2016 20:36:14 +0000 (23:36 +0300)]
Issue #28088: Don't include self in method signature
Also update versionadded directive to 3.5.3.
Benjamin Peterson [Sun, 6 Nov 2016 21:01:07 +0000 (13:01 -0800)]
make sure dict view types are initialized
Berker Peksag [Sun, 6 Nov 2016 18:15:01 +0000 (21:15 +0300)]
Issue #21864: Remove outdated section about exceptions from the tutorial
Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".
Serhiy Storchaka [Sun, 6 Nov 2016 16:44:42 +0000 (18:44 +0200)]
Issue #23996: Added _PyGen_SetStopIterationValue for safe raising
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
Martin Panter [Sat, 5 Nov 2016 02:40:31 +0000 (02:40 +0000)]
Fix spacing after C++ in documentation
Martin Panter [Sat, 5 Nov 2016 01:11:36 +0000 (01:11 +0000)]
Issue #28485: Check for negative workers even without ProcessPoolExecutor
This matches the documentation, and passes the test suite when multithreading
is disabled.
Ned Deily [Fri, 4 Nov 2016 21:03:34 +0000 (17:03 -0400)]
Issue #28616: Correct help for sys.version_info releaselevel component.
Patch by Anish Tambe.
Yury Selivanov [Fri, 4 Nov 2016 18:29:28 +0000 (14:29 -0400)]
Issue #28613: Fix get_event_loop() to return the current loop
when called from coroutines or callbacks.
INADA Naoki [Fri, 4 Nov 2016 07:33:47 +0000 (16:33 +0900)]
Issue #28088: Document Transport.set_protocol and get_protocol
Yury Selivanov [Thu, 3 Nov 2016 22:35:23 +0000 (15:35 -0700)]
asyncio: Sync with upstream
Yury Selivanov [Thu, 3 Nov 2016 22:09:24 +0000 (15:09 -0700)]
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.
Guido van Rossum [Thu, 3 Nov 2016 21:17:25 +0000 (14:17 -0700)]
Issue #26980: Improve docs for create_unix_connection(). By Mariatta.
Serhiy Storchaka [Thu, 3 Nov 2016 13:37:01 +0000 (15:37 +0200)]
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
Donald Stufft [Wed, 2 Nov 2016 19:53:58 +0000 (15:53 -0400)]
Merge new pip/setuptools from 3.4
Donald Stufft [Wed, 2 Nov 2016 19:42:49 +0000 (15:42 -0400)]
Upgrade pip to 9.0 and setuptools to 28.7.1
Serhiy Storchaka [Wed, 2 Nov 2016 19:04:45 +0000 (21:04 +0200)]
Fixed hyperlinks for tarfile CLI options.
Serhiy Storchaka [Wed, 2 Nov 2016 10:06:15 +0000 (12:06 +0200)]
Issue #28513: Documented command-line interface of zipfile.
Ned Deily [Mon, 31 Oct 2016 23:51:58 +0000 (19:51 -0400)]
Issue #28248: Update macOS installer build to use OpenSSL 1.0.2j.
Original patch by Mariatta Wijaya.
INADA Naoki [Mon, 31 Oct 2016 08:41:47 +0000 (17:41 +0900)]
Issue #28553: Fix logic error in example code of int.to_bytes doc.
Serhiy Storchaka [Mon, 31 Oct 2016 06:30:09 +0000 (08:30 +0200)]
Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
given empty data twice. Patch by Benjamin Fogle.
Serhiy Storchaka [Sun, 30 Oct 2016 20:52:06 +0000 (22:52 +0200)]
Issue #28549: Fixed segfault in curses's addch() with ncurses6.
Serhiy Storchaka [Sun, 30 Oct 2016 18:52:29 +0000 (20:52 +0200)]
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.
Serhiy Storchaka [Sun, 30 Oct 2016 17:33:54 +0000 (19:33 +0200)]
Issue #28385: An error message when non-empty format spec is passed to
object.__format__ now contains the name of actual type.
Serhiy Storchaka [Sun, 30 Oct 2016 17:16:33 +0000 (19:16 +0200)]
Issue #23262: The webbrowser module now supports Firefox 36+ and derived
browsers. Based on patch by Oleg Broytman.
Serhiy Storchaka [Sun, 30 Oct 2016 16:49:52 +0000 (18:49 +0200)]
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.
Serhiy Storchaka [Sun, 30 Oct 2016 15:17:24 +0000 (17:17 +0200)]
Backed out changeset
9f7505019767 (issue #27275).
Martin Panter [Sun, 30 Oct 2016 04:20:23 +0000 (04:20 +0000)]
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
Martin Panter [Sun, 30 Oct 2016 04:20:17 +0000 (04:20 +0000)]
Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings
Guido van Rossum [Sat, 29 Oct 2016 23:05:26 +0000 (16:05 -0700)]
Issue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]())
Guido van Rossum [Sat, 29 Oct 2016 19:44:29 +0000 (12:44 -0700)]
Issue #28556: updates to typing.py (fix copy, deepcopy, pickle)
Guido van Rossum [Sat, 29 Oct 2016 15:54:56 +0000 (08:54 -0700)]
Issue #28556: updates to typing.py
Xavier de Gaye [Sat, 29 Oct 2016 14:57:20 +0000 (16:57 +0200)]
Issue #28444: Fix missing extensions modules when cross compiling.
Steve Dower [Fri, 28 Oct 2016 18:19:18 +0000 (11:19 -0700)]
Removes incorrect condition from lib_pdb.msi
Serhiy Storchaka [Fri, 28 Oct 2016 09:14:34 +0000 (12:14 +0300)]
Fixed possible NULL decrefing.
Serhiy Storchaka [Fri, 28 Oct 2016 06:17:38 +0000 (09:17 +0300)]
Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable.
Serhiy Storchaka [Thu, 27 Oct 2016 19:47:08 +0000 (22:47 +0300)]
Issue #22949: Documented that fnmatch.translate() is for use with re.match().
Steve Dower [Thu, 27 Oct 2016 19:08:45 +0000 (12:08 -0700)]
Updates release build to collect symbols and binaries, and create nuget package.
Serhiy Storchaka [Thu, 27 Oct 2016 18:41:19 +0000 (21:41 +0300)]
Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
Serhiy Storchaka [Thu, 27 Oct 2016 16:31:49 +0000 (19:31 +0300)]
Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.
Zachary Ware [Wed, 26 Oct 2016 02:35:22 +0000 (21:35 -0500)]
Fix default role usage
Martin Panter [Tue, 25 Oct 2016 22:20:48 +0000 (22:20 +0000)]
Issue #26240: Clean up the subprocess module doc string
Patch by Tim Mitchell.
Serhiy Storchaka [Tue, 25 Oct 2016 17:18:31 +0000 (20:18 +0300)]
Issue #28353: Fixed tests of os.fwalk() with broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 12:33:23 +0000 (15:33 +0300)]
Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.
Serhiy Storchaka [Tue, 25 Oct 2016 12:00:52 +0000 (15:00 +0300)]
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.
Serhiy Storchaka [Tue, 25 Oct 2016 11:44:54 +0000 (14:44 +0300)]
Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Based on patch by Kaarle Ritvanen.
Serhiy Storchaka [Tue, 25 Oct 2016 11:28:38 +0000 (14:28 +0300)]
Issue #28353: os.fwalk() no longer fails on broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 07:37:01 +0000 (10:37 +0300)]
Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().
Serhiy Storchaka [Tue, 25 Oct 2016 07:13:43 +0000 (10:13 +0300)]
Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
Serhiy Storchaka [Tue, 25 Oct 2016 07:07:51 +0000 (10:07 +0300)]
Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
Benjamin Peterson [Tue, 25 Oct 2016 06:00:03 +0000 (23:00 -0700)]
fix name of keyword parameter to gc.collect() (closes #28525)
Patch from vierja.
Serhiy Storchaka [Mon, 24 Oct 2016 20:47:28 +0000 (23:47 +0300)]
Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
a workaround to Tix library bug.
Serhiy Storchaka [Sun, 23 Oct 2016 19:56:14 +0000 (22:56 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:32:30 +0000 (22:32 +0300)]
Issue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 12:55:09 +0000 (15:55 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 10:07:59 +0000 (13:07 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.
Guido van Rossum [Sat, 22 Oct 2016 14:55:18 +0000 (07:55 -0700)]
Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L.
Martin Panter [Sat, 22 Oct 2016 01:42:06 +0000 (01:42 +0000)]
Issue #28435: Avoid no_proxy environment variable interfering with tests
Patch by Piotr Szczepaniak.
Martin Panter [Sat, 22 Oct 2016 01:28:21 +0000 (01:28 +0000)]
Issue #26620: Fix ResourceWarning in test_urllib2_localnet
* Use context manager on urllib objects to ensure that they are closed on error
* Use self.addCleanup() to cleanup resources even if a test is interrupted
with CTRL+c
This backports a patch by Victor Stinner.
Guido van Rossum [Sat, 22 Oct 2016 00:30:29 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305)
Guido van Rossum [Fri, 21 Oct 2016 23:12:17 +0000 (16:12 -0700)]
Issue #28482: Skip a few test_typing tests if asyncio unavailable
Yury Selivanov [Fri, 21 Oct 2016 21:40:42 +0000 (17:40 -0400)]
Issue #26796: Don't configure the number of workers for default threadpool executor.
Initial patch by Hans Lawrenz.
Guido van Rossum [Fri, 21 Oct 2016 21:30:50 +0000 (14:30 -0700)]
Fix indent
Guido van Rossum [Fri, 21 Oct 2016 21:27:58 +0000 (14:27 -0700)]
Sync typing.py from upstream
Yury Selivanov [Fri, 21 Oct 2016 21:22:17 +0000 (17:22 -0400)]
Issue #26923: Fix asyncio.Gather to refuse being cancelled once all children are done.
Patch by Johannes Ebke.
Brett Cannon [Fri, 21 Oct 2016 19:53:40 +0000 (12:53 -0700)]
Issue #25152: Mention the deprecation of pyvenv
Brett Cannon [Fri, 21 Oct 2016 19:15:14 +0000 (12:15 -0700)]
Issue #28396: Remove any mention of .pyo files from the man page.
Thanks to Ville Skyttä for the patch.
Serhiy Storchaka [Fri, 21 Oct 2016 13:19:59 +0000 (16:19 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
Ned Deily [Thu, 20 Oct 2016 19:38:27 +0000 (15:38 -0400)]
Issue #24381: Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.
Yury Selivanov [Thu, 20 Oct 2016 17:06:30 +0000 (13:06 -0400)]
Issue #26010: Document CO_* constants
Serhiy Storchaka [Wed, 19 Oct 2016 16:37:20 +0000 (19:37 +0300)]
Issue #19795: Fixed formatting a table.
Serhiy Storchaka [Wed, 19 Oct 2016 15:30:05 +0000 (18:30 +0300)]
Issue #19795: Improved more markups of True/False.
Serhiy Storchaka [Wed, 19 Oct 2016 15:11:24 +0000 (18:11 +0300)]
Issue #19795: Fixed markup errors.
Serhiy Storchaka [Wed, 19 Oct 2016 13:43:42 +0000 (16:43 +0300)]
Issue #19795: Mark up True and False as literal text instead of bold.
Serhiy Storchaka [Wed, 19 Oct 2016 13:29:26 +0000 (16:29 +0300)]
Issue #19795: Mark up None as literal text.
Victor Stinner [Sun, 16 Oct 2016 17:14:23 +0000 (19:14 +0200)]
Issue #27896: Allow passing sphinx options to Doc/Makefile
Patch written by Julien Palard.
Serhiy Storchaka [Tue, 18 Oct 2016 10:23:18 +0000 (13:23 +0300)]
Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception
loss in PyTraceBack_Here().
Berker Peksag [Mon, 17 Oct 2016 21:34:46 +0000 (00:34 +0300)]
Fix default value of StreamReader.readuntil()
Reported by Sam Lunt on docs@p.o.
Victor Stinner [Mon, 17 Oct 2016 16:11:03 +0000 (18:11 +0200)]
Issue #28409: regrtest: fix the parser of command line arguments.