]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
6 years agobpo-36421: Fix a possible double decref in _ctypes.c's PyCArrayType_new(). (GH-12530)
Miss Islington (bot) [Mon, 25 Mar 2019 08:34:26 +0000 (01:34 -0700)] 
bpo-36421: Fix a possible double decref in _ctypes.c's PyCArrayType_new(). (GH-12530)

Set type_attr to NULL after the assignment to stgdict->proto (like
what is done with stgdict after the Py_SETREF() call) so that it is
not decrefed twice on error.
(cherry picked from commit 5e333784f007950f22de44c1ffab5b0c03d6691f)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agobpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) GH-12532)
Miss Islington (bot) [Mon, 25 Mar 2019 07:47:55 +0000 (00:47 -0700)] 
bpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) GH-12532)

(cherry picked from commit dd5417afcf8924bcdd7077351941ad21727ef644)

Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
6 years agobpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)
Miss Islington (bot) [Sun, 24 Mar 2019 23:53:13 +0000 (16:53 -0700)] 
bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)

(cherry picked from commit 113d735e2091427f9623097d2a222dd99b16b568)

Co-authored-by: Louie Lu <git@louie.lu>
6 years agobpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are namedtuples...
Miss Islington (bot) [Sun, 24 Mar 2019 21:56:27 +0000 (14:56 -0700)] 
bpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are namedtuples (GH-4434)

(cherry picked from commit 13c1f72cd1d91fdc2654f2f57356b2eacb75f164)

Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
6 years agobpo-36405: IDLE - Restore __main__ and add tests (GH-12518)
Miss Islington (bot) [Sun, 24 Mar 2019 21:32:40 +0000 (14:32 -0700)] 
bpo-36405: IDLE - Restore __main__ and add tests (GH-12518)

Fix error in commit 2b75155 noticed by Serhiy Storchaka.
(cherry picked from commit 0fe4513d9a5510ae91c0da7eb0433f79a6d4dda9)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years ago[3.7] Replace "DOS box" with link to Windows FAQ. (GH-12390) (GH-12525)
Miss Islington (bot) [Sun, 24 Mar 2019 19:12:05 +0000 (12:12 -0700)] 
[3.7] Replace "DOS box" with link to Windows FAQ. (GH-12390) (GH-12525)

(cherry picked from commit 6661c1720ebd322e2cb6995a243e8dc6e588d931)

Co-authored-by: Ned Deily <nad@python.org>
6 years agobpo-32217: Correct usage of ABI tags in freeze. (GH-4719)
Miss Islington (bot) [Sat, 23 Mar 2019 16:47:40 +0000 (09:47 -0700)] 
bpo-32217: Correct usage of ABI tags in freeze. (GH-4719)

Check for sys.abiflags before using since not all platforms have it defined.
(cherry picked from commit a7987e71939fa631296f83861fb376361ddd59ee)

Co-authored-by: AraHaan <15173749+AraHaan@users.noreply.github.com>
6 years agobpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203)
Miss Islington (bot) [Sat, 23 Mar 2019 12:21:46 +0000 (05:21 -0700)] 
bpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203)

* Add tests for grep findfiles.
* Move findfiles to module function.
* Change findfiles to use os.walk.

Based on a patch by Al Sweigart.
(cherry picked from commit d60f658fc0278f3fcdadec8ddcab35b8ae03e1d1)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-36405: Use dict unpacking in idlelib (GH-12507)
Miss Islington (bot) [Sat, 23 Mar 2019 08:08:37 +0000 (01:08 -0700)] 
bpo-36405: Use dict unpacking in idlelib (GH-12507)

Remove now unneeded imports.
(cherry picked from commit 2b75155590eb42d25e474b776ee9fdcc4b3dc840)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-33319: Clarify subprocess call docs. (GH-12508)
Miss Islington (bot) [Sat, 23 Mar 2019 07:46:15 +0000 (00:46 -0700)] 
bpo-33319: Clarify subprocess call docs. (GH-12508)

Clarify capturing or suppressing stdout and stderr on the old call APIs.

Do not state that they are equivalent to run() calls when they are not implemented using run as that was misleading. Unlike run they cannot handle stdout or stderr being set to PIPE without a risk of deadlock.
(cherry picked from commit 7a2e84c3488cfd6c108c6b41ff040825f1757566)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
6 years agobpo-35155: clarify protocol handler method naming (GH-10313)
Miss Islington (bot) [Fri, 22 Mar 2019 23:30:04 +0000 (16:30 -0700)] 
bpo-35155: clarify protocol handler method naming (GH-10313)

Clarify that the naming of protocol handler methods shouldn't be literally called "protocol" but should be named after the actual protocol.

https://bugs.python.org/issue35155
(cherry picked from commit dd7c4ceed90792f711347024852d4cf883a9ab9e)

Co-authored-by: Denton Liu <liu.denton+github@gmail.com>
6 years agobpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)
Miss Islington (bot) [Fri, 22 Mar 2019 22:42:51 +0000 (15:42 -0700)] 
bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)

