]> granicus.if.org Git - python/log
python
6 years agoFix docstring of Profiler class (GH-8651)
Miss Islington (bot) [Fri, 3 Aug 2018 10:18:45 +0000 (03:18 -0700)]
Fix docstring of Profiler class (GH-8651)

(cherry picked from commit 2ebd3813af9172fe1f9b2f6004edf6f1e1e5d9f1)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
6 years agoImprove the grammar in `range` documentation. (GH-8628)
Miss Islington (bot) [Fri, 3 Aug 2018 06:16:29 +0000 (23:16 -0700)]
Improve the grammar in `range` documentation. (GH-8628)

Remove unnecessary "that" in the sentence.
(cherry picked from commit b6efc2cf9701adfb901eec2fe6a418893739877a)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-34275: Make IDLE calltips always visible on Mac. (GH-8639)
Miss Islington (bot) [Fri, 3 Aug 2018 03:33:47 +0000 (20:33 -0700)]
bpo-34275: Make IDLE calltips always visible on Mac.  (GH-8639)

Some MacOS-tk combinations need .update_idletasks().
The call is both unneeded and innocuous on Linux and Windows.
Patch by Kevin Waltzer.
(cherry picked from commit 9beaef6225cdae972b1cccd5310828cc29bf9d33)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-27910: Update documentation of traceback module (GH-6116)
Miss Islington (bot) [Thu, 2 Aug 2018 17:00:57 +0000 (10:00 -0700)]
bpo-27910: Update documentation of traceback module (GH-6116)

In the documentation for the traceback module, the definitions of functions
extract_tb(), format_list() and classmethod StackSummary.from_list()
mention the old style 4-tuples that these functions used to return or accept.

Since Python 3.5, however, they return or accept a FrameSummary object
instead of a 4-tuple, or a StackSummary object instead of a list of 4-tuples.

Co-authored-by: torsava <torsava@redhat.com>
Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
(cherry picked from commit f394ee5eaf6d6d8f45e0478e77d4dbff25c6bea7)

6 years agobpo-34120: fix text viewer to call grab_release() only when needed (GH-8616)
Miss Islington (bot) [Thu, 2 Aug 2018 08:31:14 +0000 (01:31 -0700)]
bpo-34120: fix text viewer to call grab_release() only when needed (GH-8616)

(cherry picked from commit dd74369cb7b230b07ac3a031563406c8f2aae17f)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
6 years agobpo-34120: fix IDLE freezing after closing dialogs (GH-8603)
Miss Islington (bot) [Thu, 2 Aug 2018 07:14:24 +0000 (00:14 -0700)]
bpo-34120: fix IDLE freezing after closing dialogs (GH-8603)

Added missing .grab_release() calls to all places where we call .grab_set().
(cherry picked from commit 10ea9409ceb5da83cb380b610750551e26561044)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
6 years ago[3.6] bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532)...
Miss Islington (bot) [Tue, 31 Jul 2018 15:28:56 +0000 (08:28 -0700)]
[3.6] bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532) (GH-8587)

6 years ago[3.6] bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931) (GH-8584)
Serhiy Storchaka [Tue, 31 Jul 2018 09:58:58 +0000 (12:58 +0300)]
[3.6] bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931) (GH-8584)

* Fix integer overflow in os.readv(), os.writev() and in os.sendfile()
  with headers or trailers arguments (on BSD-based OSes and MacOS).

* Fix sending the part of the file in os.sendfile() on MacOS.
  Using the trailers argument could cause sending more bytes from
  the input file than was specified.

Thanks Ned Deily for testing on 32-bit MacOS.
(cherry picked from commit 9d5727326af53ddd91016d98e16ae7cf829caa95)

6 years agobpo-27671: Update FAQ about why len is function (GH-8432)
Miss Islington (bot) [Tue, 31 Jul 2018 05:56:27 +0000 (22:56 -0700)]
bpo-27671: Update FAQ about why len is function (GH-8432)

(cherry picked from commit c48e26dcadbff8620bb5881d3bd148fc8894d0ef)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
6 years agoUse 'for example' instead of 'in other words' in compound statement doc (GH-8401)
Miss Islington (bot) [Mon, 30 Jul 2018 19:47:24 +0000 (12:47 -0700)]
Use 'for example' instead of 'in other words' in compound statement doc (GH-8401)

(cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agoFix typos & formatting in Using Python on Windows doc (GH-8559)
Miss Islington (bot) [Mon, 30 Jul 2018 17:20:31 +0000 (10:20 -0700)]
Fix typos & formatting in Using Python on Windows doc (GH-8559)

(cherry picked from commit 8e7e8bd8984068e3245d64b9a21e6840880747af)

Co-authored-by: Segev Finer <segev208@gmail.com>
6 years agoUpdated MSI README to mention dependency on .NET 3.5. (GH-8375)
Miss Islington (bot) [Sun, 29 Jul 2018 10:25:09 +0000 (03:25 -0700)]
Updated MSI README to mention dependency on .NET 3.5. (GH-8375)

(cherry picked from commit c536beedd50b0071208b4108ba9b48a36ffced79)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
6 years agobpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. (GH...
Steve Dower [Sun, 29 Jul 2018 09:32:30 +0000 (10:32 +0100)]
bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. (GH-7911)

Co-authored-by: ValeriyaSinevich <valeriya.sinevich@phystech.edu>
6 years agobpo-8145: Improve isolation_level documentation (GH-8499)
Miss Islington (bot) [Sun, 29 Jul 2018 09:07:40 +0000 (02:07 -0700)]
bpo-8145: Improve isolation_level documentation (GH-8499)

Initial patch by R. David Murray.
(cherry picked from commit a71fed0b7596f1c11a2fa6c1b7311157148f5f9f)

Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
6 years agobpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-8464)
Miss Islington (bot) [Sun, 29 Jul 2018 09:02:16 +0000 (02:02 -0700)]
bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-8464)

