Christian Heimes
32ac98e899
gh-95853: Add script to automate WASM build (GH-95828)
...
Automate WASM build with a new Python script. The script provides
several build profiles with configure flags for Emscripten flavors
and WASI. The script can detect and use Emscripten SDK and WASI SDK from
default locations or env vars.
``configure`` now detects Node arguments and creates HOSTRUNNER
arguments for Node 16. It also sets correct arguments for
``wasm64-emscripten``.
Co-authored-by: Brett Cannon <brett@python.org>
2022-08-13 21:56:08 +02:00
Christian Heimes
0b329f4f03
gh-89313: Add hashlib.file_digest to whatsnew 3.11 (GH-95965)
...
Automerge-Triggered-By: GH:pablogsal
2022-08-13 12:00:58 -07:00
Pablo Galindo Salgado
7552f237a2
bpo-25625: Document contextlib.chdir in the 3.11 what's new ( #95962 )
2022-08-13 19:27:44 +01:00
Irit Katriel
1402d2ceca
gh-95914: Add paragraph about PEP 654 in main body of 'What's New in 3.11' (GH-95937)
2022-08-13 12:49:04 +01:00
Erlend E. Aasland
f07adf82f3
gh-90928: Improve static initialization of keywords tuple in AC ( #95907 )
2022-08-13 12:09:40 +02:00
Howie Zhao
f235178bec
gh-94439: typing docs: Add minimum version to __required_keys__
and __optional_keys__
( #95373 )
2022-08-12 21:23:33 -07:00
fluesvamp
8281cbddc6
Fix typo in internal/pycore_atomic.h (GH-95939)
2022-08-13 11:40:41 +08:00
Barney Gale
187949ebf2
gh-94909: fix joining of absolute and relative Windows paths in pathlib (GH-95450)
...
Have pathlib use `os.path.join()` to join arguments to the `PurePath` initialiser, which fixes a minor bug when handling relative paths with drives.
Previously:
```python
>>> from pathlib import PureWindowsPath
>>> a = 'C:/a/b'
>>> b = 'C:x/y'
>>> PureWindowsPath(a, b)
PureWindowsPath('C:x/y')
```
Now:
```python
>>> PureWindowsPath(a, b)
PureWindowsPath('C:/a/b/x/y')
```
2022-08-12 14:23:41 -07:00
Shantanu
a965db37f2
gh-94996: Disallow lambda pos only params with feature_version < (3, 8) (GH-95934)
2022-08-12 20:41:02 +02:00
Shantanu
b5e3ea2862
gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-94997)
2022-08-12 19:27:50 +02:00
Łukasz Langa
d2373fcb49
gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856) (GH-95928)
...
Co-authored-by: Éric <merwok@netwok.org>
2022-08-12 18:22:25 +02:00
Hugo van Kemenade
50bf5fafcc
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346)
2022-08-12 18:22:06 +02:00
CAM Gerlach
6376433ac3
gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (GH-95916)
2022-08-12 17:50:01 +02:00
Irit Katriel
41757bfabd
gh-95922: compiler's eliminate_empty_basic_blocks ignores the last block of the compilation unit (GH-95924)
2022-08-12 16:35:09 +01:00
Yury Selivanov
7da4937748
gh-95724: Clarify taskgroups.py license. ( #95847 )
2022-08-11 16:12:06 -07:00
Erlend E. Aasland
e6623e7083
gh-95273: Improve sqlite3.complete_statement docs ( #95840 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-12 01:05:12 +02:00
Eric Snow
6f6a4e6cc5
gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code (gh-95860)
...
We only statically initialize for core code and builtin modules. Extension modules still create
the tuple at runtime. We'll solve that part of interpreter isolation separately.
This change includes generated code. The non-generated changes are in:
* Tools/clinic/clinic.py
* Python/getargs.c
* Include/cpython/modsupport.h
* Makefile.pre.in (re-generate global strings after running clinic)
* very minor tweaks to Modules/_codecsmodule.c and Python/Python-tokenize.c
All other changes are generated code (clinic, global strings).
2022-08-11 15:25:49 -06:00
Terry Jan Reedy
bdb2cf8e91
gh-95841: IDLE - Revise Windows local doc url ( #95845 )
...
#91242 replaced the Windows chm help file with a copy
of the html docs. This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
Co-authored-by: Steve Dower
2022-08-11 16:54:03 -04:00
Terry Jan Reedy
05a0f37029
gh-84910: Change 'IDLE Help' to 'IDLE Doc' ( #95873 )
...
'IDLE Help' was a plain text file. It was superceded years ago
by a copy of the much more complete html doc. .
2022-08-11 16:50:49 -04:00
Irit Katriel
9533b40cce
gh-87092: compiler's codegen stage uses int jump target labels, and the target pointer is only calculated just before optimization stage (GH-95655)
2022-08-11 17:40:49 +01:00
Mark Shannon
1b46d118e6
GH-95818: Skip incomplete frames in PyThreadState_GetFrame
(GH-95886)
2022-08-11 14:06:32 +01:00
zhanpon
23a757f44f
Update _PyEval_AddPendingCall comment ( #95817 )
2022-08-11 13:32:52 +02:00
Christian Heimes
8b34e914bb
gh-95878: Fix format char in datetime CAPI tests (GH-95879)
2022-08-11 11:58:10 +02:00
Christian Heimes
b4c857d0fd
gh-95876: Fix format string in pegen error location code ( #95877 )
2022-08-11 09:55:57 +01:00
Stanislav Zmiev
5ed584cb6b
gh-90385: Add pathlib.Path.walk what's new section (GH-95467)
...
Automerge-Triggered-By: GH:brettcannon
2022-08-11 00:31:46 -07:00
Clemens Tolboom
b9e956fccf
Docs: replace 'currying' by 'partial function'. ( #91814 )
2022-08-11 01:23:40 -05:00
Terry Jan Reedy
9af4aed73a
gh-75510: Edit idlelib entry in doc ( #95869 )
...
Make section instead of subsection and revise sentence.
2022-08-10 22:44:17 -04:00
Terry Jan Reedy
3646f6cd88
gh-84910: Tweak IDLE Glossary entry ( #95866 )
...
Link "IDLE" to its doc and add 'and Learning' to its expansion,
as in the doc.
2022-08-10 22:04:36 -04:00
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