This param was only used once and changed the return type.
(cherry picked from commit c1419578a18d787393c7ccee149e7c1fff17a99e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-35284: Fix the error handling in the compiler's compiler_call(). (GH-10625) ...
Zackery Spytz [Fri, 22 Mar 2019 13:20:49 +0000 (07:20 -0600)] 
bpo-35284: Fix the error handling in the compiler's compiler_call(). (GH-10625) (GH-12496)

compiler_call() needs to check if an error occurred during the
maybe_optimize_method_call() call.
(cherry picked from commit 97f5de01adf993aee17dcd26e22ae421d013f372)

6 years agobpo-23984: Improve descriptor documentation (GH-1034) (GH-12459)
Miss Islington (bot) [Fri, 22 Mar 2019 08:04:21 +0000 (01:04 -0700)] 
bpo-23984: Improve descriptor documentation (GH-1034) (GH-12459)

6 years agoRaise the timeout in test_multiprocessing_* for slow buildbots (GH-12489)
Miss Islington (bot) [Fri, 22 Mar 2019 07:54:32 +0000 (00:54 -0700)] 
Raise the timeout in test_multiprocessing_* for slow buildbots (GH-12489)

(cherry picked from commit 40b6907b377cfc8c4743007894364ac8c5a1c113)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
6 years agobpo-36256: Fix bug in parsermodule when parsing if statements (GH-12488) 12493/head
Miss Islington (bot) [Thu, 21 Mar 2019 23:56:20 +0000 (16:56 -0700)] 
bpo-36256: Fix bug in parsermodule when parsing if statements (GH-12488)

bpo-36256: Fix bug in parsermodule when parsing if statements

In the parser module, when validating nodes before starting the parsing with to create a ST in "parser_newstobject" there is a problem that appears when two arcs in the same DFA state has transitions with labels with the same type. For example, the DFA for if_stmt has a state with
two labels with the same type: "elif" and "else" (type NAME). The algorithm tries one by one the arcs until the label that starts the arc transition has a label with the same type of the current child label we are trying to accept. In this case, the arc for "elif" comes before the arc for "else"and passes this test (because the current child label is "else" and has the same type as "elif"). This lead to expecting a namedexpr_test (305) instead of a colon (11). The solution is to compare also the string representation (in case there is one) of the labels to see if the transition that we have is the correct one.
(cherry picked from commit 9a0000d15d27361eaa47b77600c7c00a9787a894)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
6 years agoFix registry key for Windows SDK detection (GH-12445)
Miss Islington (bot) [Thu, 21 Mar 2019 21:54:59 +0000 (14:54 -0700)] 
Fix registry key for Windows SDK detection (GH-12445)

(cherry picked from commit aedc273fd90e31c7a20904568de3115f8957395b)

Co-authored-by: Isuru Fernando <isuruf@gmail.com>
6 years agobpo-35978: Correctly skips venv tests in venvs (GH-12220)
Miss Islington (bot) [Thu, 21 Mar 2019 17:33:40 +0000 (10:33 -0700)] 
bpo-35978: Correctly skips venv tests in venvs (GH-12220)

Also fixes venvs from the build directory on Windows.
(cherry picked from commit 8bba81fd55873148c65b7d0e6a6effbd63048c76)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agobpo-36245: Avoid problems when building in a directory containing spaces. (GH-12241)
Miss Islington (bot) [Thu, 21 Mar 2019 16:25:11 +0000 (09:25 -0700)] 
bpo-36245: Avoid problems when building in a directory containing spaces. (GH-12241)

(cherry picked from commit 7ee88bf3e59493137a775368165c5c5fe1ed7f46)

Co-authored-by: Jess <jess@gmail.com>
6 years agobpo-36312: Fix decoders for some code pages. (GH-12369)
Miss Islington (bot) [Thu, 21 Mar 2019 04:31:57 +0000 (21:31 -0700)] 
bpo-36312: Fix decoders for some code pages. (GH-12369)

(cherry picked from commit c1e2c288f41cdc1c6e6e09d9a5277a58232ceb03)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-36367: Free buffer if realloc fails in tokenize.c (GH-12442) (GH-12471)
Victor Stinner [Wed, 20 Mar 2019 12:03:11 +0000 (13:03 +0100)] 
bpo-36367: Free buffer if realloc fails in tokenize.c (GH-12442) (GH-12471)

6 years ago[3.7] bpo-35564: add master_doc='contents' to conf.py (GH-12460)
Julien Palard [Wed, 20 Mar 2019 09:40:30 +0000 (10:40 +0100)] 
[3.7] bpo-35564: add master_doc='contents' to conf.py (GH-12460)

(cherry picked from commit fc8284e22074af8154e9865c8391b955f13a308b)

Co-authored-by: Jean-François B <jfbu@free.fr>
6 years agoFix compiler warning in call_readline() (GH-10820) (GH-12452)
Victor Stinner [Wed, 20 Mar 2019 00:00:41 +0000 (01:00 +0100)] 
Fix compiler warning in call_readline() (GH-10820) (GH-12452)

Replace strncpy() with memcpy() in call_readline() to fix the
following warning, the NUL byte is written manually just after:

Modules/readline.c: In function ‘call_readline’:
Modules/readline.c:1303:9: warning: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length
[-Wstringop-truncation]
         strncpy(p, q, n);
         ^~~~~~~~~~~~~~~~
Modules/readline.c:1279:9: note: length computed here
     n = strlen(p);
         ^~~~~~~~~

(cherry picked from commit 1600f60414e620c4298c15dac803427d8f0a977c)

6 years agobpo-36365: Fix compiler warning in structseq.c (GH-12451)
Victor Stinner [Tue, 19 Mar 2019 23:32:11 +0000 (00:32 +0100)] 
bpo-36365: Fix compiler warning in structseq.c (GH-12451)

6 years agobpo-36236: Handle removed cwd at Python init (GH-12450)
Victor Stinner [Tue, 19 Mar 2019 23:30:45 +0000 (00:30 +0100)] 
bpo-36236: Handle removed cwd at Python init (GH-12450)

At Python initialization, the current directory is no longer
prepended to sys.path if it has been removed.

6 years agobpo-36356: pymain_free() calls _PyRuntime_Finalize() (GH-12436)
Victor Stinner [Tue, 19 Mar 2019 14:08:17 +0000 (15:08 +0100)] 
bpo-36356: pymain_free() calls _PyRuntime_Finalize() (GH-12436)

Ensure that _PyRuntime_Finalize() is always call. This change fix a
few memory leaks when running "python3 -V".

6 years agobpo-36307: Travis: upgrade to Xenial environment (GH-12356)
Inada Naoki [Tue, 19 Mar 2019 08:30:58 +0000 (17:30 +0900)] 
bpo-36307: Travis: upgrade to Xenial environment (GH-12356)

(cherry picked from commit 74ae50e53e59bbe39d6287b902757f0cd01327dc)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
6 years agobpo-36235: Enhance distutils test_customize_compiler() (GH-12403) (GH-12415)
Victor Stinner [Mon, 18 Mar 2019 17:34:11 +0000 (18:34 +0100)] 
bpo-36235: Enhance distutils test_customize_compiler() (GH-12403) (GH-12415)

The test test_customize_compiler() now mocks all sysconfig variables
and all environment variables used by customize_compiler().

(cherry picked from commit 72c7b372cf145fded93a9a776acc742a60090f95)

6 years agobpo-36272: Logging now propagates RecursionError (GH-12312) (GH-12391)
Miss Islington (bot) [Mon, 18 Mar 2019 14:22:41 +0000 (07:22 -0700)] 
bpo-36272: Logging now propagates RecursionError (GH-12312) (GH-12391)

(cherry picked from commit 65f64b1903ae85b97a30f514bbc1b7ce940c3af2)

Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
6 years agobpo-36317: Fix typo in _PyObject_FastCallDict documentation (GH-12383) (GH-12402)
Rémi Lapeyre [Mon, 18 Mar 2019 11:51:23 +0000 (12:51 +0100)] 
bpo-36317: Fix typo in _PyObject_FastCallDict documentation (GH-12383) (GH-12402)

(cherry picked from commit b4b97af8bed21e32eb77e7f7497acde1f8af4e70)

6 years agobpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) (GH-12395)
Miss Islington (bot) [Mon, 18 Mar 2019 07:48:02 +0000 (00:48 -0700)] 
bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) (GH-12395)

