Miss Islington (bot)
d8e0845602
bpo-38771: Explict test for None in code example (GH-17108) (GH-17109)
...
(cherry picked from commit 98480cef9d
)
Co-authored-by: Jonathan Scholbach <j.scholbach@posteo.de>
2019-11-11 16:59:14 -08:00
Miss Islington (bot)
85e4151082
bpo-22367: Add tests for fcntl.lockf(). (GH-17010)
...
(cherry picked from commit befa032d88
)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2019-11-09 03:12:28 -08:00
Miss Islington (bot)
6b66dc3879
bpo-38382: Document the early-out behavior for a zero (GH-17037) (GH-17078)
...
(cherry picked from commit 7f460494d2
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-11-06 21:58:11 -08:00
Miss Islington (bot)
30da387df1
bpo-38696: Fix usage example of HTTPStatus (GH-17066)
...
(cherry picked from commit 56698d5769
)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
2019-11-06 06:27:09 -08:00
Miss Islington (bot)
7c20888e71
bpo-38684: haslib: fix build when Blake2 not enabled in OpenSSL (GH-17043)
...
(cherry picked from commit 6552563b3d
)
Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-05 22:10:05 -08:00
Jules Lasne (jlasne)
1eac437e8d
[3.8] Update interpreter.rst (GH-17059) (GH-17060)
...
Fixed what seemed to be a weird phrasing.
(cherry picked from commit 5e01a6542a
)
Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
2019-11-05 14:51:48 +01:00
Miss Islington (bot)
1270d2cf1d
[3.8] bpo-38159: Clarify documentation of PyState_AddModule (GH-16101) (GH-17026)
...
This was never intented to be called manually from PyInit_*.
Also, clarify PyState_RemoveModule return value.
(cherry picked from commit 9bc94eca0c
)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
https://bugs.python.org/issue38159
Automerge-Triggered-By: @encukou
2019-11-05 05:35:56 -08:00
Miss Islington (bot)
0eb6fefad7
Convert argument to snake_case (GH-16990) (GH-17033)
...
(cherry picked from commit 99b7701978
)
Co-authored-by: Борис Верховский <boris.verk@gmail.com>
2019-11-04 23:07:24 -08:00
Miss Islington (bot)
4c22e1665c
closes bpo-37633: Reëxport some function compatibility wrappers for macros in ``pythonrun.h``. (GH-17056)
...
(cherry picked from commit 62161ce989
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2019-11-04 21:52:59 -08:00
Miss Islington (bot)
e8bad63034
Fix a typo in wave module docstring (GH-17009)
...
s/pathing/patching/
(cherry picked from commit 25fa3ecb98
)
Co-authored-by: Michael Haas <micha2718l@gmail.com>
2019-11-04 21:09:48 -08:00
Miss Skeleton (bot)
f90e0d2371
bpo-37759: Show output from var_access_benchmark (GH-17040) (GH-17041)
...
(cherry picked from commit 1cdadf414b
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-11-03 21:55:22 -08:00
Miss Skeleton (bot)
87af51847b
bpo-38388: Document pickle protocol version 5 (GH-16639)
...
(cherry picked from commit d0e0f5bf0c
)
Co-authored-by: Dima Tisnek <dimaqq@gmail.com>
2019-11-03 04:03:16 -08:00
Miss Skeleton (bot)
aa1fee8ffb
bpo-38422: Clarify docstrings of pathlib suffix(es) (GH-16679)
...
Whenever I use `path.suffix` I have to check again whether it includes the dot or not. I decided to add it to the docstring so I won't have to keep checking.
https://bugs.python.org/issue38422
Automerge-Triggered-By: @pitrou
(cherry picked from commit 8d4fef4ee2
)
Co-authored-by: Ram Rachum <ram@rachum.com>
2019-11-02 10:04:10 -07:00
Jon Janzen
fe934e1d03
[3.8] Slightly improve plistlib test coverage. (GH-17025) (GH-17028)
...
* Add missing test class (mistake in GH-4455)
* Increase coverage with 4 more test cases
* Rename neg_uid to huge_uid in test_modified_uid_huge
* Replace test_main() with unittest.main()
* Update plistlib docs.
(cherry picked from commit d0d9f7cfa3
)
Co-authored-by: Jon Janzen <jjjonjanzen@gmail.com>
2019-11-02 16:48:22 +02:00
Vinay Sajip
9528997048
[3.8] bpo-16575: Add checks for unions passed by value to functions. (GH-16799) (GH-17016)
...
(cherry picked from commit 79d4ed102a
)
2019-10-31 13:34:05 +00:00
Miss Skeleton (bot)
c1ebe6a125
Add docstring for shlex.split (GH-16740) (GH-17013)
...
(cherry picked from commit 65c7382c47
)
Co-authored-by: MaT1g3R <peijun.ma@protonmail.com>
2019-10-31 12:50:04 +00:00
Miss Skeleton (bot)
2ed52b86aa
Update the URL for the requests package (GH-17006)
...
Change the url from docs.python-requests.org to requests.readthedocs.io
(cherry picked from commit 112f2b805b
)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2019-10-31 05:12:23 -07:00
Serhiy Storchaka
2c921c65e9
[3.8] bpo-38600: NULL -> ``NULL``. (GH-17001) (GH-17003)
...
Also fix some other formatting.
(cherry picked from commit e835b31d2b
)
2019-10-30 22:44:55 +02:00
Serhiy Storchaka
f2ba17be2a
[3.8] bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950) (GH-16999)
...
Replace all *NULL* with ``NULL``.
(cherry picked from commit 25fc088607
)
2019-10-30 21:36:33 +02:00
Miss Skeleton (bot)
dcb338ea1b
bpo-38640: Allow break and continue in always false while loops (GH-16992)
...
(cherry picked from commit 6c3e66a34b
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2019-10-30 05:11:41 -07:00
Victor Stinner
1d2862a323
bpo-37330: open(): "U" mode is removed in Python 3.9 (GH-16972)
...
Update open() documentation.
2019-10-29 10:32:39 +01:00
Miss Skeleton (bot)
3801b2699e
bpo-36993: Improve error reporting for zipfiles with bad zip64 extra data. (GH-14656)
...
(cherry picked from commit da6ce58dd5
)
Co-authored-by: Daniel Hillier <daniel.hillier@gmail.com>
2019-10-29 00:44:07 -07:00
Miss Skeleton (bot)
31c19e68fe
Fix asyncio.wait() 3.8 whatsnew entry (GH-16975)
...
(cherry picked from commit 457306bddb
)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-10-28 19:00:26 -07:00
Miss Skeleton (bot)
2267cb9da4
bpo-38589: Fixes HTML Help shortcut when Windows is not installed to C drive (GH-16968)
...
(cherry picked from commit 0ac6137dd3
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-10-28 14:55:10 -07:00
Miss Skeleton (bot)
a4ee7abd20
bpo-38534: Replace wrong KB number references (GH-16955)
...
(cherry picked from commit 794616f837
)
Co-authored-by: benedwards14 <53377856+benedwards14@users.noreply.github.com>
2019-10-28 11:15:24 -07:00
Miss Skeleton (bot)
07eee640cb
bpo-38519: Internal include files missing on Windows (GH-16921)
...
(cherry picked from commit edb172a872
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2019-10-28 10:23:07 -07:00
Miss Skeleton (bot)
955f96f6aa
bpo-38592 Add pt-br switcher to Python Docs website (GH-16924) (GH-16953)
...
(cherry picked from commit 85c6f8c65c
)
Co-authored-by: Marco Rougeth <marco@rougeth.com>
2019-10-27 11:11:14 +01:00
Miss Skeleton (bot)
76fbdaa2a6
bpo-38334: Fix seeking backward on an encrypted zipfile.ZipExtFile. (GH-16937)
...
Test by Daniel Hillier.
(cherry picked from commit 5c32af7522
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-10-27 01:40:44 -07:00
Terry Jan Reedy
6d6418a075
[3.8] bpo-37309: First idlelib/NEWS.txt for 3.8.1 (GH-16947)
2019-10-27 01:25:27 -04:00
Miss Skeleton (bot)
7a3b1a6f0b
bpo-34162: Last idlelib/NEWS.txt items for 3.8.0. (GH-16943)
...
(cherry picked from commit e31a79a5b4
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-10-26 19:37:25 -07:00
Miss Skeleton (bot)
e3a477aa07
bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939)
...
(cherry picked from commit e3f90b217a
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-10-26 18:41:26 -07:00
Miss Skeleton (bot)
11f0f11c48
bpo-38434: Fixes some audit event documentation (GH-16932)
...
(cherry picked from commit 894e30ce0b
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-10-26 13:09:35 -07:00
Miss Skeleton (bot)
4992dc6610
bpo-38557: Improve documentation for list and tuple C API. (GH-16925)
...
(cherry picked from commit d898d20e8c
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-10-26 13:06:34 -07:00
Miss Skeleton (bot)
ba3a566328
bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861)
...
(cherry picked from commit 26ae9f6d3d
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-10-26 07:06:40 -07:00
Miss Skeleton (bot)
cf028b5716
bpo-38558: Mention `:=` in conditions tutorial (GH-16919)
...
(cherry picked from commit cb2cf06b0a
)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
2019-10-25 15:27:07 -07:00
Miss Skeleton (bot)
edf9e8e98a
Fix typo in formatter_unicode (GH-16831)
...
numbers's -> number's
(cherry picked from commit 7320ec05f7
)
Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
2019-10-25 10:03:23 -07:00
Miss Skeleton (bot)
d04661f9ca
bpo-33348: parse expressions after * and ** in lib2to3 (GH-6586)
...
These are valid even in python 2.7
https://bugs.python.org/issue33348
Automerge-Triggered-By: @gpshead
(cherry picked from commit 96b06aefe2
)
Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
2019-10-23 23:37:21 -07:00
Miss Skeleton (bot)
d8fc9c843e
Add missing asyncio changes from 3.8 whatsnew (GH-16911)
...
(cherry picked from commit 3bbb6db545
)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-10-23 21:22:06 -07:00
Miss Skeleton (bot)
229335ceef
Update URL in macOS installer copy of license (GH-16905)
...
(cherry picked from commit 01659ca62c
)
Co-authored-by: Ned Deily <nad@python.org>
2019-10-23 13:31:22 -07:00
Miss Skeleton (bot)
cbf474c98e
bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901)
...
bpo-34679, bpo-38563: asyncio.ProactorEventLoop.close() now only calls
signal.set_wakeup_fd() in the main thread.
(cherry picked from commit 1b53a24fb4
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2019-10-23 08:43:57 -07:00
Miss Skeleton (bot)
c54b54b49d
Spell Bitbucket correctly. (GH-16862) (GH-16898)
...
(cherry picked from commit d34ac30532
)
Co-authored-by: Peter Bittner <django@bittner.it>
2019-10-23 15:18:10 +03:00
Miss Skeleton (bot)
c5d3ea89ee
bpo-38555: Fix an undefined behavior. (GH-16883)
...
(cherry picked from commit 2e3d873d3b
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-10-23 05:07:23 -07:00
Miss Skeleton (bot)
e113b5c3e7
Fix Zope URL (GH-16880)
...
(cherry picked from commit dfe726b1ac
)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2019-10-22 15:55:12 -07:00
Miss Skeleton (bot)
6329a56ca7
bpo-38466: Fix threading.excepthook doc (GH-16891)
...
(cherry picked from commit 91528f40c3
)
Co-authored-by: Daniel Baskal <MagnificentUrukHai@users.noreply.github.com>
2019-10-22 13:44:45 -07:00
Miss Skeleton (bot)
dbcea39ba7
bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717)
...
Fix stdatomic.h header check for ICC compiler: the ICC implementation
lacks atomic_uintptr_t type which is needed by Python.
Test:
* atomic_int and atomic_uintptr_t types
* atomic_load_explicit() and atomic_store_explicit()
* memory_order_relaxed and memory_order_seq_cst constants
But don't test ATOMIC_VAR_INIT(): it's not used in Python.
(cherry picked from commit 028f7349a0
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2019-10-22 13:19:32 -07:00
Miss Skeleton (bot)
2f8d4f08e2
bpo-31202: Preserve case of literal parts in Path.glob() on Windows. (GH-16860)
...
(cherry picked from commit 10ecbadb79
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-10-21 11:17:57 -07:00
Miss Skeleton (bot)
b1fc8c0c8a
bpo-38540: Fix possible leak in PyArg_Parse for "esGH-" and "etGH-". (GH-16869)
...
(cherry picked from commit 5bc6a7c06e
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-10-21 02:12:37 -07:00
Miss Islington (bot)
db38522964
bpo-38531: document extend action's added version (GH-16865) (GH-16868)
...
(cherry picked from commit 74142078b3
)
Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
2019-10-20 13:25:25 -07:00
Miss Islington (bot)
c39bc5c9e8
bpo-37759: More updates to Whatsnew 3.8 (GH-16854) (GH-16867)
...
* math.perm() and math.comb()
* math.isqrt()
* Add singledispatchmethod()
* itertools.accumulate()
* Optional headers for xmlrpc.client.ServerProxy
* IDLE non-BMP characters
* import collections.abc directly
* @coroutine is deprecated
* pprint.pp()
* New options for object.__reduce__()
* DictReader no longer returns OrderedDicts
* "force" option for logging.basicConfig()
* Fix spelling
* cProfile context manager
* Various markup/grammar fixes from Kyle Stanley.
Other minor fixes as well.
Also, dedup the __reduce__ entry.
* Fix markup
* Fix grammar nits found by MS Word
(cherry picked from commit c93883c6af
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-10-20 11:35:28 -07:00
Miss Islington (bot)
d73205d788
bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH-16846)
...
The reverse iterator for empty dictionaries was not handling correctly shared-key dictionaries.
(cherry picked from commit 24dc2f8c56
)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2019-10-19 13:20:51 -07:00