(cherry picked from commit 5473f061f518aef5367a535999a407305fb12aff)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agobpo-29710: Clarify documentation for Bitwise binary operation (GH-1691)
Miss Islington (bot) [Sat, 28 Jul 2018 16:52:31 +0000 (09:52 -0700)]
bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691)

Mathematically, bitwise operations on integers behave as if there were an
infinite number of sign bits. Pragmatically, that gives the same answer as
using one extra sign bit for the bitwise logical operations.
(cherry picked from commit b4bc5cab82e6855e4ebc33ba0b669ddffad30fb3)

Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>
6 years agobpo-33476: Fix _header_value_parser when address group is missing final ';' (GH-7484)
Miss Islington (bot) [Sat, 28 Jul 2018 15:59:18 +0000 (08:59 -0700)]
bpo-33476: Fix _header_value_parser when address group is missing final ';' (GH-7484)

(cherry picked from commit 8fe9eed937cb69b5e26ac6e36a90b5360eb11277)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
6 years agobpo-33921: Clarify how to bind to all interfaces using socket (GH-7877)
Miss Islington (bot) [Sat, 28 Jul 2018 12:27:27 +0000 (05:27 -0700)]
bpo-33921: Clarify how to bind to all interfaces using socket (GH-7877)

Clarify how to bind to all interfaces using socket
(cherry picked from commit 95dfb9c3aefdc981d23af700b753a6c97159ccad)

Co-authored-by: johnthagen <johnthagen@users.noreply.github.com>
6 years ago[3.6] bpo-5978: Document that profiling needs cmd/function to return (GH-8515)
Andrés Delfino [Sat, 28 Jul 2018 12:24:35 +0000 (09:24 -0300)]
[3.6] bpo-5978: Document that profiling needs cmd/function to return (GH-8515)

<!-- issue-number: bpo-5978 -->
https://bugs.python.org/issue5978
<!-- /issue-number -->
(cherry picked from commit 937fb55d35373fd2701078251840b6be0465a6e1)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-30722: Fix NEWS entry (GH-8501)
Berker Peksag [Fri, 27 Jul 2018 16:17:53 +0000 (19:17 +0300)]
bpo-30722: Fix NEWS entry (GH-8501)

6 years ago[3.6] bpo-29097: Forego fold detection on windows for low timestamp values (GH-2385...
Ammar Askar [Fri, 27 Jul 2018 14:59:27 +0000 (07:59 -0700)]
[3.6] bpo-29097: Forego fold detection on windows for low timestamp values (GH-2385) (GH-8498)

On Windows, passing a negative value to local results in an OSError because localtime_s on Windows does not support negative timestamps. Unfortunately this means that fold detection for timestamps between 0 and max_fold_seconds will result in this OSError since we subtract max_fold_seconds from the timestamp to detect a fold. However, since we know there haven't been any folds in the interval [0, max_fold_seconds) in any timezone, we can hackily just forego fold detection for this time range on Windows..
(cherry picked from commit 96d1e69a12ed8ab80203277e1abdaf573457a964)

Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
6 years agobpo-34177: vsts: Avoid conflict with Homebrew Python (GH-8430)
INADA Naoki [Fri, 27 Jul 2018 09:03:53 +0000 (18:03 +0900)]
bpo-34177: vsts: Avoid conflict with Homebrew Python (GH-8430)

/usr/local/lib/pythonX.Y is used by Homebrew's Python already.
(cherry picked from commit 3e7d18a54b9243b9652c9ddab87c2b9153dc365f)

6 years agobpo-12743: Delete comment from marshal.rst (GH-8457)
Miss Islington (bot) [Fri, 27 Jul 2018 04:42:44 +0000 (21:42 -0700)]
bpo-12743: Delete comment from marshal.rst (GH-8457)

Also, update the list of exceptions that may raised by PyMarshal_*
functions. We usually don't document exceptions raised by a
function, but in this case most of them were already documented
in C API and standard library documentation.
(cherry picked from commit defcffdf86780e3a184ebb25dc9a7b807753d57a)

Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
6 years agobpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8470)
Miss Islington (bot) [Thu, 26 Jul 2018 14:02:22 +0000 (07:02 -0700)]
bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8470)

Enable and fix SMTPUTF8SimTests in test_smtplib.

The tests for SMTPUTF8SimTests in test_smtplib.py were not actually
being run because test_smtplib was still using the 'test_main' pattern,
and the class was never added to test_main.