(cherry picked from commit 23581c018fceb607fe829a41c6fbe81b4d502cab)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
6 years agoFix typo in unittest.mock documentation: manger -> manager (GH-12352)
Mariatta [Sun, 17 Mar 2019 23:53:06 +0000 (16:53 -0700)] 
Fix typo in unittest.mock documentation: manger -> manager (GH-12352)

(cherry picked from commit dc69f69f14fb89511d018a3927fc6378a58d2def)

Co-authored-by: Joan Massich <mailsik@gmail.com>
6 years agoFix "catchs" typos in NEWS entries (GH-12364)
Harmon [Sun, 17 Mar 2019 23:49:43 +0000 (18:49 -0500)] 
Fix "catchs" typos in NEWS entries (GH-12364)

6 years agobpo-34745: Fix asyncio sslproto memory issues (GH-12386)
Miss Islington (bot) [Sun, 17 Mar 2019 23:09:14 +0000 (16:09 -0700)] 
bpo-34745: Fix asyncio sslproto memory issues (GH-12386)

* Fix handshake timeout leak in asyncio/sslproto

Refs MagicStack/uvloopGH-222

* Break circular ref _SSLPipe <-> SSLProtocol

* bpo-34745: Fix asyncio ssl memory leak

* Break circular ref SSLProtocol <-> UserProtocol

* Add NEWS entry
(cherry picked from commit f683f464259715d620777d7ed568e701337a703a)

Co-authored-by: Fantix King <fantix.king@gmail.com>
6 years agobpo-23216: IDLE: Add docstrings to search modules (GH-12141)
Miss Islington (bot) [Sat, 16 Mar 2019 23:47:28 +0000 (16:47 -0700)] 
bpo-23216: IDLE: Add docstrings to search modules (GH-12141)

(cherry picked from commit 0bb5e75cf8bc9b197ffb91cba6f30543ed502708)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agoUpdate the seealso entries for namedtuple() (GH-12373)
Miss Islington (bot) [Sat, 16 Mar 2019 20:01:35 +0000 (13:01 -0700)] 
Update the seealso entries for namedtuple() (GH-12373)

* Replace external recipe link with a link to the dataclasses module.

* Highlight the class definition syntax for typing.NamedTuple
  and add an example for clarity.
(cherry picked from commit 9c68543f022b130ff51944edc6771c60510ee683)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
6 years agobpo-36138: Clarify docs about converting datetime.timedelta to scalars. (GH-12137)
Miss Islington (bot) [Sat, 16 Mar 2019 04:03:43 +0000 (21:03 -0700)] 
bpo-36138: Clarify docs about converting datetime.timedelta to scalars. (GH-12137)

Be explicit that timedelta division converts an overall duration to the interval
units given by the denominator.
(cherry picked from commit f40b4a0b6277b2779b9ded3736325489f2af93e4)

