summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* gh-95174: Add pthread stubs for WASI (GH-95234)Christian Heimes2022-07-273-28/+4
| | | Co-authored-by: Brett Cannon <brett@python.org>
* gh-95174: Move WASIX logic into wasi-env (GH-95320)Christian Heimes2022-07-272-9/+22
| | | | | | 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.
* gh-95174: WASI: skip missing sockets functions (GH-95179)Christian Heimes2022-07-271-0/+4
|
* gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086)Christian Heimes2022-07-271-1/+1
|
* gh-95205: Improve WASM README.md (GH-95267)Christian Heimes2022-07-262-12/+112
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-85454: Remove distutils.ccompiler from Tools/c-analyzer (GH-95171)Dong-hee Na2022-07-251-2/+12
|
* GH-94851: check refcnt of immortal objects after finalization (GH-95001)Kumar Aditya2022-07-251-0/+19
|
* gh-95205: Improve wasm README (#95206)Erlend Egeberg Aasland2022-07-251-2/+6
| | | Co-authored-by: Christian Heimes <christian@python.org>
* GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121)Brandt Bucher2022-07-221-7/+0
|
* gh-93939: Use new MODULE_name_STATE in wasm_assets script (GH-95035)Christian Heimes2022-07-201-7/+6
|
* gh-95007: Remove the NoneType return converter (GH-95019)Serhiy Storchaka2022-07-201-11/+0
| | | | | 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.
* gh-94673: [c-analyzer] Add a Script to Identify Static Types (#94989)Eric Snow2022-07-194-141/+611
| | | issue: https://github.com/python/cpython/issues/94673
* gh-93939: Build C extensions without setup.py (GH-94474)Christian Heimes2022-07-143-21/+5
| | | Combines GH-93940, GH-94452, and GH-94433
* gh-94773: deepfreeze: support frozensets with unsortable types (GH-94775)Christian Heimes2022-07-121-1/+6
|
* GH-90699: Intern statically allocated strings (GH-93597)Kumar Aditya2022-07-081-4/+10
| | | This is similar to how strings are interned for deepfreeze.
* GH-90699: Move generated static initializer to pycore_runtime_generated.h ↵Kumar Aditya2022-07-071-1/+1
| | | | (GH-94051)
* gh-94430: Allow params named `module` or `self` with custom C names in ↵Erlend Egeberg Aasland2022-07-071-2/+7
| | | | Argument Clinic (#94431)
* gh-94538: Fix Argument Clinic output to custom file (#94539)Erlend Egeberg Aasland2022-07-051-1/+1
|
* gh-93939: Add script to check extension modules (#94545)Christian Heimes2022-07-052-40/+496
| | | | | | | | 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>
* gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241)Irit Katriel2022-07-011-14/+36
|
* gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (#93953)Petr Viktorin2022-07-011-2/+2
|
* gh-84461: Improve WebAssembly in-browser demo (#91879)Trey Hunner2022-07-013-25/+99
| | | | | | | | | | | | | | | | | | | | | * 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>
* Fix typos in comments (#94305)yutotnh2022-06-281-2/+2
|
* gh-93939: Create and install scripts in Makefile (GH-94324)Christian Heimes2022-06-282-2/+2
| | | Scripts for 2to3, idle, and pydoc are now created and installed by make.
* GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168)Mark Shannon2022-06-271-6/+7
|
* gh-93382: Sync up `co_code` changes with 3.11 (GH-94227)Ken Jin2022-06-241-0/+1
| | | Sync up co_code changes with 3.11 commit 852b4d4bcd12b0b6839a015a262ce976b134f6f3.
* gh-84461: Build Emscripten with WASM BigInt support (#94219)Christian Heimes2022-06-241-1/+3
|
* gh-84461: Fix ctypes and test_ctypes on Emscripten (#94142)Christian Heimes2022-06-241-0/+2
| | | | | - 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.
* gh-93771: Clarify how deepfreeze.py is run (#94150)Guido van Rossum2022-06-231-2/+4
|
* gh-54781: Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/ (#94070)Victor Stinner2022-06-221-12/+1
| | | | | | | | | | * 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.
* gh-84623: Remove unused imports (#94132)Victor Stinner2022-06-2211-19/+1
|
* gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885)Illia Volochii2022-06-221-0/+98
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Stats: Add summary of top instructions for misses and deferred ↵Mark Shannon2022-06-221-2/+20
| | | | specialization. (GH-94072)
* gh-82927: Update files related to HTML entities. (GH-92504)Ezio Melotti2022-06-212-73/+18
|
* gh-54781: Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/ (#94049)Victor Stinner2022-06-213-3/+2
| | | | | | | | * 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.
* gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ (#94043)Victor Stinner2022-06-211-1/+0
| | | | | | | | * 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
* gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041)Victor Stinner2022-06-211-1/+0
| | | | | * Move Lib/ctypes/test/ to Lib/test/test_ctypes/ * Remove Lib/test/test_ctypes.py * Update imports and build system.
* GH-93516: Speedup line number checks when tracing. (GH-93763)Mark Shannon2022-06-201-0/+2
| | | | * Use a lookup table to reduce overhead of getting line numbers during tracing.
* GH-93897: Store frame size in code object and de-opt if insufficient space ↵Mark Shannon2022-06-201-0/+2
| | | | on thread frame stack. (GH-93908)
* gh-84461: Fix Emscripten umask and permission issues (GH-94002)Christian Heimes2022-06-191-0/+7
| | | | | | | | - 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.
* gh-84461: Fix pydebug Emscripten browser builds (GH-93982)Christian Heimes2022-06-181-12/+24
| | | | wasm_assets script did not take the ABIFLAG flag of sysconfigdata into account.
* gh-84461: Document how to install SDKs manually (GH-93844)Christian Heimes2022-06-151-0/+78
| | | Co-authored-by: Brett Cannon <brett@python.org>
* gh-93824: Reenable installation of shell extension on Windows ARM64 (GH-93825)Steve Dower2022-06-153-14/+24
|
* Include freelists in allocation total. (GH-93799)Mark Shannon2022-06-141-1/+1
|
* GH-93516: Store offset of first traceable instruction in code object (GH-93769)Mark Shannon2022-06-141-0/+7
|
* gh-84461: Fix parallel testing on WebAssembly (GH-93768)Christian Heimes2022-06-131-2/+2
|
* gh-84508: tool to generate cjk traditional chinese mappings (gh-93272)Davide Rizzo2022-06-111-0/+239
|
* gh-84461: Use HOSTRUNNER to run regression tests (GH-93694)Christian Heimes2022-06-111-4/+42
| | | Co-authored-by: Brett Cannon <brett@python.org>
* gh-84461: Emscripten's faccessat() does not accept flags (GHß92353)Christian Heimes2022-06-071-0/+3
|
* gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534)Christian Heimes2022-06-061-0/+5
| | | WASI does not have the ``chmod(2)`` syscall yet.