Additionally, one of the tests needed to be moved to the non-UTF8 server
class because it relies on the server not being UTF-8 compatible (and it
had a bug in in).
(cherry picked from commit 48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51)

Co-authored-by: chason <chason@gmail.com>
6 years agobpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208)
Miss Islington (bot) [Wed, 25 Jul 2018 17:40:32 +0000 (10:40 -0700)]
bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208)

(cherry picked from commit c0f0a7669c73c0d444851dd4c5299de2479214cc)

Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com>
6 years agoFix site module documentation. (GH-8441)
Miss Islington (bot) [Tue, 24 Jul 2018 17:31:11 +0000 (10:31 -0700)]
Fix site module documentation. (GH-8441)

The script will exit with the number 0 (zero), instead of the letter O.
(cherry picked from commit 95d34c2a37f4c5046f6439abef881925d34fe4ac)

Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
6 years ago[3.6] bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351...
Serhiy Storchaka [Tue, 24 Jul 2018 12:06:59 +0000 (15:06 +0300)]
[3.6] bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351) (GH-8436)

Now base64.Error is always raised instead of UnboundLocalError or
OverflowError.
(cherry picked from commit ac0b3c2f4d86fc056b833a4e6b9a380741244a63)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years ago[3.6] bpo-34136: Make test_do_not_recreate_annotations more reliable. (GH-8364) ...
Miss Islington (bot) [Tue, 24 Jul 2018 12:06:19 +0000 (05:06 -0700)]
[3.6] bpo-34136: Make test_do_not_recreate_annotations more reliable. (GH-8364) (GH-8366)

(cherry picked from commit 06ca3f0c09d017b9d741553818459cca2d5da587)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. (GH-8262...
Miss Islington (bot) [Mon, 23 Jul 2018 22:41:48 +0000 (15:41 -0700)]
bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. (GH-8262) (GH-8424)

(cherry picked from commit aba24ff3601ddc86b85e01880a8be596fb799287)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33468: Add try-finally contextlib.contextmanager example (GH-7816) (GH-8426)
Miss Islington (bot) [Mon, 23 Jul 2018 21:38:24 +0000 (14:38 -0700)]
bpo-33468: Add try-finally contextlib.contextmanager example (GH-7816) (GH-8426)

(cherry picked from commit bde782bb594edffeabe978abeee2b7082ab9bc2a)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
6 years agobpo-33336, imaplib: Legalize MOVE command (GH-6569)
Miss Islington (bot) [Mon, 23 Jul 2018 13:17:25 +0000 (06:17 -0700)]
bpo-33336, imaplib: Legalize MOVE command (GH-6569)

imaplib now allows MOVE command in IMAP4.uid() (RFC 6851:
IMAP MOVE Extension) and potentially as a name of supported
method of IMAP4 object.
(cherry picked from commit caa331d492acc67d8f4edd16542cebfabbbe1e79)

Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
6 years agobpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406)
Miss Islington (bot) [Mon, 23 Jul 2018 12:34:20 +0000 (05:34 -0700)]
bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406)

When Python is installed on Windows, python -m test test_tools failed
because it tried to run Tools\scripts\2to3.py which requires an
argument. Skip this script. On other platforms or on Windows but when
run from source code (not installed), the script is called "2to3"
instead of "2to.py" and so was already skipped.

Modify also the unit test to unload all modules which have been
loaded by the test.
(cherry picked from commit 752d4b7531093c55d6f0a5846748f981d79b29d3)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-940286: Fix pydoc to show cross refs correctly (GH-8390)
Miss Islington (bot) [Mon, 23 Jul 2018 06:51:28 +0000 (23:51 -0700)]
bpo-940286: Fix pydoc to show cross refs correctly (GH-8390)

(cherry picked from commit d04f46c59f1d07d9bcc0ba910741296ac88d370d)

Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
6 years ago[3.6] bpo-34189: Add simple tests for new Tk widget options. (GH-8396) (GH-8399)
Serhiy Storchaka [Sun, 22 Jul 2018 19:14:45 +0000 (22:14 +0300)]
[3.6] bpo-34189: Add simple tests for new Tk widget options. (GH-8396) (GH-8399)

(cherry picked from commit e271ca78e37a502b3dc1036f824aa3999efcd56b)
(cherry picked from commit c75c1e0e8aeb720ac3fcfab119b70cabba4e8235)

6 years agobpo-34179: Make sure decimal context doesn't affect other tests. (GH-8376) (#8384)
Miss Islington (bot) [Sat, 21 Jul 2018 18:38:49 +0000 (11:38 -0700)]
bpo-34179:  Make sure decimal context doesn't affect other tests.  (GH-8376) (#8384)

(cherry picked from commit 938045f335b52ddb47076e9fbe4229a33b4bd9be)

Co-authored-by: Bo Bayles <bbayles@gmail.com>
6 years agobpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367)
Miss Islington (bot) [Sat, 21 Jul 2018 07:24:41 +0000 (00:24 -0700)]
bpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367)