Co-authored-by: Yasser A <yalshalaan@gmail.com>
6 years agobpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236) (GH-12348)
Victor Stinner [Fri, 15 Mar 2019 15:03:50 +0000 (16:03 +0100)] 
bpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236) (GH-12348)

Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the
CFLAGS environment variable is defined, don't override CFLAGS variable with
the OPT variable anymore.

Initial patch written by David Malcolm.

Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
(cherry picked from commit 86082c22d23285995a32aabb491527c9f5629556)

6 years agoFix typo duplicate period in a docstring in the zipfile module. (GH-12326)
Miss Islington (bot) [Fri, 15 Mar 2019 04:52:59 +0000 (21:52 -0700)] 
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)

(cherry picked from commit 53c2935dac9d814a3d0bae504dae2ee1c941c731)

Co-authored-by: nick sung <sungboss2004@gmail.com>
6 years agobpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) (GH-12331) 12337/head
Victor Stinner [Thu, 14 Mar 2019 16:12:01 +0000 (17:12 +0100)] 
bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) (GH-12331)

Fix an unlikely memory leak on conversion from string to float in the
function _Py_dg_strtod() used by float(str), complex(str),
pickle.load(), marshal.load(), etc.

Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label:
rewrite memory management in this function to always release all
memory before exiting the function. Initialize variables to NULL, and
set them to NULL after calling Bfree() at the "cont:" label.

Note: Bfree(NULL) is well defined: it does nothing.

(cherry picked from commit 9776b0636ae39668d3ce1c006d4be01dad01bf9f)

6 years ago[3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322)
Serhiy Storchaka [Thu, 14 Mar 2019 08:47:27 +0000 (10:47 +0200)] 
[3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322)

(cherry picked from commit d53fe5f407ff4b529628b01a1bcbf21a6aad5c3a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agoRemove NEWS entries duplicated from 3.7.2final. (GH-12309)
Ned Deily [Wed, 13 Mar 2019 14:49:21 +0000 (10:49 -0400)] 
Remove NEWS entries duplicated from 3.7.2final. (GH-12309)

6 years agobpo-36174: Update nuget authoring for new license field. (GH-12300)
Miss Islington (bot) [Wed, 13 Mar 2019 00:11:08 +0000 (17:11 -0700)] 
bpo-36174: Update nuget authoring for new license field. (GH-12300)

(cherry picked from commit 26c910c59c47bdef4220c34e66c45a625bda5e56)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agoCorrect minor edit to news entry. (GH-12299)
Ned Deily [Tue, 12 Mar 2019 23:44:41 +0000 (19:44 -0400)] 
Correct minor edit to news entry. (GH-12299)

6 years agobump to 3.7.3rc1+
Ned Deily [Tue, 12 Mar 2019 22:09:08 +0000 (18:09 -0400)] 
bump to 3.7.3rc1+

6 years ago3.7.3rc1 v3.7.3rc1
Ned Deily [Tue, 12 Mar 2019 19:14:21 +0000 (15:14 -0400)] 
3.7.3rc1

6 years agoMinor edits to news entries for 3.7.3 (GH-12292)
Ned Deily [Tue, 12 Mar 2019 16:20:44 +0000 (12:20 -0400)] 
Minor edits to news entries for 3.7.3 (GH-12292)

6 years agobpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848) (GH-12284)
Miss Islington (bot) [Tue, 12 Mar 2019 09:17:17 +0000 (02:17 -0700)] 
bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848) (GH-12284)

(cherry picked from commit 1ceb3a3d172dcf0ddff38d5d6b559443ad065b84)

Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
6 years ago[3.7] bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)...
Miss Islington (bot) [Tue, 12 Mar 2019 04:00:59 +0000 (21:00 -0700)] 
[3.7] bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103) (GH-12285)

This is relevant for `debug doesnotexist()`, which would crash with a
NameError otherwise.
(cherry picked from commit 3e936431e23b424b1e4665e8165c245924f0ab02)

Co-authored-by: Daniel Hahler <github@thequod.de>
https://bugs.python.org/issue35931

6 years ago[3.7] Doc: Fix inconsistency in multiprocessing (GH-12273) (GH-12275)
Miss Islington (bot) [Mon, 11 Mar 2019 14:23:30 +0000 (07:23 -0700)] 
[3.7] Doc: Fix inconsistency in multiprocessing (GH-12273) (GH-12275)

(cherry picked from commit d9bd8ec2a40ea67bc4248a72943a409ee645ddf3)

Co-authored-by: Julien Palard <julien@palard.fr>
6 years agobpo-36234: Add more tests to PosixUidGidTests (GH-12234)
Miss Islington (bot) [Mon, 11 Mar 2019 13:18:40 +0000 (06:18 -0700)] 
bpo-36234: Add more tests to PosixUidGidTests (GH-12234)

test_posix.PosixUidGidTests:

* Add tests for invalid uid/gid type (str)
* Add UID_OVERFLOW and GID_OVERFLOW constants to replace (1 << 32)

Initial patch written by David Malcolm.

Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
(cherry picked from commit 876e82b4f32075e1bd21750bf852a103035fce23)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-36176: Fix IDLE autocomplete & calltip popup colors. (GH-12262)
Miss Islington (bot) [Mon, 11 Mar 2019 00:37:36 +0000 (17:37 -0700)] 
bpo-36176: Fix IDLE autocomplete & calltip popup colors. (GH-12262)

