Commit Graph

103675 Commits

Author SHA1 Message Date
Miss Islington (bot) 535a3c4e3d
bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780)
Correctly parenthesize filter-based statements that contain lambda
expressions in lib2to3.
(cherry picked from commit b821173b54)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2020-01-07 09:47:51 -08:00
Miss Islington (bot) d46dec981a bpo-39198: Ensure logging global lock is released on exception in isEnabledFor (GH-17689) (GH-17898)
(cherry picked from commit 950c6795aa)
2020-01-07 17:03:49 +00:00
Miss Islington (bot) 72995c5cdd
bpo-38623: Doc: Add section for site module CLI. (GH-17858)
(cherry picked from commit ca94677a62)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2020-01-07 00:04:32 -08:00
Miss Islington (bot) 3218520524
Doc: Change Python 2 status to EOL. (GH-17885)
(cherry picked from commit f4800b8ed3)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2020-01-06 22:58:19 -08:00
Miss Islington (bot) 676b16c140
bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873)
https://bugs.python.org/issue39041

Automerge-Triggered-By: @zooba
(cherry picked from commit b1ce22d086)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-01-06 13:42:37 -08:00
Miss Islington (bot) acf5e5f3f4 bpo-39041: Add GitHub Actions support (GH-17594)
(cherry picked from commit a76ba362c4)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-01-06 08:47:06 -08:00
Miss Islington (bot) 54bcd656a2
Minor formatting improvements and fixes to idle.rst (GH-17165)
(cherry picked from commit d6c08db853)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
2020-01-06 00:24:25 -08:00
Miss Islington (bot) b853a7c6c0
Fix the parameter list of object. _rpow_ (GH-GH-16477)
(cherry picked from commit abc0c4fa99)

Co-authored-by: HongWeipeng <961365124@qq.com>
2020-01-05 14:37:37 -08:00
Miss Islington (bot) cb4ed24a38
Replace links in howto/pyporting.rst with sphinx references (GH-17781)
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
(cherry picked from commit e6ae90dede)

Co-authored-by: Oleg Höfling <hoefling@users.noreply.github.com>
2020-01-05 14:13:44 -08:00
Miss Islington (bot) 6234301bb5
bpo-39152: add missing ttk.Scale.configure return value (GH-17815)
tkinter.ttk.Scale().configure([name]) now returns a configuration tuple for name
or a list thereof for all options. Based on patch Giovanni Lombardo.
(cherry picked from commit 5ea7bb25e3)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-01-05 08:49:48 -08:00
Miss Islington (bot) 43fbc70360
bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)
No longer import the re module if it is not needed.
(cherry picked from commit 41ec17e45d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2020-01-05 04:34:58 -08:00
Miss Islington (bot) 3bdb2d9daf
bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616)
(cherry picked from commit b19c0d77e6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2020-01-05 04:32:45 -08:00
Miss Islington (bot) 880a17af7d
bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)
Ignore leading dots and no longer ignore a trailing newline.
(cherry picked from commit 6a265f0d0c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2020-01-05 04:31:44 -08:00
Andrew Svetlov 9c145e19fb
[3.7] bpo-39191: Don't spawn a task before failing (GH-17796) (#17821)
(cherry picked from commit 3a5de51159)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2020-01-04 11:49:32 +02:00
Miss Islington (bot) 83638fe0a7
Update copyright year in macOS installer license copy (GH-17806)
(cherry picked from commit 32f1443aa9)

Co-authored-by: Ned Deily <nad@python.org>
2020-01-02 19:47:00 -08:00
Benjamin Peterson 8978ae9705 [3.7] Bring Python into the next decade. (GH-17801). (GH-17803)
(cherry picked from commit 946b29ea0b)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
2020-01-02 22:39:21 -05:00
Miss Islington (bot) 3959638ba1
bpo-39183: Fix formatting in library/ensurepip (GH-17787)
Remove extra space to fix formatting and avoid from splitting text in to strings.

https://bugs.python.org/issue39183
(cherry picked from commit 149175c6df)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2020-01-01 14:32:17 -08:00
Miss Islington (bot) 0e0e4acaab bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773) (GH-17786)
(cherry picked from commit 46abfc1416)
2020-01-01 20:07:31 +00:00
Miss Islington (bot) 88938e415f
Fix idlelib README typo. (GH-17770)
(cherry picked from commit ba82ee894c)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-12-31 10:51:23 -08:00
Dong-hee Na 53f11ba7b1 [3.7] bpo-38588: Fix possible crashes in dict and list when calling P… (GH-17765)
* [3.7] bpo-38588: Fix possible crashes in dict and list when calling PyObject_RichCompareBool (GH-17734)