(cherry picked from commit a692efe4733f98831cb51a9683877b152f754d14)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
6 years ago[3.6] bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8348)
Terry Jan Reedy [Fri, 20 Jul 2018 06:49:15 +0000 (02:49 -0400)]
[3.6] bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8348)

Cherry-picked from 2c5c0a3

6 years ago[3.6] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887)
Zachary Ware [Fri, 20 Jul 2018 02:51:18 +0000 (21:51 -0500)]
[3.6] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887)

(cherry picked from commit b12112b5ba608cdd7a0962a6b18cad4fe58b46e6)

6 years agobpo-32692: Fix test_threading.test_set_and_clear() (GH-8331)
Miss Islington (bot) [Thu, 19 Jul 2018 09:44:29 +0000 (02:44 -0700)]
bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331)

Increase the timeout: give timeout x 4 instead of timeout x 2 to
threads to wait until the Event is set, but reduce the sleep from 500
ms to 250 ms. So the test should be more reliable and faster!
(cherry picked from commit 81950495ba2c36056e0ce48fd37d514816c26747)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-34130: Fix test_signal.test_socket() (GH-8326) (GH-8330)
Miss Islington (bot) [Wed, 18 Jul 2018 17:02:06 +0000 (10:02 -0700)]
bpo-34130: Fix test_signal.test_socket() (GH-8326) (GH-8330)

test_signal.test_socket(): On Windows, sometimes even if the C signal handler
succeed to write the signal number into the write end of the socketpair, the
test fails with a BlockingIOError on the non-blocking read.recv(1) because the
read end of the socketpair didn't receive the byte yet.

Fix the race condition on Windows by setting the read end as blocking.
(cherry picked from commit 99bb6df66a42625367c4f38e6802c8bb527baf4a)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agoClarify ValueError's broad applicability (GH-8313) (GH-8317)
Miss Islington (bot) [Tue, 17 Jul 2018 20:24:27 +0000 (13:24 -0700)]
Clarify ValueError's broad applicability (GH-8313) (GH-8317)

(cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
6 years agobpo-24618: Add a check in the code constructor. (GH-8283) (GH-8311)
Serhiy Storchaka [Tue, 17 Jul 2018 07:33:55 +0000 (10:33 +0300)]
bpo-24618: Add a check in the code constructor. (GH-8283) (GH-8311)

Check that the size of the varnames tuple is enough at least for all arguments.
(cherry picked from commit bd47384e07bde38a8f18b90b4cea02a505d95c75)

6 years agobpo-34068: _io__IOBase_close_impl could call _PyObject_SetAttrId with an exception...
Serhiy Storchaka [Tue, 17 Jul 2018 07:33:14 +0000 (10:33 +0300)]
bpo-34068: _io__IOBase_close_impl could call _PyObject_SetAttrId with an exception set (GH-8282). (GH-8312)

(cherry picked from commit 28f07364f066792ceee93231dbb80ae8ad98b2bb)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agobpo-33967: Fix wrong use of assertRaises (GH-8306)
Miss Islington (bot) [Tue, 17 Jul 2018 05:38:28 +0000 (22:38 -0700)]
bpo-33967: Fix wrong use of assertRaises (GH-8306)

(cherry picked from commit 56d8f57b83a37b05a6f2fbc3e141bbc1ba6cb3a2)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
6 years agobpo-34124: Fix markup of message_from_binary_file() signature (GH-8297)
Miss Islington (bot) [Mon, 16 Jul 2018 19:41:48 +0000 (12:41 -0700)]
bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297)

(cherry picked from commit c9265c1534b7e62bb9b15460d0420c0c3bb57ff9)

Co-authored-by: Jon Ribbens <jribbens@gmail.com>
6 years agobpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) (GH-8295)
Miss Islington (bot) [Mon, 16 Jul 2018 09:26:49 +0000 (02:26 -0700)]
bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) (GH-8295)

It was added in test_functools at 445f1b3.
(cherry picked from commit 9e9b2c32a34594e901b5b9a03c561a2a2bf63ece)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years ago[3.6] bpo-34121: Fix detection of C11 atomic support on clang. (GH-8290)
Benjamin Peterson [Mon, 16 Jul 2018 00:48:46 +0000 (17:48 -0700)]
[3.6] bpo-34121: Fix detection of C11 atomic support on clang. (GH-8290)

(cherry picked from commit 15c7b2abdfb93f8902dd72474818aee2bf97fa66)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
6 years agobpo-34087: Backport tests for int/float/complex (GH-8274)
INADA Naoki [Sat, 14 Jul 2018 07:38:14 +0000 (16:38 +0900)]
bpo-34087: Backport tests for int/float/complex (GH-8274)

Cherrypick tests from 16dfca4d829e45f36e71bf43f83226659ce49315

While the regression is not in 3.6, it's worth to backport test cases
to 3.6 branch too.

6 years agobpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924)
Miss Islington (bot) [Fri, 13 Jul 2018 13:54:18 +0000 (06:54 -0700)]
bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924)

(cherry picked from commit 379e9d639a52766f79c7a206c5096c8333d1896f)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-33716, test_concurrent_futures: increase timeout (GH-7828) (GH-8264)
Victor Stinner [Thu, 12 Jul 2018 09:11:29 +0000 (11:11 +0200)]
bpo-33716, test_concurrent_futures: increase timeout (GH-7828) (GH-8264)