Prevent conflicts with Linux dark themes
(and slightly darken calltip background).
(cherry picked from commit 491ef53c1548c2b593d3c35d1e7bf25ccb443019)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-35647: Fix path check in cookiejar (GH-11436)
Miss Islington (bot) [Sun, 10 Mar 2019 17:30:35 +0000 (10:30 -0700)] 
bpo-35647: Fix path check in cookiejar (GH-11436)

* Refactor cookie path check as per RFC 6265

* Add tests for prefix match of path

* Add news entry

* Fix set_ok_path and refactor tests

* Use slice for last letter
(cherry picked from commit 0e1f1f01058bd4a9b98cfe443214adecc019a38c)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
6 years agobpo-21314: Add a FAQ entry about positional only parameters (GH-10641)
Miss Islington (bot) [Sun, 10 Mar 2019 11:36:18 +0000 (04:36 -0700)] 
bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)

(cherry picked from commit 1aeeaeb79efa4de41f97b58547e23c2965ecabc5)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
6 years agoFix padding on asyncio.IncompleteReadError docs (GH-12258)
Miss Islington (bot) [Sun, 10 Mar 2019 11:12:12 +0000 (04:12 -0700)] 
Fix padding on asyncio.IncompleteReadError docs (GH-12258)

(cherry picked from commit 11205b80309a01666eefee2301a244aa73a4c450)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
6 years agobpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). (GH-12252)
Miss Islington (bot) [Sun, 10 Mar 2019 10:52:44 +0000 (03:52 -0700)] 
bpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). (GH-12252)

(cherry picked from commit 8b91edadc06dcb0d391a65d1ecdf07dcb429df1b)

Co-authored-by: sth <sth.dev@tejp.de>
6 years agobpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) (GH-12261)
Miss Islington (bot) [Sun, 10 Mar 2019 02:58:25 +0000 (18:58 -0800)] 
bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) (GH-12261)

Don't send cookies of domain A without Domain attribute to domain B when domain A is a suffix match of domain B while using a cookiejar with `http.cookiejar.DefaultCookiePolicy` policy.  Patch by Karthikeyan Singaravelan.
(cherry picked from commit ca7fe5063593958e5efdf90f068582837f07bd14)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
6 years agoFix typos and improve grammar in threading.Barrier docstrings (GH-12210)
Miss Islington (bot) [Sat, 9 Mar 2019 17:56:40 +0000 (09:56 -0800)] 
Fix typos and improve grammar in threading.Barrier docstrings (GH-12210)

(cherry picked from commit 62fa51f1216e788310d3118f4259f1b4b1e529fe)

Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
6 years agobpo-35807: Upgrade ensurepip bundled pip and setuptools (GH-12189)
Miss Islington (bot) [Fri, 8 Mar 2019 21:44:39 +0000 (13:44 -0800)] 
bpo-35807: Upgrade ensurepip bundled pip and setuptools (GH-12189)

* Update pip to 19.0.3
* Update setuptools to 40.8.0
(cherry picked from commit 01e0f439f5009f37b95ab516e91906fcc7fcb8c3)

Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
6 years agobpo-35899: Fix Enum handling of empty and weird strings (GH-11891)
Miss Islington (bot) [Fri, 8 Mar 2019 21:44:21 +0000 (13:44 -0800)] 
bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)

Co-authored-by: Maxwell <maxwellpxt@gmail.com>
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
https://bugs.python.org/issue35899
(cherry picked from commit 8b914d2767acba3a9e78f1dacdc2d61dbfd7e304)

Co-authored-by: Brennan D Baraban <34765317+bdbaraban@users.noreply.github.com>
6 years agobpo-34162: Add entries for idlelib/NEWS.txt (GH-12232)
Miss Islington (bot) [Fri, 8 Mar 2019 08:25:52 +0000 (00:25 -0800)] 
bpo-34162: Add entries for idlelib/NEWS.txt (GH-12232)

(cherry picked from commit 8a1bab92915dd5c88832706c56af2f5611181d50)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agoFix typo (double 'the') in CODEOWNERS (GH-12227)
Miss Islington (bot) [Fri, 8 Mar 2019 01:44:31 +0000 (17:44 -0800)] 
Fix typo (double 'the') in CODEOWNERS (GH-12227)

(cherry picked from commit f2320b37d9c85d8ddfc0c6afa81b77cd5f6e5ef2)

Co-authored-by: Benedikt Werner <1benediktwerner@gmail.com>
6 years agobpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
Miss Islington (bot) [Thu, 7 Mar 2019 18:39:34 +0000 (10:39 -0800)] 
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)

(cherry picked from commit bf94cc7b496a379e1f604aa2e4080bb70ca4020e)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agobpo-36108: Avoid failing the build on race condition in clean (GH-12217)
Miss Islington (bot) [Thu, 7 Mar 2019 17:44:53 +0000 (09:44 -0800)] 
bpo-36108: Avoid failing the build on race condition in clean (GH-12217)

(cherry picked from commit 2f8f56499c20af70ff5037fdbc5d738e56d9eab0)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agobpo-36216: Add check for characters in netloc that normalize to separators (GH-12201)
Steve Dower [Thu, 7 Mar 2019 17:08:18 +0000 (09:08 -0800)] 
bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201)

6 years agoFix the documentation for set.copy() (GH-12176)
Miss Islington (bot) [Thu, 7 Mar 2019 05:30:33 +0000 (21:30 -0800)] 
Fix the documentation for set.copy() (GH-12176)

