neonene
7d8973870b
gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)
2022-08-01 16:37:32 +01:00
Mark Shannon
de388c0a7b
GH-95245: Store object values and dict pointers in single tagged pointer. (GH-95278)
2022-08-01 14:34:54 +01:00
Christian Heimes
0fe645d6fd
gh-95174: Add pthread stubs for WASI (GH-95234)
...
Co-authored-by: Brett Cannon <brett@python.org>
2022-07-27 20:28:06 +02:00
Christian Heimes
2833f3798d
gh-95174: Move WASIX logic into wasi-env (GH-95320)
...
wasi-env now sets WASIX flags. This allows us to control all build
parameter for wasm32-wasi buildbot from CPython repository.
Also export and improve SYSROOT parameter.
2022-07-27 15:30:36 +02:00
Christian Heimes
8b24d60f1b
gh-95174: WASI: skip missing sockets functions (GH-95179)
2022-07-27 08:19:23 +02:00
Christian Heimes
daa64d6a59
gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086)
2022-07-27 08:18:34 +02:00
Christian Heimes
e8f3e8f0ab
gh-95205: Improve WASM README.md (GH-95267)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-26 11:12:42 +02:00
Dong-hee Na
a15ae19ffb
gh-85454: Remove distutils.ccompiler from Tools/c-analyzer (GH-95171)
2022-07-25 21:10:30 +02:00
Kumar Aditya
73ee5a6b86
GH-94851: check refcnt of immortal objects after finalization (GH-95001)
2022-07-25 10:43:59 -07:00
Erlend Egeberg Aasland
310f94871a
gh-95205: Improve wasm README ( #95206 )
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-25 09:42:50 +02:00
Brandt Bucher
e402b26b7f
GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121)
2022-07-22 11:04:20 -07:00
Christian Heimes
0f34c7e2d3
gh-93939: Use new MODULE_name_STATE in wasm_assets script (GH-95035)
2022-07-20 08:53:26 +02:00
Serhiy Storchaka
74b5e4ce80
gh-95007: Remove the NoneType return converter (GH-95019)
...
It has confusing semantic which does not provide any benefit (the
only difference is that you should write "return Py_None" instead
of "Py_RETURN_NONE"), it is not currently used, and it is broken.
2022-07-20 08:42:02 +03:00
Eric Snow
7a1a85d640
gh-94673: [c-analyzer] Add a Script to Identify Static Types ( #94989 )
...
issue: https://github.com/python/cpython/issues/94673
2022-07-18 19:03:57 -06:00
Christian Heimes
81dca70d70
gh-93939: Build C extensions without setup.py (GH-94474)
...
Combines GH-93940, GH-94452, and GH-94433
2022-07-14 00:51:49 -07:00
Christian Heimes
0c66074e9f
gh-94773: deepfreeze: support frozensets with unsortable types (GH-94775)
2022-07-12 18:09:47 +02:00
Kumar Aditya
9dff9f4814
GH-90699: Intern statically allocated strings (GH-93597)
...
This is similar to how strings are interned for deepfreeze.
2022-07-08 10:47:37 -07:00
Kumar Aditya
71697664d7
GH-90699: Move generated static initializer to pycore_runtime_generated.h (GH-94051)
2022-07-07 13:04:05 -07:00
Erlend Egeberg Aasland
8bbd70b4d1
gh-94430: Allow params named `module` or `self` with custom C names in Argument Clinic ( #94431 )
2022-07-07 11:29:34 +02:00
Erlend Egeberg Aasland
2b8ed4d3d4
gh-94538: Fix Argument Clinic output to custom file ( #94539 )
2022-07-05 11:06:04 +02:00
Christian Heimes
7bd67d1d88
gh-93939: Add script to check extension modules ( #94545 )
...
Add script ``Tools/scripts/check_modules.py`` to check and validate builtin
and shared extension modules. The script also handles ``Modules/Setup`` and
will eventually replace ``setup.py``.
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-05 09:25:45 +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
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
yutotnh
5631013617
Fix typos in comments ( #94305 )
2022-06-28 16:28:21 +02: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
Mark Shannon
c0453a40fa
GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168)
2022-06-27 12:24:23 +01:00
Ken Jin
50a5ab2c0b
gh-93382: Sync up `co_code` changes with 3.11 (GH-94227)
...
Sync up co_code changes with 3.11 commit 852b4d4bcd
.
2022-06-25 01:55:18 +08:00
Christian Heimes
e69306f08b
gh-84461: Build Emscripten with WASM BigInt support ( #94219 )
2022-06-24 17:03:42 +02:00
Christian Heimes
8625802d85
gh-84461: Fix ctypes and test_ctypes on Emscripten ( #94142 )
...
- c_longlong and c_longdouble need experimental WASM bigint.
- Skip tests that need threading
- Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
2022-06-24 12:40:43 +02:00
Guido van Rossum
4e796f5646
gh-93771: Clarify how deepfreeze.py is run ( #94150 )
2022-06-23 09:31:39 -07:00
Victor Stinner
c1fb12e5af
gh-54781: Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/ ( #94070 )
...
* Move Lib/tkinter/test/test_tkinter/ to Lib/test/test_tkinter/.
* Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/.
* Add Lib/test/test_ttk/__init__.py based on test_ttk_guionly.py.
* Add Lib/test/test_tkinter/__init__.py
* Remove old Lib/test/test_tk.py.
* Remove old Lib/test/test_ttk_guionly.py.
* Add __main__ sub-modules.
* Update imports and update references to rename files.
2022-06-22 22:23:37 +02:00
Victor Stinner
47e35625ff
gh-84623: Remove unused imports ( #94132 )
2022-06-22 19:14:27 +02:00
Illia Volochii
d36954b7ea
gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885)
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-22 15:32:22 +02:00
Mark Shannon
f805d37641
Stats: Add summary of top instructions for misses and deferred specialization. (GH-94072)
2022-06-22 08:50:02 +01:00
Ezio Melotti
f28ec34c5c
gh-82927: Update files related to HTML entities. (GH-92504)
2022-06-21 22:03:12 +02:00
Victor Stinner
616fa3465d
gh-54781: Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/ ( #94049 )
...
* Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/.
* Remove Lib/test/test_lib2to3.py.
* Update imports.
* all_project_files(): use different paths and sort files
to make the tests more reproducible.
* Update references to tests.
2022-06-21 15:21:22 +02:00
Victor Stinner
c735d54534
gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ ( #94043 )
...
* Move Lib/unittest/test/ to Lib/test/test_unittest/
* Remove Lib/test/test_unittest.py
* Replace unittest.test with test.test_unittest
* Remove unittest.load_tests()
* Rewrite unittest __init__.py and __main__.py
* Update build system, CODEOWNERS, and wasm_assets.py
2022-06-21 10:27:59 +02:00
Victor Stinner
d82e0bfe8b
gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ ( #94041 )
...
* Move Lib/ctypes/test/ to Lib/test/test_ctypes/
* Remove Lib/test/test_ctypes.py
* Update imports and build system.
2022-06-21 10:24:33 +02:00
Mark Shannon
ab0e601016
GH-93516: Speedup line number checks when tracing. (GH-93763)
...
* Use a lookup table to reduce overhead of getting line numbers during tracing.
2022-06-20 13:00:42 +01:00
Mark Shannon
45e62a2bc1
GH-93897: Store frame size in code object and de-opt if insufficient space on thread frame stack. (GH-93908)
2022-06-20 12:59:25 +01:00
Christian Heimes
2702e408fd
gh-84461: Fix Emscripten umask and permission issues (GH-94002)
...
- Emscripten's default umask is too strict, see
https://github.com/emscripten-core/emscripten/issues/17269
- getuid/getgid and geteuid/getegid are stubs that always return 0
(root). Disable effective uid/gid syscalls and fix tests that use
chmod() current user.
- Cannot drop X bit from directory.
2022-06-19 18:28:55 +02:00
Christian Heimes
7a2cc35e1c
gh-84461: Fix pydebug Emscripten browser builds (GH-93982)
...
wasm_assets script did not take the ABIFLAG flag of sysconfigdata into
account.
2022-06-18 14:51:50 +02:00
Christian Heimes
8ba1c7f720
gh-84461: Document how to install SDKs manually (GH-93844)
...
Co-authored-by: Brett Cannon <brett@python.org>
2022-06-15 21:28:34 +02:00
Steve Dower
99be1cbeb3
gh-93824: Reenable installation of shell extension on Windows ARM64 (GH-93825)
2022-06-15 17:07:55 +01:00
Mark Shannon
cdf7097612
Include freelists in allocation total. (GH-93799)
2022-06-14 14:44:26 +01:00
Mark Shannon
3cd1a5d3ec
GH-93516: Store offset of first traceable instruction in code object (GH-93769)
2022-06-14 11:09:30 +01:00
Christian Heimes
c2007573dd
gh-84461: Fix parallel testing on WebAssembly (GH-93768)
2022-06-13 19:51:04 +02:00
Davide Rizzo
733e15f170
gh-84508: tool to generate cjk traditional chinese mappings (gh-93272)
2022-06-11 23:19:41 +09:00
Christian Heimes
dc5e02b2f4
gh-84461: Use HOSTRUNNER to run regression tests (GH-93694)
...
Co-authored-by: Brett Cannon <brett@python.org>
2022-06-11 08:42:23 +02:00