Increase the timeout from 1 min to 5 min.

Replace also time.time() with time.monotonic() for timeouts.

(cherry picked from commit 3ad8decd76c736f393755537aeb19b5612c21761)

6 years agobpo-34080: Fix a memory leak in the compiler. (GH-8222) (GH-8257)
Miss Islington (bot) [Wed, 11 Jul 2018 22:05:29 +0000 (15:05 -0700)]
bpo-34080: Fix a memory leak in the compiler. (GH-8222) (GH-8257)

(cherry picked from commit 993030aac576710a46b3dd0b4864f819d4a94145)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)
Miss Islington (bot) [Wed, 11 Jul 2018 17:10:40 +0000 (10:10 -0700)]
bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)

(cherry picked from commit 504373c59b48f1ea12132d515459022730db6047)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-34092, test_logging: increase SMTPHandlerTest timeout (GH-8245) (GH-8249)
Victor Stinner [Wed, 11 Jul 2018 11:14:36 +0000 (13:14 +0200)]
bpo-34092, test_logging: increase SMTPHandlerTest timeout (GH-8245) (GH-8249)

Change test_logging.SMTPHandlerTest timeout from 8 seconds to 1
minute. The test failed randomly on the slow x86 Gentoo Refleaks 3.7
buildbot.

(cherry picked from commit 31b50b8cbfbf49d5fc17c612cf0dfaa4d0c24983)

6 years agoDoc: Point to Simple statements section instead of PEP (GH-8238)
Miss Islington (bot) [Wed, 11 Jul 2018 10:52:27 +0000 (03:52 -0700)]
Doc: Point to Simple statements section instead of PEP (GH-8238)

(cherry picked from commit 33aefad3424853ff197c23431efec89d6598b19d)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agoFix documentation for input and output tutorial (GH-8231)
Miss Islington (bot) [Wed, 11 Jul 2018 01:08:43 +0000 (18:08 -0700)]
Fix documentation for input and output tutorial (GH-8231)

The ValueError message ends with a period.
(cherry picked from commit 9cffdbffc3b2dec18def1c3e8cfa166d01d609df)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
6 years agobpo-34031: fix incorrect usage of self.fail in two tests (GH-8091)
Miss Islington (bot) [Tue, 10 Jul 2018 10:13:06 +0000 (03:13 -0700)]
bpo-34031: fix incorrect usage of self.fail in two tests (GH-8091)

Contributed by Bradley Laney.
(cherry picked from commit 6b490b5db40fc29588e8e6cc23bb89c4fed74ad5)

Co-authored-by: Bradley Laney <bradley.laney@gmail.com>
6 years agobpo-33967: Fix singledispatch raised IndexError when no args (GH-8184)
Miss Islington (bot) [Tue, 10 Jul 2018 08:00:35 +0000 (01:00 -0700)]
bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184)

(cherry picked from commit 445f1b35ce8461268438c8a6b327ddc764287e05)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
6 years ago[3.6] prefix internal sqlite symbols with _pysqlite_ (GH-8215). (GH-8218)
Benjamin Peterson [Tue, 10 Jul 2018 05:36:41 +0000 (22:36 -0700)]
[3.6] prefix internal sqlite symbols with _pysqlite_ (GH-8215). (GH-8218)

(cherry picked from commit 7762e4d3872818272800dfbd8e1d8e3a689eb8f2)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
6 years agodelete some unused pysqlite forward declarations (GH-8211)
Miss Islington (bot) [Tue, 10 Jul 2018 04:02:49 +0000 (21:02 -0700)]
delete some unused pysqlite forward declarations (GH-8211)

(cherry picked from commit d6d4432724b12efc0d280b8eb80bca0deb8d4323)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
6 years ago[3.6] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. ...
Serhiy Storchaka [Mon, 9 Jul 2018 16:02:25 +0000 (19:02 +0300)]
[3.6] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159) (GH-8198)

This will prevent emitting a resource warning when the execution was
interrupted by Ctrl-C between calling open() and entering a 'with' block
in "with open()".
(cherry picked from commit 3f4d90d4d72921f16babd3f52d7df804916af224)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agoFixed several assertTrue() that were intended to be assertEqual(). (GH-8191)
Miss Islington (bot) [Mon, 9 Jul 2018 15:54:27 +0000 (08:54 -0700)]
Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191)

Fixed also testing the "always" warning filter.
(cherry picked from commit b796e7dcdc24ff7ec53044af041254c83a8ace21)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
6 years agobpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684). (GH-8193) (GH...
Miss Islington (bot) [Mon, 9 Jul 2018 11:38:27 +0000 (04:38 -0700)]
bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684). (GH-8193) (GH-8195)

(cherry picked from commit 2a9b8babf0d09946ebebfdb2931cc0d3db5a1d3d)
(cherry picked from commit 7c43b801503c802ed6ea4b811f5bc73791249d94)