Remove 's' mention as there's no argument.
(cherry picked from commit e942e7b5c91995ae1ad967ef2c0f116a5d8555de)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
6 years agobpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204)
Miss Islington (bot) [Thu, 7 Mar 2019 05:24:55 +0000 (21:24 -0800)] 
bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204)

(cherry picked from commit ecc161d1209bf6d21f0fd6bef28476eda7cdaf79)

Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
6 years agobpo-36209: Fix typo on hashlib error message (GH-12194)
Miss Islington (bot) [Wed, 6 Mar 2019 14:54:54 +0000 (06:54 -0800)] 
bpo-36209: Fix typo on hashlib error message (GH-12194)

(cherry picked from commit b71e28ea91259ca3914e2ff84fc126795ea6b848)

Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
6 years ago[3.7] bpo-29571: Fix test_re.test_locale_flag() (GH-12178)
Victor Stinner [Tue, 5 Mar 2019 15:17:43 +0000 (16:17 +0100)] 
[3.7] bpo-29571: Fix test_re.test_locale_flag() (GH-12178)

Use locale.getpreferredencoding() rather than locale.getlocale() to
get the locale encoding. With some locales, locale.getlocale()
returns the wrong encoding.

For example, on Fedora 29, locale.getlocale() returns ISO-8859-1
encoding for the "en_IN" locale, whereas
locale.getpreferredencoding() reports the correct encoding: UTF-8.

On Windows, set temporarily the LC_CTYPE locale to the user preferred
encoding to ensure that it uses the ANSI code page, to be consistent
with locale.getpreferredencoding().

6 years agoDoc: Use `option` word for command line interface. (GH-12142)
Miss Islington (bot) [Tue, 5 Mar 2019 04:49:47 +0000 (20:49 -0800)] 
Doc: Use `option` word for command line interface. (GH-12142)

For command line option, `option` is better than `parameter`.
(cherry picked from commit 0983fcd0d5bd00c6b0dd3040760226f67aa831cd)

Co-authored-by: NAKAMURA Osamu <osamu0329nakamura@users.noreply.github.com>
6 years agoFixed a missing . and a missing capital letter. (GH-12170)
Miss Islington (bot) [Mon, 4 Mar 2019 19:41:31 +0000 (11:41 -0800)] 
Fixed a missing . and a missing capital letter. (GH-12170)

(cherry picked from commit 7e9ce4c89e9a34ff84a89831812bc8b42d37ac1f)

Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
6 years agobpo-36179: Fix ref leaks in _hashopenssl (GH-12158)
Miss Islington (bot) [Mon, 4 Mar 2019 16:17:30 +0000 (08:17 -0800)] 
bpo-36179: Fix ref leaks in _hashopenssl (GH-12158)

Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in
out-of-memory cases. Thanks to Charalampos Stratakis.

Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue36179
(cherry picked from commit b7bc283ab6a23ee98784400ebffe7fe410232a2e)

Co-authored-by: Christian Heimes <christian@python.org>
6 years agobpo-35198 Fix C++ extension compilation on AIX (GH-10437)
Miss Islington (bot) [Mon, 4 Mar 2019 15:06:36 +0000 (07:06 -0800)] 
bpo-35198 Fix C++ extension compilation on AIX (GH-10437)

For C++ extensions, distutils tries to replace the C compiler with the
C++ compiler, but it assumes that C compiler is the first element after
any environment variables set. On AIX, linking goes through ld_so_aix,
so it is the first element and the compiler is the next element. Thus
the replacement is faulty:

ld_so_aix gcc ... -> g++ gcc ...

Also, it assumed that self.compiler_cxx had only 1 element or that
there were the same number of elements as the linker has and in the
same order. This might not be the case, so instead concatenate
everything together.
(cherry picked from commit 800d5cd75025876d79ab05980925a05d8e36b63d)

Co-authored-by: Kevin Adler <kadler@us.ibm.com>
6 years agobpo-20906: Various revisions to the Unicode howto (GH-8394)
Miss Islington (bot) [Mon, 4 Mar 2019 13:01:47 +0000 (05:01 -0800)] 
bpo-20906: Various revisions to the Unicode howto  (GH-8394)

* bpo-20906: Corrections & revisions to Unicode HOWTO

* bpo-34484: don't describe range as a Private Use Area
(cherry picked from commit 97c288df614dd7856f5a0336925f56a7a2a5bc74)

Co-authored-by: Andrew Kuchling <amk@amk.ca>
6 years agofixed duplicated method name of test_getuserbase() (GH-12140)
Miss Islington (bot) [Sun, 3 Mar 2019 23:09:10 +0000 (15:09 -0800)] 
fixed duplicated method name of test_getuserbase() (GH-12140)

(cherry picked from commit 45d8d2469a48589e950dad2452043188eb9399a3)

Co-authored-by: native-api <ivan_pozdeev@mail.ru>
6 years agoAutospec functions should propagate mock calls to parent GH-11273 (#12039)
Miss Islington (bot) [Sun, 3 Mar 2019 17:14:44 +0000 (09:14 -0800)] 
Autospec functions should propagate mock calls to parent GH-11273 (#12039)

(cherry picked from commit 9c3f284de598550be6687964c23fd7599e53b20e)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
6 years agobpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996)
Miss Islington (bot) [Sun, 3 Mar 2019 14:54:39 +0000 (06:54 -0800)] 
bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996)

(cherry picked from commit 0a6a412fb27d6874a0db5cc82a97f54d7c5fd0f2)

