Steve Dower
73d8ffefe9
gh-95733: Allow installing Store package on older Windows versions (GH-95862)
2022-08-11 00:47:58 +01:00
Mark Dickinson
97e9cfa75a
gh-95605: Fix `float(s)` error message when `s` contains only whitespace (GH-95665)
...
This PR fixes the error message from float(s) in the case where s contains only whitespace.
2022-08-10 19:25:39 +01:00
David Bonner
37c0f9ccc0
gh-95804: Respect MemoryHandler.flushOnClose in logging shutdown. (GH-95857)
2022-08-10 18:08:55 +01:00
Petr Viktorin
71c3d649b5
gh-95504: Fix negative numbers in PyUnicode_FromFormat (GH-95848)
...
Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
2022-08-10 13:12:40 +02:00
esc
cf28540fd3
[docs] Mention RESUME opcode in whatsnew/3.11.rst ( #95595 )
2022-08-10 12:50:21 +02:00
Petr Viktorin
5a97a93be0
gh-93649: Undefine NDEBUG in Modules/_testcapi/* to enable assert() (GH-95793)
2022-08-10 11:53:10 +02:00
Petr Viktorin
325ae93b6b
gh-93649: Split unicode tests from _testcapimodule.c & add some more (GH-95819)
...
- Move PyUnicode tests to a separate file
- Add some more tests for PyUnicode_FromFormat
Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
2022-08-10 09:10:25 +02:00
Eric Snow
3ff6d9affb
gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837)
...
Under certain build conditions, test_check_c_globals fails. This fix takes the same approach as we took for gh-84236 (via gh-20095). We'll be removing use of distutils in the c-analyzer at some point. Until then we'll hide the warning filter.
2022-08-09 16:04:05 -07:00
Terry Jan Reedy
70fc9641b5
gh-75500: Add idlelib section to IDLE doc ( #95832 )
...
This enables accessing IDLE as 'idlelib' in the Doc Module listing.
2022-08-09 14:34:42 -04:00
Andrzej Bartosiński
141f2517fc
gh-95767: Fix grammatical error in asyncio loop.create_task docs ( #95768 )
2022-08-09 15:59:27 +02:00
Mark Shannon
8d37c62c2a
GH-92678: Document that you shouldn't be doing your own dictionary offset calculations. (GH-95598)
...
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-08-09 14:26:37 +01:00
Petr Viktorin
eb81c1aea1
Disable Limited API tests with Py_TRACE_REFS (GH-95796)
2022-08-09 09:03:11 +02:00
Raymond Hettinger
7c8626ab3d
Improvements to the bisect docs (GH-95807)
2022-08-09 01:31:50 -05:00
Matthias Görgens
8a55e2f920
bpo-37000: Remove obsolete comment in _randbelow_with_getrandbits ( #95775 )
2022-08-08 18:22:26 -05:00
Erlend E. Aasland
41c939cb35
gh-95273: Reorganize sqlite3 doc module level funcs and vars ( #95626 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-08 21:25:35 +02:00
Serhiy Storchaka
62f06508e7
gh-95781: More strict format string checking in PyUnicode_FromFormatV() (GH-95784)
...
An unrecognized format character in PyUnicode_FromFormat() and
PyUnicode_FromFormatV() now sets a SystemError.
In previous versions it caused all the rest of the format string to be
copied as-is to the result string, and any extra arguments discarded.
2022-08-08 19:21:07 +03:00
Terry Jan Reedy
63140b445e
gh-95491: Mention IDLE Issue project in Readme ( #95750 )
2022-08-08 09:37:43 -04:00
Petr Viktorin
656dad702d
gh-93274: Expose receiving vectorcall in the Limited API (GH-95717)
2022-08-08 14:12:05 +02:00
Serhiy Storchaka
cc9160a29b
gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650)
2022-08-08 14:00:17 +03:00
Erlend E. Aasland
78a85a34ea
gh-95388: Suppress deprecation warning in test_immutable_type_with_mutable_base (GH-95728)
...
When 3.14 kicks in, it'll be a RuntimeError;
the test will correctly fail then.
2022-08-08 12:15:57 +02:00
Erlend E. Aasland
0c14f07256
Fix downcast compiler warning in Modules/_testcapi/vectorcall.c ( #95729 )
2022-08-08 10:58:29 +02:00
Tim Gates
32b49f613a
docs: Fix a few typos ( #94899 )
...
- overriden => overridden
- calcualation => calculation
Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-08-08 10:02:45 +02:00
Andrzej Bartosiński
f83b0cabeb
Fix documentation typo for functools.cmp_to_key (GH-95766)
2022-08-08 01:49:48 -05:00
JuniorJPDJ
330f1d5828
gh-88339: enable fast seeking of uncompressed unencrypted zipfile.ZipExtFile (GH-27737)
...
Avoid reading all of the intermediate data in uncompressed items in a zip file when the user seeks forward.
Contributed by: @JuniorJPDJ
2022-08-06 16:21:23 -07:00
Erlend E. Aasland
56af5a200d
gh-94635: Fixup sqlite3 'Introduction' seealso note ( #95751 )
...
In gh-95269, the seealso note incorrectly ended up in
the 'Tutorial' section.
2022-08-06 23:30:26 +02:00
Sion Kang
a17cd47b61
gh-95376: Add test for names containing null (#GH-5394)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-06 18:53:19 +02:00
Sion Kang
4703c15811
gh-95395: Add argument type error test (GH-95412)
2022-08-06 18:52:53 +02:00
Howie Zhao
d25ff1f613
gh-95155: Update "Using Python on a Mac" documentation (GH-95284)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-08-06 18:50:28 +02:00
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