6 years agoFix margin in sentinel and mock_open (GH-8188)
Miss Islington (bot) [Mon, 9 Jul 2018 00:52:44 +0000 (17:52 -0700)]
Fix margin in sentinel and mock_open (GH-8188)

(cherry picked from commit f85af035c5cb9a981f5e3164425f27cf73231b5f)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-34061: Document sqlite3.NotSupportedError (GH-8172)
Marcin Niemira [Sun, 8 Jul 2018 13:58:49 +0000 (15:58 +0200)]
bpo-34061: Document sqlite3.NotSupportedError (GH-8172)

(cherry picked from commit bc9aa813a34474e517af8999565ff6151559d42f)

Co-authored-by: Marcin Niemira <marcin@niemira.net>
6 years agobpo-33888: Use CPython instead of Python in the FAQ (GH-7767)
Miss Islington (bot) [Sat, 7 Jul 2018 23:50:33 +0000 (16:50 -0700)]
bpo-33888: Use CPython instead of Python in the FAQ (GH-7767)

Make the change where discussing the CPython implementation of lists and dicts.
(cherry picked from commit 8d41278045ee4e8bf1cadb58a7db58d70ad55237)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years ago[3.6] closes bpo-34050: Fix link in SSL docs (GH-8173) (GH-8178)
Benjamin Peterson [Sat, 7 Jul 2018 23:03:37 +0000 (16:03 -0700)]
[3.6] closes bpo-34050: Fix link in SSL docs (GH-8173) (GH-8178)

(cherry picked from commit 9c5ba097485c8c643b670acd4026f4382bc92f4b)

Co-authored-by: Marcin Niemira <marcin@niemira.net>
6 years agobpo-33702: Add some missing links in production lists and do a little polish (GH...
Miss Islington (bot) [Sat, 7 Jul 2018 21:09:20 +0000 (14:09 -0700)]
bpo-33702: Add some missing links in production lists and do a little polish (GH-7259)

(cherry picked from commit caccca78e46bf3c3b24e09b3afb1c1b08c39990c)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510)
Miss Islington (bot) [Sat, 7 Jul 2018 20:45:07 +0000 (13:45 -0700)]
bpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510)

(cherry picked from commit b6bb77c2b8e83ba6cb845c7b512ac564276e854f)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agoAdd missing closing parentheses (GH-8144)
Miss Islington (bot) [Sat, 7 Jul 2018 19:34:43 +0000 (12:34 -0700)]
Add missing closing parentheses (GH-8144)

(cherry picked from commit 03dd0e794e26afb5fa998d10ae2071e2cb0bc634)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agoFix moduleauthor/sectionauthor directives in Enum (GH-8117)
Miss Islington (bot) [Sat, 7 Jul 2018 19:30:40 +0000 (12:30 -0700)]
Fix moduleauthor/sectionauthor directives in Enum (GH-8117)

(cherry picked from commit 2d748389dc9c8d083f51c7d28761e088a5468c86)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agoMake various internal _testbuffer symbols static. (GH-8160)
Miss Islington (bot) [Sat, 7 Jul 2018 18:40:23 +0000 (11:40 -0700)]
Make various internal _testbuffer symbols static. (GH-8160)

(cherry picked from commit 6cfe45a5c3d41c08d09f319ea68065b10200b13f)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
6 years ago[3.6] bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153)...
Dong-hee Na [Sat, 7 Jul 2018 16:11:22 +0000 (01:11 +0900)]
[3.6] bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153). (GH-8155)

(cherry picked from commit 2800dcf656229c2ca4c90b4ddbace0717c41bb9e)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
6 years agoMake two PyModuleDef_Slot symbols static in _testmultiphase. (GH-8147)
Miss Islington (bot) [Sat, 7 Jul 2018 04:32:54 +0000 (21:32 -0700)]
Make two PyModuleDef_Slot symbols static in _testmultiphase. (GH-8147)

(cherry picked from commit cb4bae72c965ce946e0fdb48db67c73afdcb5649)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
6 years agobpo-34054: multiprocessing uses time.monotonic() (GH-8118)
Miss Islington (bot) [Fri, 6 Jul 2018 12:14:33 +0000 (05:14 -0700)]
bpo-34054: multiprocessing uses time.monotonic() (GH-8118)

The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeouts.
(cherry picked from commit c2368cbc83ca2bafeaea0e4760be4996046d0444)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agofix two typos in Objects/odictobject.c comments (GH-8040)
Miss Islington (bot) [Fri, 6 Jul 2018 12:08:43 +0000 (05:08 -0700)]
fix two typos in Objects/odictobject.c comments (GH-8040)

(cherry picked from commit 6f19fc6d5607040ee36153a64a2ed004582af91f)

Co-authored-by: Robert Krzyzanowski <technoguyrob@gmail.com>
6 years ago[3.6] bpo-33899: Make tokenize module mirror end-of-file is end-of-line behavior...
Ammar Askar [Fri, 6 Jul 2018 10:22:25 +0000 (06:22 -0400)]
[3.6] bpo-33899: Make tokenize module mirror end-of-file is end-of-line behavior (GH-7891) (GH-8134)

Most of the change involves fixing up the test suite, which previously made
the assumption that there wouldn't be a new line if the input didn't end in
one.