Co-authored-by: Henry Chen <tahafut@gmail.com>
6 years agobpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031)
Miss Islington (bot) [Fri, 1 Mar 2019 23:13:57 +0000 (15:13 -0800)] 
bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031)

 Patch by Kevin Walzer.
(cherry picked from commit 7eebbbd5b3907447eddadf5cb7cb1cc9230d15b2)

Co-authored-by: Ned Deily <nad@python.org>
6 years agobpo-35178: Fix warnings._formatwarnmsg() (GH-12033)
Miss Islington (bot) [Fri, 1 Mar 2019 17:40:10 +0000 (09:40 -0800)] 
bpo-35178: Fix warnings._formatwarnmsg() (GH-12033)

Ensure custom formatwarning function can receive line as positional argument.

Co-Authored-By: Tashrif Billah <tashrifbillah@gmail.com>
(cherry picked from commit be7c460fb50efe3b88a00281025d76acc62ad2fd)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
6 years agobpo-36152: IDLE: Remove unused parameter from colorizer (GH-12109)
Miss Islington (bot) [Fri, 1 Mar 2019 10:43:43 +0000 (02:43 -0800)] 
bpo-36152: IDLE: Remove unused parameter from colorizer (GH-12109)

Remove colorizer.ColorDelegator.close_when_done and the corresponding argument of .close().  In IDLE, both have always been None or False since 2007.
(cherry picked from commit b9f0354efce95b7557bc43ea193c4b652cd28392)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years ago[3.7] Add versionadded directives to ssl.minimum_version and ssl.maxi… (GH-12101) 12112/head 12117/head
Cheryl Sabella [Thu, 28 Feb 2019 18:11:35 +0000 (13:11 -0500)] 
[3.7] Add versionadded directives to ssl.minimum_version and ssl.maxi… (GH-12101)

…mum_version (GH-11894).

(cherry picked from commit ae2ea33d5da34a777e77d489b700ff45d753934f)

Co-authored-by: Zhiming Wang <i@zhimingwang.org>
6 years agoDocument the surprising sideeffect PyErr_Print(). (GH-12081) 12090/head
Miss Islington (bot) [Wed, 27 Feb 2019 23:45:28 +0000 (15:45 -0800)] 
Document the surprising sideeffect PyErr_Print(). (GH-12081)

Did you know an API documented as printing the pending traceback would sometimes exit the process?

You do now.
(cherry picked from commit 4173772031747a9b249be4100b4aa9eda805ea23)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
6 years agoFix grammar error in timeit module docs (GH-12066)
Miss Islington (bot) [Wed, 27 Feb 2019 23:27:36 +0000 (15:27 -0800)] 
Fix grammar error in timeit module docs (GH-12066)

skip issue
skip news
(cherry picked from commit 4064089fce57c6fb2d1df9f3fb51d3fd5557696b)

Co-authored-by: Shiv Dhar <shivdhar@gmail.com>
6 years ago[3.7] Update FAQ to point to Infrastructure Team website. (GH-12077) (GH-12078)
Miss Islington (bot) [Wed, 27 Feb 2019 22:29:13 +0000 (14:29 -0800)] 
[3.7] Update FAQ to point to Infrastructure Team website. (GH-12077) (GH-12078)

(cherry picked from commit ccb92e814d289b89bccf9ad1b7d2ec6ecdebbfcb)

Co-authored-by: Ned Deily <nad@python.org>
6 years agobpo-36096: IDLE: Refactor class variables in colorizer (GH-12002) (GH-12075)
Miss Islington (bot) [Wed, 27 Feb 2019 19:14:06 +0000 (11:14 -0800)] 
bpo-36096: IDLE: Refactor class variables in colorizer (GH-12002) (GH-12075)

(cherry picked from commit ed1deb0719f0ac1b08a374e30ad26a701d4d51a2)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-28441: Ensure `.exe` suffix in `sys.executable` on MinGW and Cygwin (GH-4348)
Miss Islington (bot) [Wed, 27 Feb 2019 09:24:34 +0000 (01:24 -0800)] 
bpo-28441: Ensure `.exe` suffix in `sys.executable` on MinGW and Cygwin (GH-4348)

This is needed to even the run the test suite on buildbots for affected platforms; e.g.:

```
./python.exe  ./Tools/scripts/run_tests.py -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
/home/embray/src/python/test-worker/3.x.test-worker/build/python -u -W default -bb -E -W error::BytesWarning -m test -r -w -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
Traceback (most recent call last):
  File "./Tools/scripts/run_tests.py", line 56, in <module>
    main(sys.argv[1:])
  File "./Tools/scripts/run_tests.py", line 52, in main
    os.execv(sys.executable, args)
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:1073: buildbottest] Error 1
```

(cherry picked from commit 7a7693e9cb12e5571c76331db56a28eef9acb6e0)

Co-authored-by: E. M. Bray <erik.m.bray@gmail.com>
6 years agobpo-36123: Fix test_socket.testWithTimeoutTriggeredSend() race condition (GH-12053)
Miss Islington (bot) [Tue, 26 Feb 2019 16:48:52 +0000 (08:48 -0800)] 
bpo-36123: Fix test_socket.testWithTimeoutTriggeredSend() race condition (GH-12053)

Use longer timeout for accept() in the server and block on accept in the client.
The client now only sets the timeout once the socket is connected.
(cherry picked from commit 53b9e1a1c1d86187ad6fbee492b697ef8be74205)

Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
6 years agobpo-36106: Resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027) 12055/head
Miss Islington (bot) [Tue, 26 Feb 2019 07:10:54 +0000 (23:10 -0800)] 
bpo-36106: Resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027)