Take strong references before calling PyObject_RichCompareBool to protect against the case
where the object dies during the call..
(cherry picked from commit 2d5bf568ea)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>

* methane's suggestion

methane's suggestion

Co-Authored-By: Inada Naoki <songofacandy@gmail.com>

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2019-12-31 04:15:10 +00:00
Miss Islington (bot) c9c17cc933
bpo-34118: memoryview, range, and tuple are classes (GH-17761)
Tag memoryview, range, and tuple as classes, the same as list, etcetera, in
the library manual built-in functions list.
(cherry picked from commit ee9ff05ec2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-12-30 14:22:24 -08:00
Pablo Galindo 296d45ec10
[3.7] bpo-38610: Fix possible crashes in several list methods (GH-17022) (GH-17759)
Hold strong references to list elements while calling PyObject_RichCompareBool()..
(cherry picked from commit d9e561d23d)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2019-12-30 19:58:31 +00:00
Miss Islington (bot) 177bda9d51
Fix typos and remove deprecated deprecation warning. (GH-17741)
(cherry picked from commit 32a12aed6d)

Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
2019-12-29 14:19:54 -08:00
Terry Jan Reedy d7947280a4
[3.7] bpo-39136: Fixed typos (GH-17720)
focusses -> focuses; follwing -> following; Excape -> Escape.

(cherry picked from commit 6c7bb38)
2019-12-29 01:40:49 -05:00
Éric Araujo eeebc44db4
Reorder entries in Misc/ACKS (GH-17663) (GH-17672) 2019-12-28 15:41:48 -05:00
Miss Islington (bot) d7aa3d2684
bpo-39144 Align ctags and etags behaviours in the makefile and include Python stdlib files (GH-17721)
(cherry picked from commit ef7eaafc9d)

Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2019-12-27 18:51:37 -08:00
Miss Islington (bot) 5641b6d311
closes bpo-30364: Replace deprecated no_address_safety_analysis attribute. (GH-17702)
(cherry picked from commit c0052f3fe3)

Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
2019-12-26 19:08:30 -08:00
Miss Islington (bot) 090bc14883 Minor C API documentation improvements. (GH-17698)
The added parentheses around the PyIter_Next assignment suppress the following warning which gcc throws without:
```
warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
```
The other change is a typo fix
(cherry picked from commit 5c7ed7550e)

Co-authored-by: William Ayd <william.ayd@icloud.com>
2019-12-24 22:35:20 -06:00
Bar Harel 59d06b987d [3.7] bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336) (GH-17685)
https://bugs.python.org/issue38878
2019-12-23 18:31:15 +00:00
Miss Islington (bot) 0ffc90031c
bpo-38918: Add __module__ entry for function & method type in inspect docs table (GH-17408)
Adds` __module__ ` entries for function & method types in inspect docs table.

https://bugs.python.org/issue38918
(cherry picked from commit f522a6ddb6)

Co-authored-by: Parth Sharma <parthsharma2@users.noreply.github.com>
2019-12-20 11:26:16 -08:00
Batuhan Taşkaya 917419f58b [3.7] bpo-38316: Fix co_stacksize documentation (GH-16983). (GH-17660)
(cherry picked from commit d587272fe3)

Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>





https://bugs.python.org/issue38316



Automerge-Triggered-By: @vstinner
2019-12-19 06:41:49 -08:00
Ned Deily 54bd737d3b Post release updates 2019-12-18 20:47:58 -05:00
Ned Deily e5c7f464d1 Python 3.7.6
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEDZbfTUEQ5cQ/v7F/LTR+pqplQh0FAl36dZcACgkQLTR+pqpl
 Qh28TQ//b6hLzrMwMWUrIAntsmbR6qhkLEOZnuUyRKrFe9lF+CMP+7vzyPftYy0T
 hF0SbOOTryP9uV0XIDqlXIPq7NeB5qL8Ny4BByldWHy87mSxsExkf44F6T+KfFbT
 UX3qjq9jN+MBekbz84CBtlQkr1XHiNt6UUXhWfQ+4lVnyATYcx7CMWt6A6gQ1j9n
 Yq8ig9cnAfJKeyFwujfgJmP28uxK2dydpJ2bw3uyPMSYCjGlJP1fAev81QDYCbPC
 g6F7hcbJ655jdR6rBT3djJuXT0CHNo3alVM0hySmy7y/rzeWgIJ4y+9dJcigewKo
 TUbWbEMAXVSrwjnGD0E3Etvf+Qz61+F4sRrduIbPCO4B/+2KB8TUomXEZJc9288l
 XNq5OXBOuT0e4Ananu+rHzDWQ8PZ66T75u+UVdQZ0oJGOypbaXljyowS0MxUxMTY
 YY6mVnVS9KvDI2KLiXhzxegdvtUInN0SMUuHSLnv2R70nE2DANlCYzqZzxe90HkC
 TVBfteKBT6B5dPRrg9vCZxJ9TlT5vKqPUrYdtL6xgHXfcAXRcn1NbCM6RVTAxoEG
 Eq0tHNIdyn8hDNjHGb9/Mj0V+k8vS817uHYzilxRg80whfKnvcPELEfLyOVepUnb
 H2smkjT3ZcWRfWDUrwe7DLqlEk0SXSG7L1PK14ts3D3TChMhC20=
 =EL/k
 -----END PGP SIGNATURE-----