Contributed by Ammar Askar.

(cherry picked from commit c4ef4896eac86a6759901c8546e26de4695a1389)

6 years agoMake TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127)
Miss Islington (bot) [Fri, 6 Jul 2018 06:02:55 +0000 (23:02 -0700)]
Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127)

(cherry picked from commit 3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
6 years agoFix fuzz testing for marshal.loads(). (GH-8106)
Miss Islington (bot) [Thu, 5 Jul 2018 10:44:34 +0000 (03:44 -0700)]
Fix fuzz testing for marshal.loads(). (GH-8106)

(cherry picked from commit 09bb918a61031377d720f1a0fa1fe53c962791b6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336)
Miss Islington (bot) [Thu, 5 Jul 2018 08:48:47 +0000 (01:48 -0700)]
bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336)

(cherry picked from commit fc05e68d8fac70349b7ea17ec14e7e0cfa956121)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348) (GH-8092)
Miss Islington (bot) [Wed, 4 Jul 2018 23:04:03 +0000 (16:04 -0700)]
bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348) (GH-8092)

This commit fixes the -timedelta overfllow issue not documented properly.

Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
(cherry picked from commit 5b6e49a1393b3e2313471696e3568e26296137b4)

Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
6 years agobpo-32942: Fix environment dependent test_script_helper (GH-8034)
Miss Islington (bot) [Wed, 4 Jul 2018 10:46:15 +0000 (03:46 -0700)]
bpo-32942: Fix environment dependent test_script_helper (GH-8034)

Result of function interpreter_requires_environment() depends on os.environ.
This was not covered by the tests, leading to fail when PYTHONHOME was set.
(cherry picked from commit a390cb6b6fb6638e91d699513167e8f35b47f846)

Co-authored-by: Lorenz Mende <Lorenz.mende@gmail.com>
6 years agobpo-34040, multiprocessing: Fix test_forkserver_sigkill() (GH-8081)
Miss Islington (bot) [Wed, 4 Jul 2018 10:15:13 +0000 (03:15 -0700)]
bpo-34040, multiprocessing: Fix test_forkserver_sigkill() (GH-8081)

Fix test_forkserver_sigkill() of test_multiprocessing_forkserver:
give more time to the first child process to complete, double the
sleep in the parent process.

Reduce also the child process sleep from 1000 ms to 500 ms, to not change
the total duration of the test.
(cherry picked from commit 07888e1cce89e9bb7dc501e287b4cb126e01c378)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-34010: Fix tarfile read performance regression (GH-8020)
Miss Islington (bot) [Wed, 4 Jul 2018 08:43:42 +0000 (01:43 -0700)]
bpo-34010: Fix tarfile read performance regression (GH-8020)

During buffered read, use a list followed by join instead of extending a bytes object.
This is how it was done before but changed in commit b506dc32c1a.
(cherry picked from commit 12a08c47601cadea8e7d3808502cdbcca87b2ce2)

Co-authored-by: hajoscher <hajoscher@gmail.com>
6 years agoDon't export pending_threadfunc from _testcapi. (GH-8075)
Miss Islington (bot) [Wed, 4 Jul 2018 06:00:13 +0000 (23:00 -0700)]
Don't export pending_threadfunc from _testcapi. (GH-8075)

(cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
6 years agobpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918) (GH...
Miss Islington (bot) [Tue, 3 Jul 2018 20:17:46 +0000 (13:17 -0700)]
bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918) (GH-8069)

PyErr_Print() will not return when the exception is a SystemExit, so
decref the __main__ module object in that case.
(cherry picked from commit d8cba5d16f1333fd625726fc72e66afbd45b8d00)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agobpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042...
Miss Islington (bot) [Tue, 3 Jul 2018 12:37:26 +0000 (05:37 -0700)]
bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8067)

(cherry picked from commit 831c29721dcb1b768c6315a4b8a4059c4c97ee8b)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
6 years agobpo-34019: Fix wrong arguments for Opera Browser (GH-8047)
Miss Islington (bot) [Tue, 3 Jul 2018 12:16:56 +0000 (05:16 -0700)]
bpo-34019: Fix wrong arguments for Opera Browser (GH-8047)

The Opera Browser was using a outdated command line invocation that resulted in an incorrect URL being opened in the browser when requested using the webbrowser module.

* Correct the arguments passed to the Opera Browser when opening a new URL.
(cherry picked from commit 3cf1f154edb88c108877729ea09f4ac174697fea)

Co-authored-by: Bumsik Kim <k.bumsik@gmail.com>
6 years agobpo-33735: Fix test_multiprocessing random failure (GH-8059)
Miss Islington (bot) [Tue, 3 Jul 2018 11:51:00 +0000 (04:51 -0700)]
bpo-33735: Fix test_multiprocessing random failure (GH-8059)

When hunting memory leaks using -R 3:3, test_imap_unordered() of
test_multiprocessing leaks randomly a few memory blocks. It is a
false alarm: when testing using -R 3:20 for example, no leak is
detected.

Modify test_imap_unordered() to be closer to test_imap():

* Only test 10 numbers instead of 1000: it's a pool of 4 processes, so
  10 is enough to test at least one number per process
