]> granicus.if.org Git - python/log
python
8 years agoIssue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
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.

8 years agoIssue #28385: An error message when non-empty format spec is passed to
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.

8 years agoIssue #23262: The webbrowser module now supports Firefox 36+ and derived
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.

8 years agoIssue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
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.

8 years agoBacked out changeset 9f7505019767 (issue #27275).
Serhiy Storchaka [Sun, 30 Oct 2016 15:17:24 +0000 (17:17 +0200)]
Backed out changeset 9f7505019767 (issue #27275).

8 years agoIssue #26638: Work around more CLI options that can’t be linked
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

8 years agoIssue #26638: Mask undefined CLI options to defeat new Sphinx warnings
Martin Panter [Sun, 30 Oct 2016 04:20:17 +0000 (04:20 +0000)]
Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings

8 years agoIssue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]())
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]())

8 years agoIssue #28556: updates to typing.py (fix copy, deepcopy, pickle)
Guido van Rossum [Sat, 29 Oct 2016 19:44:29 +0000 (12:44 -0700)]
Issue #28556: updates to typing.py (fix copy, deepcopy, pickle)

8 years agoIssue #28556: updates to typing.py
Guido van Rossum [Sat, 29 Oct 2016 15:54:56 +0000 (08:54 -0700)]
Issue #28556: updates to typing.py

8 years agoIssue #28444: Fix missing extensions modules when cross compiling.
Xavier de Gaye [Sat, 29 Oct 2016 14:57:20 +0000 (16:57 +0200)]
Issue #28444: Fix missing extensions modules when cross compiling.

8 years agoRemoves incorrect condition from lib_pdb.msi
Steve Dower [Fri, 28 Oct 2016 18:19:18 +0000 (11:19 -0700)]
Removes incorrect condition from lib_pdb.msi

8 years agoFixed possible NULL decrefing.
Serhiy Storchaka [Fri, 28 Oct 2016 09:14:34 +0000 (12:14 +0300)]
Fixed possible NULL decrefing.

8 years agoIssue #28353: Make test_os.WalkTests.test_walk_bad_dir stable.
Serhiy Storchaka [Fri, 28 Oct 2016 06:17:38 +0000 (09:17 +0300)]
Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable.

8 years agoIssue #22949: Documented that fnmatch.translate() is for use with re.match().
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().

8 years agoUpdates release build to collect symbols and binaries, and create nuget package.
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.

8 years agoIssue #28496: Mark up constants 0, 1 and -1 that denote return values or
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.

8 years agoIssue #28526: Use PyUnicode_AsEncodedString() instead of
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.

8 years agoFix default role usage
Zachary Ware [Wed, 26 Oct 2016 02:35:22 +0000 (21:35 -0500)]
Fix default role usage

8 years agoIssue #26240: Clean up the subprocess module doc string
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.

8 years agoIssue #28353: Fixed tests of os.fwalk() with broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 17:18:31 +0000 (20:18 +0300)]
Issue #28353: Fixed tests of os.fwalk() with broken links.

8 years agoIssue #27275: Fixed implementation of pop() and popitem() methods in
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.

8 years agoIssue #28255: calendar.TextCalendar().prmonth() no longer prints a space
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.

8 years agoIssue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
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.

8 years agoIssue #28353: os.fwalk() no longer fails on broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 11:28:38 +0000 (14:28 +0300)]
Issue #28353: os.fwalk() no longer fails on broken links.

8 years agoIssue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().
Serhiy Storchaka [Tue, 25 Oct 2016 07:37:01 +0000 (10:37 +0300)]
Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().

8 years agoIssue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
Serhiy Storchaka [Tue, 25 Oct 2016 07:13:43 +0000 (10:13 +0300)]
Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.

8 years agoIssue #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.

