Erlend Egeberg Aasland
3a2e61524f
gh-94393: Remove unneeded module state from _json ( #94394 )
2022-07-02 08:24:19 +02:00
Oleg Iarygin
1bc8a38d8b
gh-93096: Remove `python -m codecs` (gh-94233)
2022-07-02 14:45:31 +09:00
Christian Heimes
ec5e253556
gh-90005: Port _dbm module to PY_STDLIB_MOD (GH-94433)
2022-07-01 21:48:38 +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
Stanley
3abda7a38a
gh-75372: Specify major version in README for installation (GH-92759)
2022-07-01 17:18:07 +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
Mark Shannon
be80db14c4
GH-94438: Account for NULLs on evaluation stack when jumping lines. (GH-94444)
2022-07-01 14:01:14 +01:00
Ezio Melotti
022800253f
Remove pr trigger from project-updater GHA. ( #94483 )
2022-07-01 13:06:09 +02:00
Mark Shannon
544531de23
GH-94262: Don't create frame objects for frames that aren't yet complete. (GH-94371)
2022-07-01 11:08:20 +01:00
Petr Viktorin
1df9449db2
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes ( #93953 )
2022-07-01 11:54:30 +02:00
Trey Hunner
a8e333d79a
gh-84461: Improve WebAssembly in-browser demo ( #91879 )
...
* Buffer standard input line-by-line
* Add non-root .editorconfig for JS & HTML indent
* Add support for clearing REPL with CTRL+L
* Support unicode in stdout and stderr
* Remove \r\n normalization
* Note that local .editorconfig file extends root
* Only normalize lone \r characters (convert to \n)
* Skip non-printable characters in buffered input
* Fix Safari bug (regex lookbehind not supported)
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-01 11:52:58 +02:00
Ezio Melotti
5f2c91a343
Add a workflow to add issues/PRs to projects. ( #94447 )
...
* Add a workflow to add issues/PRs to projects.
* Apply suggestions from code review
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-01 10:33:10 +02:00
Christian Heimes
d6acdc1b60
gh-90005-ffi: Fix building _ctypes without pkg-config (GH-94451)
...
The fallback path did not set LIBFFI_LIBS variable to link with ``-lffi``.
2022-07-01 09:23:41 +02: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
Mehdi ABAAKOUK
4261b6bffc
gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock ( #94050 )
...
The inspect version was not working with unittest.mock.AsyncMock.
The fix introduces special-casing of AsyncMock in
`inspect.iscoroutinefunction` equivalent to the one
performed in `asyncio.iscoroutinefunction`.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-06-30 19:08:38 +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
Christian Heimes
67d208fbee
gh-93491: Fix PEP 11 tier detection for FreeBSD (GH-94441)
2022-06-30 18:04:10 +02:00
neonene
ea39b77de9
gh-91719: Reload opcode on unknown error so that C can optimize the dispatching in ceval.c ( #94364 )
2022-06-30 08:38:29 -07: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
Mark Shannon
b152bf448b
GH-94329: Don't raise on excessive stack consumption (GH-94421)
2022-06-30 15:27:14 +01:00
Oleg Iarygin
9ef50c1d46
Delete DOS-only PC/testpy.py (GH-94419)
2022-06-30 14:17:35 +01:00
Irit Katriel
be82d26570
gh-94332: make it safe to call assemble_free when assemble_init has not been called (GH-94389)
2022-06-30 12:26:29 +01:00
Irit Katriel
21cbdae90f
gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410)
2022-06-30 10:18:18 +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
Erlend Egeberg Aasland
ac8a7b9b6c
gh-94401: Remove unneeded bz2 module state ( #94402 )
2022-06-29 17:51:36 +02:00
Oleg Iarygin
63c772d5ae
Delete unused PC/empty.c (GH-94418)
2022-06-29 15:58:56 +01:00
Christian Heimes
6485c3c726
gh-94404: Use module CFLAGS before PY_STDMODULE_CFLAGS (GH-94413)
...
``PY_STDMODULE_CFLAGS`` may contain include directories with system
headers. This can break compiling with built-in libmpdec.
2022-06-29 15:44:14 +02:00
Erlend Egeberg Aasland
655b3aa4c8
gh-94401: Remove unneeded overlapped module state ( #94403 )
2022-06-29 12:24:51 +02:00
Julien Palard
595baa4e06
gh-86404: [doc] Two 'make suspicious' false positives. (GH-94407)
2022-06-29 10:18:54 +02:00
Christian Heimes
199ba23324
gh-94026: Buffer regrtest worker stdout in temporary file (GH-94253)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2022-06-29 10:05:16 +02:00
Christian Heimes
5150cbcd68
gh-94404: makesetup: use correct CFLAGS and macOS workaround (GH-94405)
...
``makesetup`` now works around an issue with sed on macOS and uses correct
CFLAGS for object files that end up in a shared extension.
2022-06-29 09:46:39 +02:00
Erlend Egeberg Aasland
79ac8c1c0d
gh-94395: Remove unneeded module state from mmap ( #94396 )
2022-06-29 07:20:53 +02:00
yutotnh
5631013617
Fix typos in comments ( #94305 )
2022-06-28 16:28:21 +02:00
Pablo Galindo Salgado
c485ec014c
gh-88116: Avoid undefined behavior when decoding varints in code objects ( #94375 )
2022-06-28 14:24:54 +01:00
Christian Heimes
44fa03d748
gh-93939: Create and install scripts in Makefile (GH-94324)
...
Scripts for 2to3, idle, and pydoc are now created and installed by make.
2022-06-28 14:56:06 +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
Robin Plumey
176fd5571f
gh-94018: Remove trailing spaces in _sanitize_windows_name (GH-94040)
...
Closes #94018 .
Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2022-06-28 12:09:22 +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
Oleg Iarygin
5c5fc9da3f
Generalize build_msi GitHub action (GH-94201)
2022-06-28 11:33:23 +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
Christian Heimes
1bc86c2625
gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347)
...
Three test cases were failing on FreeBSD with latest OpenSSL.
2022-06-28 09:33:06 +02:00
Kumar Aditya
01ef1f95da
GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298)
2022-06-28 10:01:43 +03: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