* Use chunksize=100 instead of chunksize=53 to mimick test_imap()
(cherry picked from commit 23401fb960bb94e6ea62d2999527968d53d3fc65)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-34006: Revert line length limit for Windows help docs (GH-8051)
Miss Islington (bot) [Mon, 2 Jul 2018 22:23:46 +0000 (15:23 -0700)]
bpo-34006: Revert line length limit for Windows help docs (GH-8051)

 The line-length limit is not needed because the pages appear in a separate app rather
 than on a browser tab.  It can also interact badly with the DPI setting.
(cherry picked from commit d824ca7f4df9b5f77cf02490b0e98c2408e21fee)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
6 years ago[3.6] bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008...
Xtreak [Mon, 2 Jul 2018 09:35:52 +0000 (15:05 +0530)]
[3.6] bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008). (GH-8045)

(cherry picked from commit 087570af6d5d39b51bdd5e660a53903960e58678)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
6 years agoDoc: Remove unused image file (GH-8027)
Miss Islington (bot) [Sat, 30 Jun 2018 18:31:17 +0000 (11:31 -0700)]
Doc: Remove unused image file (GH-8027)

(cherry picked from commit fe524df37cf3a8d4de291e7fc48257f96ff91bbe)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
6 years agobpo-25862: Fix several bugs in the _io module. (GH-8026)
Miss Islington (bot) [Sat, 30 Jun 2018 18:25:50 +0000 (11:25 -0700)]
bpo-25862: Fix several bugs in the _io module. (GH-8026)

They can be exposed when some C API calls fail due to lack of
memory.

* Failed Py_BuildValue() could cause an assertion error in the
  following TextIOWrapper.tell().
* input_chunk could be decrefed twice in TextIOWrapper.seek()
  after failed Py_BuildValue().
* initvalue could leak in StringIO.__getstate__() after failed
  PyDict_Copy().
(cherry picked from commit fdb5a50ef34f7951c3b01eb77b1359725a9ad670)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years ago[3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8025)
Tal Einat [Sat, 30 Jun 2018 13:15:53 +0000 (16:15 +0300)]
[3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8025)

* `flags` is indeed deprecated, but there is a validation on its value for
  backwards compatibility reasons.  This adds mention of this in the docs.
* The docs say that `sizehint` is deprecated and ignored, but it is still
  used when `epoll_create1()` is unavailable. This adds mention of this in
  the docs.
* `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`.
  This is needed to have a default value available at the Python level,
  since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938)
* Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`.

The relevant tests have also been updated.

(cherry picked from commit 0cdf5f42898350261c5ff65d96334e736130780f)

6 years agobpo-33974: Fix passing special characters to ttk widgets. (GH-7986)
Miss Islington (bot) [Sat, 30 Jun 2018 06:43:22 +0000 (23:43 -0700)]
bpo-33974: Fix passing special characters to ttk widgets. (GH-7986)

Fix passing lists and tuples of strings containing special characters
'"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets.
(cherry picked from commit 5bb5bbfca847524bab5f2368bdb48eedf5dba74f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years ago[3.6] bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918). (GH...
Zackery Spytz [Fri, 29 Jun 2018 19:30:07 +0000 (13:30 -0600)]
[3.6] bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918). (GH-8012)

(cherry picked from commit 23db935bcf258657682e66464bf8512def8af830)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agoFix the indentation in the documentation of bin() and hash() (GH-7998)
Miss Islington (bot) [Fri, 29 Jun 2018 10:17:43 +0000 (03:17 -0700)]
Fix the indentation in the documentation of bin() and hash() (GH-7998)

(cherry picked from commit bda9c3eae3ad16e43145599ac6359bfdcaf1fd4a)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-14117: Make minor tweaks to turtledemo (GH-8002)
Miss Islington (bot) [Fri, 29 Jun 2018 05:32:16 +0000 (22:32 -0700)]
bpo-14117: Make minor tweaks to turtledemo (GH-8002)

The 'wikipedia' example is now 'rosette', describing what it draws.
The 'penrose' print output is reduced.  The 'tree' '1024'
output is eliminated.
(cherry picked from commit 891a1f86d415779cf67ca23e626a868e586feb05)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993)
Miss Islington (bot) [Fri, 29 Jun 2018 02:22:39 +0000 (19:22 -0700)]
bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993)

(cherry picked from commit d904c238ca3551750cb97d15d827c3e525970867)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-31546: Fix input hook integration (GH-7978)
Miss Islington (bot) [Thu, 28 Jun 2018 17:47:54 +0000 (10:47 -0700)]
bpo-31546: Fix input hook integration (GH-7978)

(cherry picked from commit 9b9d58f0d88b338eb8d2ae0da5cd91d60d1b0e39)

Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
6 years agobpo-33958: Doc: Remove unused variable in example (GH-7927)
Miss Islington (bot) [Thu, 28 Jun 2018 06:45:28 +0000 (23:45 -0700)]
bpo-33958: Doc: Remove unused variable in example (GH-7927)

(cherry picked from commit 62b6cea6b843076cfd6631eccd9347e8c3dd9458)

Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com>