8 years agofix name of keyword parameter to gc.collect() (closes #28525)
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.

8 years agoIssue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
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.

8 years agoSome distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:56:14 +0000 (22:56 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.

8 years agoIssue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 19:32:30 +0000 (22:32 +0300)]
Issue #28115: ZIP creation test requires zlib.

8 years agoIssue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
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.

8 years agoIssue #28115: Added tests for CLI of the zipfile module.
Serhiy Storchaka [Sun, 23 Oct 2016 10:07:59 +0000 (13:07 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.

8 years agoIssue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function...
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.

8 years agoIssue #28435: Avoid no_proxy environment variable interfering with tests
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.

8 years agoIssue #26620: Fix ResourceWarning in test_urllib2_localnet
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.

8 years agoTwo minor typing.py fixes (upstream #305)
Guido van Rossum [Sat, 22 Oct 2016 00:30:29 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305)

8 years agoIssue #28482: Skip a few test_typing tests if asyncio unavailable
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

8 years agoIssue #26796: Don't configure the number of workers for default threadpool executor.
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.

8 years agoFix indent
Guido van Rossum [Fri, 21 Oct 2016 21:30:50 +0000 (14:30 -0700)]
Fix indent

8 years agoSync typing.py from upstream
Guido van Rossum [Fri, 21 Oct 2016 21:27:58 +0000 (14:27 -0700)]
Sync typing.py from upstream

8 years agoIssue #26923: Fix asyncio.Gather to refuse being cancelled once all children are...
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.

8 years agoIssue #25152: Mention the deprecation of pyvenv
Brett Cannon [Fri, 21 Oct 2016 19:53:40 +0000 (12:53 -0700)]
Issue #25152: Mention the deprecation of pyvenv

8 years agoIssue #28396: Remove any mention of .pyo files from the man page.
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.

8 years agoIssue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
Serhiy Storchaka [Fri, 21 Oct 2016 13:19:59 +0000 (16:19 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().

8 years agoIssue #24381: Avoid unused function warning when building bundled macOS libffi.
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.

8 years agoIssue #26010: Document CO_* constants
Yury Selivanov [Thu, 20 Oct 2016 17:06:30 +0000 (13:06 -0400)]
Issue #26010: Document CO_* constants

8 years agoIssue #19795: Fixed formatting a table.
Serhiy Storchaka [Wed, 19 Oct 2016 16:37:20 +0000 (19:37 +0300)]
Issue #19795: Fixed formatting a table.

8 years agoIssue #19795: Improved more markups of True/False.
Serhiy Storchaka [Wed, 19 Oct 2016 15:30:05 +0000 (18:30 +0300)]
Issue #19795: Improved more markups of True/False.

8 years agoIssue #19795: Fixed markup errors.
Serhiy Storchaka [Wed, 19 Oct 2016 15:11:24 +0000 (18:11 +0300)]
Issue #19795: Fixed markup errors.

8 years agoIssue #19795: Mark up True and False as literal text instead of bold.
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.

8 years agoIssue #19795: Mark up None as literal text.
Serhiy Storchaka [Wed, 19 Oct 2016 13:29:26 +0000 (16:29 +0300)]
Issue #19795: Mark up None as literal text.

8 years agoIssue #27896: Allow passing sphinx options to Doc/Makefile
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.

8 years agoIssue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception
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().

8 years agoFix default value of StreamReader.readuntil()
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.

8 years agoIssue #28409: regrtest: fix the parser of command line arguments.
Victor Stinner [Mon, 17 Oct 2016 16:11:03 +0000 (18:11 +0200)]
Issue #28409: regrtest: fix the parser of command line arguments.

8 years agoIssue #28455: Clarify example of overriding the convert_arg_line_to_args method
Berker Peksag [Mon, 17 Oct 2016 03:14:17 +0000 (06:14 +0300)]
Issue #28455: Clarify example of overriding the convert_arg_line_to_args method

Patch by Mariatta Wijaya.

8 years agoremove extra PyErr_Format arguments (closes #28454)
Benjamin Peterson [Sun, 16 Oct 2016 22:41:46 +0000 (15:41 -0700)]
remove extra PyErr_Format arguments (closes #28454)

Patch from Xiang Zhang.

8 years agoIssue #28432: Fix first parameter name in PyUnicode_EncodeLocale documentation
Berker Peksag [Sun, 16 Oct 2016 21:45:56 +0000 (00:45 +0300)]
Issue #28432: Fix first parameter name in PyUnicode_EncodeLocale documentation

Patch by Xiang Zhang.

8 years agoRemove spurious article.
Ned Deily [Sat, 15 Oct 2016 19:12:03 +0000 (15:12 -0400)]
Remove spurious article.

8 years agoIssue #27800: Document limitation and workaround for multiple RE repetitions
Martin Panter [Sat, 15 Oct 2016 01:18:16 +0000 (01:18 +0000)]
Issue #27800: Document limitation and workaround for multiple RE repetitions

8 years agoIssue #23231: Document codecs.iterencode(), iterdecode() shortcomings
Martin Panter [Sat, 15 Oct 2016 00:56:47 +0000 (00:56 +0000)]
Issue #23231: Document codecs.iterencode(), iterdecode() shortcomings

8 years agoIssue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang.
Senthil Kumaran [Fri, 14 Oct 2016 05:58:47 +0000 (22:58 -0700)]
Issue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang.

8 years agoIssue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No...
Guido van Rossum [Thu, 13 Oct 2016 21:31:50 +0000 (14:31 -0700)]
Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes.

8 years agoIssue #26869: Document unittest.TestCase.longMessage. (Mariatta)
Guido van Rossum [Thu, 13 Oct 2016 21:23:01 +0000 (14:23 -0700)]
Issue #26869: Document unittest.TestCase.longMessage. (Mariatta)

8 years agoIssue #21443: Show how to change log level for asyncio.
Guido van Rossum [Thu, 13 Oct 2016 20:56:40 +0000 (13:56 -0700)]
Issue #21443: Show how to change log level for asyncio.

8 years agoIssue #24452: Make webbrowser support Chrome on Mac OS X.
Guido van Rossum [Thu, 13 Oct 2016 18:17:27 +0000 (11:17 -0700)]
Issue #24452: Make webbrowser support Chrome on Mac OS X.

8 years agoIssue #20766: Fix references leaked by pdb in the handling of SIGINT handlers.
Xavier de Gaye [Wed, 12 Oct 2016 18:13:24 +0000 (20:13 +0200)]
Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers.

8 years agoIssue #28248: Merge with 3.4
Zachary Ware [Tue, 11 Oct 2016 03:11:12 +0000 (22:11 -0500)]
Issue #28248: Merge with 3.4

8 years agoIssue #28248: Update Windows build to use OpenSSL 1.0.2j
Zachary Ware [Tue, 11 Oct 2016 02:57:20 +0000 (21:57 -0500)]
Issue #28248: Update Windows build to use OpenSSL 1.0.2j

8 years agoIssue #28394: Spelling and typo fixes in code comments and changelog
Martin Panter [Mon, 10 Oct 2016 00:24:34 +0000 (00:24 +0000)]
Issue #28394: Spelling and typo fixes in code comments and changelog

Includes patch by Ville Skyttä.

8 years agoIssue #28339: Remove ByteString.register(memoryview(...)) from typing.py.
Guido van Rossum [Sun, 9 Oct 2016 17:02:49 +0000 (10:02 -0700)]
Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py.

8 years agoIssue #27972: Prohibit Tasks to await on themselves.
Yury Selivanov [Sun, 9 Oct 2016 16:19:12 +0000 (12:19 -0400)]
Issue #27972: Prohibit Tasks to await on themselves.

8 years agoIssue #28399: Remove UNIX socket from FS before binding.
Yury Selivanov [Sun, 9 Oct 2016 16:15:08 +0000 (12:15 -0400)]
Issue #28399: Remove UNIX socket from FS before binding.

Patch by Коренберг Марк.

8 years agoIssue #28389: Fix ProxiedTransport example in xmlrpc.client documentation
Berker Peksag [Sun, 9 Oct 2016 15:18:21 +0000 (18:18 +0300)]
Issue #28389: Fix ProxiedTransport example in xmlrpc.client documentation

8 years agoMerge further typing.py changes from upstream.
Guido van Rossum [Sun, 9 Oct 2016 03:27:22 +0000 (20:27 -0700)]
Merge further typing.py changes from upstream.

8 years agoAdjust ClassVar example to use pre-PEP-526 syntax. (Issue #28388)
Guido van Rossum [Sun, 9 Oct 2016 03:12:54 +0000 (20:12 -0700)]
Adjust ClassVar example to use pre-PEP-526 syntax. (Issue #28388)

8 years agoIssue #28388: update typing module documentation.
Guido van Rossum [Sun, 9 Oct 2016 03:06:56 +0000 (20:06 -0700)]
Issue #28388: update typing module documentation.

8 years agoIssue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().
Serhiy Storchaka [Sat, 8 Oct 2016 19:45:38 +0000 (22:45 +0300)]
Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().
Patch by Xiang Zhang.

8 years agoIssue #28376: The type of long range iterator is now registered as Iterator.
Serhiy Storchaka [Sat, 8 Oct 2016 19:04:12 +0000 (22:04 +0300)]
Issue #28376: The type of long range iterator is now registered as Iterator.
Patch by Oren Milman.

8 years agoIssue #28376: The constructor of range_iterator now checks that step is not 0.
Serhiy Storchaka [Sat, 8 Oct 2016 18:43:11 +0000 (21:43 +0300)]
Issue #28376: The constructor of range_iterator now checks that step is not 0.
Patch by Oren Milman.

8 years agoIssue #28376: Fixed typos.
Serhiy Storchaka [Sat, 8 Oct 2016 18:33:59 +0000 (21:33 +0300)]
Issue #28376: Fixed typos.
Based on patch by Oren Milman.

8 years agoIssue #26906: Resolving special methods of uninitialized type now causes
Serhiy Storchaka [Sat, 8 Oct 2016 09:24:09 +0000 (12:24 +0300)]
Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.

8 years agoIssue #25783: Fixed test_traceback when run directly (without regrtest).
Serhiy Storchaka [Fri, 7 Oct 2016 20:45:42 +0000 (23:45 +0300)]
Issue #25783: Fixed test_traceback when run directly (without regrtest).

8 years agoIssue #28257: Improved error message when pass a non-mapping as a var-keyword
Serhiy Storchaka [Fri, 7 Oct 2016 20:32:41 +0000 (23:32 +0300)]
Issue #28257: Improved error message when pass a non-mapping as a var-keyword
argument.

8 years agoIssue #18287: PyType_Ready() now checks that tp_name is not NULL.
Serhiy Storchaka [Fri, 7 Oct 2016 20:24:35 +0000 (23:24 +0300)]
Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.

8 years agoIssue #26293: Fixed writing ZIP files that starts not from the start of the
Serhiy Storchaka [Fri, 7 Oct 2016 19:20:50 +0000 (22:20 +0300)]
Issue #26293: Fixed writing ZIP files that starts not from the start of the
file.  Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.

8 years agoIssue #24098: Fixed possible crash when AST is changed in process of
Serhiy Storchaka [Fri, 7 Oct 2016 18:51:28 +0000 (21:51 +0300)]
Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.

8 years agoasyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection
Yury Selivanov [Fri, 7 Oct 2016 16:39:57 +0000 (12:39 -0400)]
asyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection

8 years agoNull merge with 3.4
Yury Selivanov [Thu, 6 Oct 2016 18:05:17 +0000 (14:05 -0400)]
Null merge with 3.4

8 years agoIssue #27759: Fix selectors incorrectly retain invalid file descriptors.
Yury Selivanov [Thu, 6 Oct 2016 18:03:03 +0000 (14:03 -0400)]
Issue #27759: Fix selectors incorrectly retain invalid file descriptors.

(Backported to 3.4 as this bug might be exploited to for DoS)

8 years agoensure read size is initialized
Benjamin Peterson [Thu, 6 Oct 2016 06:32:09 +0000 (23:32 -0700)]
ensure read size is initialized

8 years agodo not leak buffer if mmap is not writable
Benjamin Peterson [Thu, 6 Oct 2016 06:29:07 +0000 (23:29 -0700)]
do not leak buffer if mmap is not writable

8 years agoskip test on windows
Benjamin Peterson [Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)]
skip test on windows

8 years agofix bug in 48797808a302
Benjamin Peterson [Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)]
fix bug in 48797808a302

8 years agoskip test if resizing is not supported
Benjamin Peterson [Thu, 6 Oct 2016 05:00:05 +0000 (22:00 -0700)]
skip test if resizing is not supported

8 years agommap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
Benjamin Peterson [Thu, 6 Oct 2016 04:45:48 +0000 (21:45 -0700)]
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow

8 years agoasyncio: Add "call_connection_made" arg to SSLProtocol.__init__
Yury Selivanov [Wed, 5 Oct 2016 23:39:54 +0000 (19:39 -0400)]
asyncio: Add "call_connection_made" arg to SSLProtocol.__init__

Issue #23749: With this change it's possible to implement starttls
as a separate package on PyPI, or even by copying/pasting a small
snipped of code in your project.

It's expected that we'll figure out the API design for starttls
during 3.6, so that we can add it in 3.7.

8 years agoIssue #28372: Fix asyncio to support formatting of non-python coroutines
Yury Selivanov [Wed, 5 Oct 2016 23:32:49 +0000 (19:32 -0400)]
Issue #28372: Fix asyncio to support formatting of non-python coroutines