Miss Skeleton (bot)
3d43f1dce3
Second round of updates to the descriptor howto guide (GH-22946) (GH-22958)
2020-10-24 20:39:15 -07:00
Miss Skeleton (bot)
2cccc29eaf
bpo-29981: Add examples and update index for set, dict, and generator comprehensions'(GH-20272)
...
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
(cherry picked from commit 2d55aa9e37
)
Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
2020-10-24 19:53:41 -07:00
Miss Skeleton (bot)
427cb0aa78
bpo-42127: Document effect of cached_property on key-sharing dictionaries (GH-22930) (GH-22955)
2020-10-24 19:00:14 -07:00
Miss Skeleton (bot)
c2c4477489
[doc] Fix link to abc.ABCMeta.register in Glossary (GH-22932)
...
(cherry picked from commit e01e442125
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-10-24 17:33:01 -07:00
Miss Skeleton (bot)
c17f63fae5
bpo-19072: Update descriptor howto for decorator chaining (GH-22934) (GH-22935)
2020-10-23 19:01:35 -07:00
Weiliang Li
dc33f79813
bpo-41950: Typo in Python 3.9 what's new page (GH-22573)
2020-10-23 17:11:10 -07:00
Miss Skeleton (bot)
f8d96b98a4
Create a primer section for the descriptor howto guide (GH-22906) (GH0-22918)
2020-10-23 13:49:32 -07:00
Miss Skeleton (bot)
69479ecfa8
[3.9] bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) (GH-22901)
...
(cherry picked from commit ec388cfb4e
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Automerge-Triggered-By: GH:warsaw
2020-10-22 16:55:05 -07:00
Miss Skeleton (bot)
f22f874a66
bpo-25655: Improve Win DLL loading failures doc (GH-22372)
...
Add documentation to help diagnose CDLL dependent DLL loading errors
on windows for OSError with message:
"[WinError 126] The specified module could not be found"
This error is otherwise difficult to diagnose.
(cherry picked from commit b6f2fc9040
)
Co-authored-by: Philippe Ombredanne <pombredanne@gmail.com>
2020-10-22 09:02:13 -07:00
larryhastings
32a9ffdef1
[3.9] Remove 3.5 from Doc version switcher in master. (GH-22886) ( #22888 )
...
(cherry picked from commit 283f9a253b
)
2020-10-22 07:29:26 -07:00
Miss Skeleton (bot)
c3538b8381
bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874) ( #22876 )
...
See Objects/typeobject.c:object_richcompare() for the implementation of this in CPython.
Co-authored-by: Brett Cannon <brett@python.org>
2020-10-21 20:07:39 -04:00
Miss Skeleton (bot)
6e842bcdf8
bpo-35181: Correct importlib documentation for some module attributes (GH-15190)
...
@ericsnowcurrently This PR will change the following:
In the library documentation importlib.rst:
- `module.__package__` can be `module.__name__` for packages;
- `spec.parent` can be `spec.__name__` for packages;
- `spec.loader` is not `None` for namespaces packages.
In the language documentation import.rst:
- `spec.loader` is not `None` for namespace packages.
Automerge-Triggered-By: GH:warsaw
(cherry picked from commit 27f1bd8787
)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2020-10-21 14:39:41 -07:00
Miss Skeleton (bot)
224ed378b9
Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class name (GH-22867)
...
This is a trivial fix to [bpo-39416](), which didn't come up until it was already committed
```
Change "Numeric" to "numeric".
I believe this is trivial enough to not need an issue or a NEWS entry, although
I'm unclear on what branches the original pull request received backports.
```
Automerge-Triggered-By: GH:merwok
(cherry picked from commit f8b1ccd63c
)
Co-authored-by: kpinc <kop@karlpinc.com>
2020-10-21 13:54:39 -07:00
Miss Skeleton (bot)
c3442fd8a7
bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text (GH-22580) ( #22865 )
...
While translating the following document to Spanish we found there is a grammar issue on the original documentation.
(cherry picked from commit caff2934f4
)
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
2020-10-21 23:34:29 +03:00
Miss Skeleton (bot)
ec62b47ebc
[3.9] bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111) (GH-22860)
...
[[bpo-39416]()](): Document string representations of the Numeric classes
This is a change to the specification of the Python language.
The idea here is to put sane minimal limits on the Python language's default
representations of its Numeric classes. That way "Marty's Robotic Massage Parlor
and Python Interpreter" implementation of Python won't do anything too
crazy.
Some discussion in the email thread:
Subject: Documenting Python's float.__str__()
https://mail.python.org/archives/list/python-dev@python.org/thread/FV22TKT3S2Q3P7PNN6MCXI6IX3HRRNAL/
(cherry picked from commit c60394c7fc
)
Co-authored-by: kpinc <kop@karlpinc.com>
Automerge-Triggered-By: GH:merwok
2020-10-21 11:56:16 -07:00
Miss Skeleton (bot)
fcd776c6c2
Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
...
(cherry picked from commit cb115e36e1
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2020-10-21 01:57:37 -07:00
Miss Skeleton (bot)
03bfb07937
Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)
...
(cherry picked from commit fb2e94692e
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-10-21 01:47:54 -07:00
Miss Skeleton (bot)
f72101bb62
Doc: Do not encourage using a base class name in a derived class (GH-22177)
...
(cherry picked from commit 4642ccd1c3
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-10-21 17:11:13 +09:00
Miss Skeleton (bot)
9e935adf74
Doc: Remove old Python version from future stmt (GH-21802)
...
(cherry picked from commit eba109a28f
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-10-20 23:06:29 -07:00
Miss Skeleton (bot)
19019eccde
bpo-41646: Mention path-like objects support in the docs for shutil.copy() (GH-22208)
...
(cherry picked from commit 8f2b991eef
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2020-10-21 14:16:42 +09:00
Miss Skeleton (bot)
d05514ace6
[3.9] bpo-42010: [docs] Clarify subscription of types (GH-22822) (GH-22840)
...
(cherry picked from commit 7cdf30fff3
)
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:gvanrossum
2020-10-20 16:58:49 -07:00
Miss Skeleton (bot)
46130f8538
bpo-41192: Add documentation of undocumented audit events (GH-22831)
...
(cherry picked from commit 3f7e990fd4
)
2020-10-20 16:05:13 -04:00
Andrew Kuchling
b948d13ec0
[3.9] bpo-41192: Clarify the sys module's description of the auditing feature (GH-22821)
...
Co-authored-by: Éric Araujo <merwok@netwok.org>
(cherry picked from commit 0c37269be7
)
2020-10-20 11:36:52 -04:00
Miss Skeleton (bot)
4aed781eb4
Doc: Add missing spaces after period for `posix_spawn` (GH-22730)
...
(cherry picked from commit 5b57fa6940
)
Co-authored-by: Tomer Cohen <tomer@users.noreply.github.com>
2020-10-20 08:01:56 -07:00
Miss Skeleton (bot)
b249aeae89
bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639)
...
Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>
(cherry picked from commit ec42789e6e
)
Closes bpo-39693.
2020-10-20 10:31:03 -04:00
Miss Skeleton (bot)
38a17d0752
bpo-41726: Update the refcounts info of PyType_FromModuleAndSpec in refcounts.dat (GH-22112) (GH-22808)
...
Update refcounts info of PyType_FromModuleAndSpec in refcounts.dat
(cherry picked from commit 1e2f051a61
)
Co-authored-by: Hai Shi <shihai1992@gmail.com>
2020-10-20 14:30:04 +02:00
Miss Skeleton (bot)
bd9d76bbbb
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
...
(cherry picked from commit ff1ae3dd33
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2020-10-20 05:23:39 -07:00
Miss Skeleton (bot)
335eb57823
[doc] Add link to Generic in typing (GH-22125)
...
(cherry picked from commit 5bfd60fc2b
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-10-19 16:08:19 -07:00
Miss Skeleton (bot)
9308173f88
bpo-40901: Describe what "interface name" means on Windows (GH-20694)
...
(cherry picked from commit f85658a098
)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
2020-10-19 15:49:55 -07:00
Miss Skeleton (bot)
6a9c1268ca
Document that `test.support.bytecode_helper` is new in 3.9 (GH-22618) (GH-22761)
...
(cherry picked from commit cf693e537d
)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
2020-10-19 19:44:06 -03:00
Miss Skeleton (bot)
b62ecc21b4
bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360)
...
On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8).
(cherry picked from commit 4dfb190a33
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2020-10-19 15:30:39 -07:00
Miss Skeleton (bot)
e67f186898
bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463)
...
(cherry picked from commit 33242a9328
)
Co-authored-by: Michel Samia <m.samia@seznam.cz>
2020-10-19 15:24:05 -07:00
Miss Skeleton (bot)
9b5e373aa8
Link to the msvcrt module from the Windows FAQ (GH-22268)
...
(cherry picked from commit 5d9e657517
)
Co-authored-by: abdo <abd.nh25@gmail.com>
2020-10-19 15:08:36 -07:00
Miss Skeleton (bot)
a358a0ad71
bpo-40484: Document compiler flags under AST module (GH-19885) (GH-22758)
...
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
(cherry picked from commit 155938907c
)
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
2020-10-19 20:29:38 +01:00
Miss Skeleton (bot)
2ee6ef98b4
bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22767)
...
(cherry picked from commit ebc8c38287
)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
2020-10-19 11:39:25 -04:00
Miss Skeleton (bot)
e5c7ac7a22
3.9 whatsnew: fix bpo issue for AST change (GH-22742) (GH-22749)
...
(cherry picked from commit 67f04878de
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2020-10-18 20:16:54 +03:00
Miss Skeleton (bot)
0fbddb14dc
bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst (GH-22726) (GH-22727)
...
(cherry picked from commit a22a19f354
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2020-10-16 13:27:59 -07:00
Xie Yanbo
b30934e9af
[3.9] Fix incorrect parameter name (GH-22613) (GH-22628)
...
Automerge-Triggered-By: @Mariatta
(cherry picked from commit a42759351b
)
Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
2020-10-15 22:55:28 +05:30
Miss Skeleton (bot)
78723b378b
Minor clarification (GH-22708) (GH-22709)
2020-10-15 00:09:33 -07:00
Miss Skeleton (bot)
69f040c000
Update timings for the final release (GH-22697) (GH-22698)
2020-10-14 10:29:10 -07:00
Miss Skeleton (bot)
270a2fbc55
Improve recipe readability (GH-22685) (GH-22686)
2020-10-13 17:19:05 -07:00
Miss Skeleton (bot)
5f0007f0f8
Add recipe for a version of random() with a larger population (GH-22664) (GH-22684)
2020-10-13 12:38:13 -07:00
Miss Skeleton (bot)
15ef19f7d7
Fix typo in "Context manager types" section in typing.rst (GH-22676)
...
Fix typo in the "Context manager types" section in `typing.rst`.
Automerge-Triggered-By: @gvanrossum
(cherry picked from commit ba06a70c82
)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
2020-10-12 16:55:24 -07:00
Miss Skeleton (bot)
372a9e2135
Fix typo (GH-22582)
...
/af/of/s
Automerge-Triggered-By: @Mariatta
(cherry picked from commit 8197a93208
)
Co-authored-by: Gaurav Kamath <st0le@users.noreply.github.com>
2020-10-12 06:53:10 -07:00
Miss Skeleton (bot)
f1c70cf9e8
Fix typo in typing.rst (GH-22625)
...
(cherry picked from commit 0ff8a3b374
)
Co-authored-by: abdo <abd.nh25@gmail.com>
2020-10-11 01:06:48 -07:00
Miss Skeleton (bot)
5b1fdcacfc
bpo-41376: Fix the documentation of `site.getusersitepackages()` (GH-21602)
...
`site.getusersitepackages()` returns the location of the user-specific site-packages directory
even when the user-specific site-packages is disabled.
```
$ python -s -m site
sys.path = [
'/home/user/conda/lib/python37.zip',
'/home/user/conda/lib/python3.7',
'/home/user/conda/lib/python3.7/lib-dynload',
'/home/user/conda/lib/python3.7/site-packages',
]
USER_BASE: '/home/user/.local' (exists)
USER_SITE: '/home/user/.local/lib/python3.7/site-packages' (doesn't exist)
ENABLE_USER_SITE: False
```
It was not practical to prevent the function from returning None if user-specific site-packages are disabled, since there are other uses of the function which are relying on this behaviour (e.g. `python -m site`).
(cherry picked from commit 35f041dd01
)
Co-authored-by: Phil Elson <pelson.pub@gmail.com>
2020-10-08 00:00:28 -07:00
Miss Skeleton (bot)
4aad1e5770
bpo-41584: clarify when the reflected method of a binary arithemtic operator is called (GH-22505)
...
(cherry picked from commit d02d824e05
)
Co-authored-by: Brett Cannon <brett@python.org>
2020-10-05 10:05:50 -07:00
Łukasz Langa
79dd0dbc32
Python 3.9.0
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl97Nt8ACgkQsmmV4xAl
BWhFGA//cXN7hkXzURCN2z7GCHaAUm/jnJ+7xta8oVlSjpJT0OjJsxojnc+XpQau
2bCW2o3uxhiM6qr7N2Vtj7ar2+4x8eTN08i+6phpFcLn8WzfsYQYA7Vc5RDsb8nr
ty8JBu+xdHsP3RIfBViCotCXOhfEJZwqQnvMeGuwmHPd5w2s1GCbnPuILnWZEDtF
tpOxJZjEUjd2gEyXKB1q5fCfMJvb73vKBcxVeMM6nbsI9egp6CeIAJC0B2xiBGGw
8nzfvGiqMcHhBfCwKw3mER5FQQPbVyYbHSDPUm8lgdel/hMZ3dIkg686/bOQXzri
H3xyb46PGCZNG8I5J1gQD0mcyYfXzYBNUvzlN6xRlyxanPEvX3wH+KeliRqfTQZb
/GU9fPqrdznvMS7UoXM4R17+qHOtc/CNX53vqMX0aKioq9FZDsfRHPtvAC6zDKtP
0ibkGU510FUf7Yt5Sh4kSB12RNNXjhBgzVS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v3.9.0' into 3.9
Python 3.9.0
2020-10-05 18:05:58 +02:00
Łukasz Langa
9cf6752276
Python 3.9.0
2020-10-05 17:07:58 +02:00
Miss Skeleton (bot)
75dd70e1ce
bpo-41774: Tweak new programming FAQ entry (GH-22562)
...
Remove mention of space in "remove multiple items from list".
(cherry picked from commit 060937da98
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-10-05 07:53:26 -07:00