Merge tag 'v3.7.6' into 3.7
2019-12-18 20:41:32 -05:00
Miss Islington (bot) b8bbdf049b
bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652) (GH-17655)
Fix test_ressources_gced_in_workers() of test_concurrent_futures:
explicitly stop the manager to prevent leaking a child process
running in the background after the test completes.

(cherry picked from commit 673c39331f)
(cherry picked from commit b0eb046cbd)

Co-authored-by: Victor Stinner <vstinner@python.org>
2019-12-18 12:51:09 -08:00
Ned Deily 43364a7ae0 3.7.6 2019-12-18 13:48:49 -05:00
Miss Islington (bot) 13ee023c03 bpo-38295: prevent test_relative_path of test_py_compile failure on macOS Catalina (GH-17636)
(cherry picked from commit bf3aa1060a)

Co-authored-by: Ned Deily <nad@python.org>
2019-12-18 13:39:27 -05:00
Miss Islington (bot) 9346209be4 Fix warnings in test_asyncio.test_base_events (GH-17577) (GH-17580)
Co-authored-by: tirkarthi
(cherry picked from commit 1988344a6b)

Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-12-18 13:39:14 -05:00
Kyle Stanley 3413f5cab0 [3.7] Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s *reuse_address* parameter (GH-17595). (GH-17631)
(cherry picked from commit f501db2b93)

Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-12-18 13:38:51 -05:00
Inada Naoki 9af4974195 bpo-39035: travis: Don't use beta group (GH-17604) 2019-12-18 13:38:36 -05:00
Inada Naoki b4f98f412a Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)
Co-Authored-By: Victor Stinner <vstinner@python.org>
(cherry picked from commit 95826c773a)
2019-12-18 13:38:18 -05:00
Miss Islington (bot) 3dbfe0ac93
bpo-38295: prevent test_relative_path of test_py_compile failure on macOS Catalina (GH-17636)
(cherry picked from commit bf3aa1060a)

Co-authored-by: Ned Deily <nad@python.org>
2019-12-17 01:23:55 -08:00
Miss Islington (bot) c70c8ca746 Fix warnings in test_asyncio.test_base_events (GH-17577) (GH-17580)
Co-authored-by: tirkarthi
(cherry picked from commit 1988344a6b)

Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-12-16 23:12:28 -05:00
Kyle Stanley 8a06c9eac4 [3.7] Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s *reuse_address* parameter (GH-17595). (GH-17631)
(cherry picked from commit f501db2b93)

Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-12-16 23:08:49 -05:00
Inada Naoki be7489cb43
bpo-39035: travis: Don't use beta group (GH-17604) 2019-12-14 23:02:20 +09:00
Pablo Galindo 4b75466f5a
[3.7] Fix elif start column offset when there is an else following (GH-17596) (GH-17601)
(cherry picked from commit 5936a4ce91)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2019-12-14 10:55:00 +00:00
Inada Naoki 26892c7d5f Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)
Co-Authored-By: Victor Stinner <vstinner@python.org>
(cherry picked from commit 95826c773a)
2019-12-14 11:53:43 +01:00
Miss Islington (bot) d3212036aa bpo-36406: Handle namespace packages in doctest (GH-12520) (GH-17592)
(cherry picked from commit 8289e27393)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
2019-12-13 15:30:04 -08:00
Pablo Galindo 0ed45d0cbf
[3.7] bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) (#17584)
When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.

https://bugs.python.org/issue39031

Automerge-Triggered-By: @pablogsal.
(cherry picked from commit 025a602af7)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2019-12-13 14:04:14 +00:00
Ned Deily 85924a45b7 Post release updates 2019-12-11 03:49:48 -05:00
Ned Deily bd18254b91 3.7.6rc1 2019-12-11 00:24:09 -05:00