The standard math library (libm) may follow IEEE-754 recommendation to
include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x).
And this triggers a name clash, found by FreeBSD developer
Steve Kargl, who worken on putting sinpi into libm used on FreeBSD
(it has to be named "sinpi", not "sinPi", cf. e.g.
https://en.cppreference.com/w/c/experimental/fpext4).
(cherry picked from commit f57cd8288dbe6aba99c057f37ad6d58f8db75350)

Co-authored-by: Dima Pasechnik <dimpase@gmail.com>
6 years agoRun autoreconf. 12047/head
Benjamin Peterson [Tue, 26 Feb 2019 05:59:37 +0000 (21:59 -0800)] 
Run autoreconf.

6 years agocloses bpo-13497: Fix `broken nice` configure test. (GH-12041)
Miss Islington (bot) [Tue, 26 Feb 2019 05:59:14 +0000 (21:59 -0800)] 
closes bpo-13497: Fix `broken nice` configure test. (GH-12041)

Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`.

Fixing the test will prevent false positives with pedantic compilers like clang.
(cherry picked from commit 90c6facebd5666fec85f125ee2795b48b30319a4)

Co-authored-by: ngie-eign <1574099+ngie-eign@users.noreply.github.com>
6 years agobpo-24643: Fix "GH-define timezone _timezone" clashes on Windows (GH-12019)
Miss Islington (bot) [Tue, 26 Feb 2019 00:15:04 +0000 (16:15 -0800)] 
bpo-24643: Fix "GH-define timezone _timezone" clashes on Windows (GH-12019)

(cherry picked from commit 6673decfa0fb078f60587f5cb5e98460eea137c2)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agobpo-35512: Resolve string target to patch.dict decorator during function call GHGH...
Miss Islington (bot) [Mon, 25 Feb 2019 21:17:16 +0000 (13:17 -0800)] 
bpo-35512: Resolve string target to patch.dict decorator during function call GHGH-12000 (#12021)

* Resolve string target to patch.dict during function call

* Add NEWS entry

* Remove unneeded call

* Restore original value for support.target and refactor assertions

* Add extra assertion to verify unpatched dict
(cherry picked from commit a875ea58b29fbf510f9790ae1653eeaa47dc0de8)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
6 years ago[3.7] bpo-28450: Fix and improve the documentation for unknown escapes in RE. (GH... 12037/head
Serhiy Storchaka [Mon, 25 Feb 2019 16:28:53 +0000 (18:28 +0200)] 
[3.7] bpo-28450: Fix and improve the documentation for unknown escapes in RE. (GH-11920). (GH-12029)

(cherry picked from commit a180b007d96fe68b32f11dec720fbd0cd5b6758a)

6 years agoRemove empty Dictionaries section from programming FAQ (GH-12026)
Miss Islington (bot) [Mon, 25 Feb 2019 16:27:54 +0000 (08:27 -0800)] 
Remove empty Dictionaries section from programming FAQ (GH-12026)

(cherry picked from commit 55e335d7d59be44819c6b672d258e2d5feb1e633)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
6 years agoCorrect name of 'defaultobj' parameter in PyDict_SetDefault() signature. (GH-11929)
Miss Islington (bot) [Mon, 25 Feb 2019 15:18:20 +0000 (07:18 -0800)] 
Correct name of 'defaultobj' parameter in PyDict_SetDefault() signature. (GH-11929)

(cherry picked from commit d90a141bb947b68601f8d1f37bc98f7b524f0e01)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
6 years agocloses bpo-36083: Fix formatting of the manpage Synopsis. (GH-12017)
Miss Islington (bot) [Mon, 25 Feb 2019 00:56:13 +0000 (16:56 -0800)] 
closes bpo-36083: Fix formatting of the manpage Synopsis. (GH-12017)

More specifically, the options of --check-hash-based-pycs.
(cherry picked from commit 16323cb2c3d315e02637cebebdc5ff46be32ecdf)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
6 years agobpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011)
Miss Islington (bot) [Sun, 24 Feb 2019 07:46:20 +0000 (23:46 -0800)] 
bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011)

(cherry picked from commit aeca373b339e0ea9739536ce6b43bd90f3b89873)

Co-authored-by: Ned Deily <nad@python.org>
6 years agobpo-24310: Document IDLE settings dialog font tab sample (GH-12007)
Miss Islington (bot) [Sun, 24 Feb 2019 04:23:08 +0000 (20:23 -0800)] 
bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)

(cherry picked from commit d610116a2e48b55788b62e11f2e6956af06b3de0)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agofix _abc.c compile error on Cygwin (GH-8445)
Miss Islington (bot) [Sun, 24 Feb 2019 01:53:28 +0000 (17:53 -0800)] 
fix _abc.c compile error on Cygwin (GH-8445)

(cherry picked from commit abe5922743f62e130c4dad2f637274c38d6b1e8b)

Co-authored-by: E. M. Bray <erik.m.bray@gmail.com>
6 years agobpo-36019: Use pythontest.net instead of example.com in network tests (GH-11941)
Miss Islington (bot) [Fri, 22 Feb 2019 14:03:26 +0000 (06:03 -0800)] 
bpo-36019: Use pythontest.net instead of example.com in network tests (GH-11941)

(cherry picked from commit a40681dd5db8deaf05a635eecb91498dac882aa4)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>