Erlend Egeberg Aasland
cc81962e69
Doc: fix sqlite3 blob reference anchor ( #94505 )
2022-07-02 08:35:48 +02:00
Sam Ezeh
80aaeabb8b
gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH-94416)
2022-07-01 18:21:27 +02:00
Mariatta Wijaya
ad55147c1d
Update code sample when importing modules in queue doc (GH-94244)
...
In the queue documentation, the code snippet shows the import to be not PEP 8 compliant.
Since people typically copy-paste from such code samples, I think it's important to show best-practices here.
2022-07-01 17:51:46 +02:00
Irit Katriel
c57aad777a
gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241)
2022-07-01 15:33:35 +01:00
Mariatta Wijaya
62bb7a3b50
multiprocessing.spawn doc: Capitalize the p in "Python" (gh-94462)
2022-06-30 10:23:04 -07:00
Guido van Rossum
594c369949
GH-94398: TaskGroup: Fail create_task() during shutdown (GH-94400)
...
Once the task group is shutting down, it should not be possible to create a new task.
Here "shutting down" means `self._aborting` is set, indicating that at least one task
has failed and we have cancelled all others.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-06-30 19:10:46 +02:00
Jean-Christophe Helary
639e35108b
xml.dom.minidom docs: fix typo ( #93437 )
2022-06-30 10:06:42 -07:00
Guido van Rossum
b6ec6d4041
GH-90908: Document asyncio.TaskGroup (GH-94359)
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-06-30 18:16:22 +02:00
Irit Katriel
d68f2d27bb
gh-89038: [doc] update dis.findlinestarts documentation for changes related to PEP-626 (GH-94247)
2022-06-30 15:57:35 +01:00
Irit Katriel
68fb03249f
bpo-92336: [doc] clarify that the dfile is read by the traceback display code (GH-94409)
2022-06-29 20:24:43 +01:00
Cheryl Sabella
22b783aba0
Docs: Update SyntaxError message in REPL example for list comprehension (GH-93901)
2022-06-29 19:06:51 +02:00
Julien Palard
595baa4e06
gh-86404: [doc] Two 'make suspicious' false positives. (GH-94407)
2022-06-29 10:18:54 +02:00
Victor Stinner
600c65c094
gh-94172: Remove ssl.PROTOCOL_SSLv2 dead code ( #94312 )
...
Remove dead code related to ssl.PROTOCOL_SSLv2. ssl.PROTOCOL_SSLv2
was already removed in Python 3.10.
In test_ssl, @requires_tls_version('SSLv2') always returned False.
Extract of the removed code: "OpenSSL has removed support for SSLv2".
2022-06-28 13:57:08 +02:00
Stanley
4b854b7466
gh-61585: Clarify import scope in modules tutorial (GH-93455)
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-06-28 12:15:44 +02:00
Erik De Bonte
81ac9ac492
Add docs for decorated object and field specifier params (GH-94354)
2022-06-28 11:58:35 +02:00
Serhiy Storchaka
efdc9d68de
gh-87995: Make MappingProxyType hashable (GH-94252)
2022-06-28 11:54:58 +02:00
Victor Stinner
71d5299b73
gh-94199: Remove hashlib.pbkdf2_hmac() Python implementation (GH-94200)
...
Remove the pure Python implementation of hashlib.pbkdf2_hmac(),
deprecated in Python 3.10. Python 3.10 and newer requires OpenSSL
1.1.1 or newer (PEP 644), this OpenSSL version provides a C
implementation of pbkdf2_hmac() which is faster.
2022-06-28 11:51:13 +02:00
Julien Palard
bc7f6fcdf1
gh-86404: [doc] Fix missing space in idle documentation. (GH-94366)
...
This should have been spotted by sphinx-lint, tracked here:
https://github.com/sphinx-contrib/sphinx-lint/issues/39
2022-06-28 09:44:52 +02:00
Terry Jan Reedy
e6391e08bf
gh-82006: IDLE doc improvements ( #94349 )
...
0. Update text start and stop conditions.
1. Title-case sections but not subsections.
2. Edit Shell Window sections: title, execute, restart.
2022-06-27 18:59:26 -04:00
Mark Shannon
c0453a40fa
GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168)
2022-06-27 12:24:23 +01:00
Arun Mani J
d71f5adc41
gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)
2022-06-26 22:57:41 +01:00
Paul Moore
aedb5194d5
gh-94214: Add venv context.lib_path and document the context (GH-94221)
2022-06-26 17:49:03 +01:00
Victor Stinner
cc0d5e568e
gh-94226: Remove the locale.format() function ( #94229 )
...
Remove the locale.format() function, deprecated in Python
3.7: use locale.format_string() instead.
Remove TestFormatPatternArg test case: it is irrelevant for
locale.format_string() which accepts complex formats.
2022-06-26 12:41:19 +02:00
Max Bachmann
32d595fdcd
[doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140)
2022-06-26 11:02:29 +01:00
Serhiy Storchaka
c834c02569
Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556)
...
This reverts commit b50322d203 .
2022-06-26 10:18:06 +03:00
Jason R. Coombs
38612a05b5
gh-93259: Validate arg to `Distribution.from_name`. (GH-94270)
...
Syncs with importlib_metadata 4.12.0.
2022-06-25 21:04:28 -04:00
Irit Katriel
9af6b75298
gh-70474: [doc] fix wording of GET_ANEXT doc (GH-94048)
2022-06-25 23:44:30 +01:00
Stanley
c57a1c76d7
bpo-39971: Change examples to be runnable (GH-32172)
2022-06-25 21:51:26 +01:00
Erlend Egeberg Aasland
bd3c1c187e
gh-90016: Reword sqlite3 adapter/converter docs ( #93095 )
...
Also add adapters and converter recipes.
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com
2022-06-25 22:06:06 +02:00
Victor Stinner
944c7d8a85
gh-94199: Remove ssl.match_hostname() function ( #94224 )
2022-06-25 12:54:11 +02:00
Yaron de Leeuw
50cd4b6959
bpo-26253: Add compressionlevel to tarfile stream (GH-2962)
...
`tarfile` already accepts a compressionlevel argument for creating
files. This patch adds the same for stream-based tarfile usage.
The default is 9, the value that was previously hard-coded.
2022-06-25 11:43:54 +03:00
Oleg Iarygin
a91ffcf3fa
Docs: Remove Provides [...] from multiprocessing.shared_memory description ( #92761 )
2022-06-24 10:08:45 -07:00
Victor Stinner
d3a27e4c93
gh-94196: Remove gzip.GzipFile.filename attribute ( #94197 )
...
gzip: Remove the filename attribute of gzip.GzipFile,
deprecated since Python 2.6, use the name attribute instead. In write
mode, the filename attribute added '.gz' file extension if it was not
present.
2022-06-24 11:59:32 +02:00
Victor Stinner
d435a18c53
gh-94199: Remove ssl.RAND_pseudo_bytes() function ( #94202 )
...
Remove the ssl.RAND_pseudo_bytes() function, deprecated in Python
3.6: use os.urandom() or ssl.RAND_bytes() instead.
2022-06-24 11:05:53 +02:00
Victor Stinner
6e33ba114f
gh-94169: Remove deprecated io.OpenWrapper ( #94170 )
...
Remove io.OpenWrapper and _pyio.OpenWrapper, deprecated in Python
3.10: just use :func:`open` instead. The open() (io.open()) function
is a built-in function. Since Python 3.10, _pyio.open() is also a
static method.
2022-06-24 08:46:53 +02:00
Julien Palard
11e865c74b
gh-86404: [doc] Fix missing backtick and double target name. ( #94120 )
2022-06-23 09:12:18 +02:00
Oscar R
fb1e9506c1
gh-91456: [Enum] Deprecate default auto() behavior with mixed value types (GH-91457)
...
When used with plain Enum, auto() returns the last numeric value assigned, skipping any incompatible member values (such as strings); starting in 3.13 the default auto() for plain Enums will require all the values to be of compatible types, and will return a new value that is 1 higher than any existing value.
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2022-06-22 23:20:24 -07:00
partev
7c439dca13
Closes gh-94152: Update pyvideo.org URL (GH-94075)
...
The URL is now https://pyvideo.org , which uses HTTPS and avoids a redirect.
2022-06-22 22:35:02 -05:00
Inada Naoki
9877f4c624
gh-85308: argparse: Use filesystem encoding for arguments file (GH-93277)
2022-06-23 12:09:57 +09:00
Victor Stinner
47e35625ff
gh-84623: Remove unused imports ( #94132 )
2022-06-22 19:14:27 +02:00
partev
8661c5053f
gh-94114: Remove obsolete reference to python.org mirrors (GH-94115)
...
* gh-94114
2022-06-22 09:55:06 -07:00
Serhiy Storchaka
fda4b2f063
gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160)
...
It is no longer changed when create a zip or tar archive.
It is still changed for custom archivers registered with shutil.register_archive_format()
if root_dir is not None.
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-06-22 10:47:25 +02:00
Irit Katriel
6575841266
bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098)
...
Co-authored-by: Windson yang <wiwindson@outlook.com>
2022-06-21 23:03:08 +01:00
Gregory P. Smith
296e4efebb
gh-89336: Remove configparser APIs that were deprecated for 3.12 ( #92503 )
...
https://github.com/python/cpython/issue/89336 : Remove configparser 3.12 deprecations.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-06-21 14:31:25 -07:00
Ezio Melotti
f28ec34c5c
gh-82927: Update files related to HTML entities. (GH-92504)
2022-06-21 22:03:12 +02:00
max
dd5cf84f24
Tutorial: specify match cases don't fall through (GH-93615)
2022-06-21 21:44:09 +02:00
paulreece
51d673176a
gh-93240: clarify wording in IO tutorial (GH-93276)
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-21 21:40:11 +02:00
luzpaz
830513754d
gh-93675: Fix typos in Doc/ (GH-93676)
...
Closes #93675
2022-06-21 21:10:45 +02:00
Oleg Iarygin
f62ff97f31
gh-93851: Fix all broken links in Doc/ (GH-93853)
2022-06-21 20:55:18 +02:00
Steve Dower
5a08e0fda4
gh-94068: Remove HVSOCKET_CONTAINER_PASSTHRU constant because it has been removed from Windows (GH-94069)
...
Fixes #94068
Automerge-Triggered-By: GH:zware
2022-06-21 10:27:21 -07:00