da-woods
59e09efe88
Fix typo in test_dataclasses.py (gh-95735)
...
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
2022-08-06 11:56:00 -04:00
Aivars Kalvāns
15f4a35487
gh-95385 Fastpath for encoding dict to JSON (gh-95374)
2022-08-06 15:55:24 +09:00
Oleg Iarygin
56d16e8cb4
gh-93243: Make smtpd private before porting its users (GH-93246)
...
gh-93243
This PR is required to reduce diffs of the following porting (no need to either maintain documentation and tests consistent with each porting step, or try to port everything and remove smtpd in a single PR).
Automerge-Triggered-By: GH:warsaw
2022-08-05 17:41:29 -07:00
Barney Gale
29650fea96
gh-86943: implement `pathlib.WindowsPath.is_mount()` (GH-31458)
...
Have `pathlib.WindowsPath.is_mount()` call `ntpath.ismount()`. Previously it raised `NotImplementedError` unconditionally.
https://bugs.python.org/issue42777
2022-08-05 15:37:44 -07:00
Terry Jan Reedy
a302a27489
gh-95251: IDLE - Add What's New section to README ( #95688 )
...
Document what I (TJR) currently do for 3.10/3.11.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-05 17:15:18 -04:00
Terry Jan Reedy
834064c19a
gh-89362: Doc IDLE menu and search ( #95697 )
...
Update menu item position and capitalization.
Add paragraph about search.
For help.html, include save-as addition.
2022-08-05 12:21:45 -04:00
Pablo Galindo Salgado
787498cbbb
Update the magic number in test_util.py ( #95714 )
2022-08-05 15:42:39 +01:00
Pablo Galindo Salgado
bacbc35830
Remove draft notice from 3.11 What's new ( #95713 )
2022-08-05 15:40:41 +01:00
Victor Stinner
398ed84dc4
gh-93744: Remove configure --with-cxx-main option ( #95651 )
...
Remove the "configure --with-cxx-main" build option: it didn't work
for many years. Remove the MAINCC variable from configure and
Makefile.
The MAINCC variable was added by the issue gh-42471: commit
0f48d98b74
. Previously, --with-cxx-main
was named --with-cxx.
Keep CXX and LDCXXSHARED variables, even if they are no longer used
by Python build system.
2022-08-05 13:26:58 +02:00
Fantix King
3a9e1fda7a
gh-95573: Reduce test data size in test_asyncio/test_ssl.py (GH-95668)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-08-05 10:45:36 +02:00
Mariatta Wijaya
a525f2ada4
GH-95685: Fix rendering of the string documentation ( #95686 )
...
There's an extra underlines that messed the rest of the documentation rendering.
Closes #95685
2022-08-05 09:41:02 +02:00
Fantix King
e1d68b3ce7
gh-95573: Fix a mistake in asyncio ssl tests suppressing all logs ( #95687 )
2022-08-05 09:33:35 +02:00
Brandt Bucher
5f3c9fda18
GH-90997: Document CACHEs (GH-95694)
2022-08-04 22:45:05 -07:00
Terry Jan Reedy
9890f86ae2
gh-65802: IDLE - explain SaveAs and extensions ( #95690 )
...
File name extensions may or may not be shown for the current name
and are added in an OS-dependent manner if not given for the new
name.
2022-08-04 21:51:14 -04:00
Eric Snow
87154d8dd8
gh-94673: Add Per-Interpreter tp_subclasses for Static Builtin Types (gh-95301)
2022-08-04 19:26:59 -06:00
Barry Warsaw
e1182bc377
gh-94619: Remove long deprecated methods module_repr() and load_module() ( #94624 )
...
* gh-94619: Remove long deprecated methods module_repr() and load_module()
Closes #94619
* Update Misc/NEWS.d/next/Library/2022-07-06-14-57-33.gh-issue-94619.PRqKVX.rst
Fix typo
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
2022-08-04 17:24:26 -07:00
Erlend Egeberg Aasland
44f1f63ad5
Docs: sqlite3 docs fixup ( #95681 )
...
- Disable links to the module itself
- Fix link indent
- Consistent ref markup
2022-08-05 00:06:46 +02:00
Erlend Egeberg Aasland
b24e8b28a7
gh-95271: Extract placeholders howto from sqlite3 tutorial ( #95522 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-08-04 22:41:18 +02:00
fluesvamp
c47d09a4ac
Remove unnecessary text from documentation. (GH-95670)
2022-08-04 21:18:05 +01:00
Erlend Egeberg Aasland
12d92c733c
gh-95273: Improve documented return values and exceptions raised for sqlite3 class methods ( #95530 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-08-04 21:58:10 +02:00
Erlend Egeberg Aasland
6a5104f4fa
gh-95656: Enable the sqlite3 load extension API in Windows build ( #95662 )
2022-08-04 21:26:13 +02:00
ceh
962acd4468
Docs: fix two typos in the sqlite3 docs ( #95661 )
...
- statment => statement
- transaciton => transaction
2022-08-04 20:25:53 +02:00
Eric Snow
bdbadb905a
gh-94673: Recover Weaklist Lookup Performance (gh-95544)
...
gh-95302 seems to have introduced a small performance regression. Here we make some minor changes to recover that lost performance.
2022-08-04 11:28:15 -06:00
Eric Snow
60f54d9485
gh-90110: Update the C Analyzer Tool Whitelists (gh-95628)
2022-08-04 10:47:02 -06:00
Serhiy Storchaka
ab8a5beb5f
Fix links to old SF bugs ( #95648 )
2022-08-04 18:12:35 +02:00
Steve Dower
5b6acbaa20
gh-95587: Fixes some upgrade detection issues in the Windows installer (GH-95631)
2022-08-04 17:12:08 +01:00
Petr Viktorin
7b370b7305
gh-93274: Make vectorcall safe on mutable classes & inherit it by default ( #95437 )
2022-08-04 17:19:29 +02:00
Petr Viktorin
a613fedd6e
gh-95388: Deprecate creating immutable types with mutable bases (GH-95533)
2022-08-04 16:13:45 +02:00
Irit Katriel
000c3874bf
gh-87092: create a 'jump target label' abstraction so that the compiler's codegen stage does not work directly with basic blocks (GH-95398)
2022-08-04 14:59:32 +01:00
Kumar Aditya
2fef27589e
GH-95289: Always call uncancel() when parent cancellation is requested ( #95602 )
...
Co-authored-by: Guido van Rossum <guido@python.org>
2022-08-04 06:57:44 -07:00
Ken Jin
42b102bbf9
gh-94936: C getters: co_varnames, co_cellvars, co_freevars ( #95008 )
2022-08-04 06:53:31 -07:00
Łukasz Langa
0342c93a6b
gh-91323: Revert "Allow overriding a future compliance check in asyncio.Task (GH-32197)" (GH-95442)
...
This reverts commit d4bb38f82b
.
2022-08-04 15:51:38 +02:00
Serhiy Storchaka
d0d0154443
gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)
...
It updates links which redirect to HTTPS with different authority or
path.
2022-08-04 13:30:05 +03:00
Terry Jan Reedy
621b33ce25
gh-95638: Update idlelib README file and menu lists ( #95639 )
2022-08-04 03:35:42 -04:00
Serhiy Storchaka
f79547a429
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
...
If an HTTP link is redirected to a same looking HTTPS link, the latter can
be used directly without changes in readability and behavior.
It protects from a men-in-the-middle attack.
This change does not affect Python examples.
2022-08-04 10:13:49 +03:00
Terry Jan Reedy
bcc74d509a
gh-95191: IDLE Prompts entry for What's New 3.10 ( #95633 )
2022-08-03 22:17:57 -04:00
Terry Jan Reedy
c569526fac
gh-95191: IDLE Prompts entry for Whatnew 3.11 ( #95632 )
2022-08-03 20:56:05 -04:00
Miro Hrončok
fe23c0061d
gh-94675: Add a regression test for rjsmin re slowdown (GH-94685)
...
Adds a regression test for an re slowdown observed by rjsmin.
Uses multiprocessing to kill the test after SHORT_TIMEOUT.
Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-03 16:19:36 -07:00
Hugo van Kemenade
dc2757accd
gh-90817: Use .. deprecated-removed:: when removal version known ( #94960 )
2022-08-03 23:47:20 +02:00
Steve Dower
67840edb28
gh-94399: Restore PATH search behaviour of py.exe launcher for '/usr/bin/env' shebang lines (GH-95582)
2022-08-03 22:18:51 +01:00
Jo, Yunjin
b53aed76d2
gh-95597: Fix typo in Lib directory files ( #95599 )
2022-08-03 17:16:15 -04:00
Ethan Furman
6bde34000d
[Enum] add whatsnew entries (GH-95455)
2022-08-03 14:11:20 -07:00
Derek Kim
ebd660156d
gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load (GH-95521)
2022-08-03 21:55:03 +01:00
Erlend Egeberg Aasland
4d02572f8c
gh-95273: Align sqlite3 const doc refs with the devguide recommendations ( #95525 )
2022-08-03 22:21:15 +02:00
Stéphane Bidoul
3d9d45b22c
gh-95609: update bundled pip to 22.2.2 (gh-95610)
2022-08-03 20:26:51 +01:00
CAM Gerlach
ac3bf6155f
gh-91207: Fix CSS bug in Windows CHM help file and add deprecation message (GH-95607)
2022-08-03 20:23:20 +01:00
Mark Shannon
906e450932
GH-92678: Fix tp_dictoffset inheritance. (GH-95596)
...
* Add test for inheriting explicit __dict__ and weakref.
* Restore 3.10 behavior for multiple inheritance of C extension classes that store their dictionary at the end of the struct.
2022-08-03 18:56:24 +01:00
Erlend Egeberg Aasland
89f5229328
Docs: fix incorrect formatting in sqlite3 CLI docs ( #95581 )
2022-08-03 00:17:09 +02:00
Christian Heimes
e3b6ff19aa
gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)
...
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-02 21:00:41 +02:00
CAM Gerlach
75a6441718
gh-95516: Add param types and clarify param descriptions of LogRecord (GH-95517)
2022-08-02 08:42:35 +01:00