summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* gh-90110: Update the c-analyzer Tool (gh-97695)Eric Snow2022-10-012-68/+7
| | | https://github.com/python/cpython/issues/90110
* gh-90989: Install Windows launcher per-user, and clarify some installer text ↵Steve Dower2022-09-302-7/+7
| | | | (GH-97655)
* gh-97649: The Tools directory is no longer installed on Windows (GH-97653)Steve Dower2022-09-308-115/+1
|
* gh-97612: Fix shell injection in get-remote-certificate.py (#97613)Victor Stinner2022-09-281-18/+7
| | | | | | | | | | | Fix a shell code injection vulnerability in the get-remote-certificate.py example script. The script no longer uses a shell to run "openssl" commands. Issue reported and initial fix by Caleb Shortt. Remove the Windows code path to send "quit" on stdin to the "openssl s_client" command: use DEVNULL on all platforms instead. Co-authored-by: Caleb Shortt <caleb@rgauge.com>
* bpo-47243: Duplicate entry in 'Objects/unicodetype_db.h' (GH-32376)LiarPrincess2022-09-281-1/+1
| | | | | | | | | | | | | | | | | Fix for duplicate 1st entry in 'Objects/unicodetype_db.h': ```c /* a list of unique character type descriptors */ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = { {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, <--- HERE {0, 0, 0, 0, 0, 32}, {0, 0, 0, 0, 0, 48}, … ``` https://bugs.python.org/issue47243 Automerge-Triggered-By: GH:isidentical
* gh-96883: browser: include concurrent.futures (GH-96886)Christian Heimes2022-09-171-13/+19
|
* closes gh-96734: Update to Unicode 15.0.0. (GH-96809)Benjamin Peterson2022-09-131-2/+3
|
* gh-90110: Fix the c-analyzer Tool (gh-96731)Eric Snow2022-09-129-115/+497
| | | | | | | This includes: * update the whitelists * fixes so we can stop ignoring some of the files * ensure Include/cpython/*.h get analyzed
* gh-96729: Ensure installers built with Tools/msi/buildrelease.bat have ↵adang13452022-09-121-1/+3
| | | | matching UUIDs with official releases (GH-96755)
* gh-84461: Omit resource mod and getresuid funcs on Emscripten (GH-96303)Christian Heimes2022-09-111-0/+4
|
* gh-95853: Multiple ops and debug for wasm_build.py (#96744)Christian Heimes2022-09-112-83/+242
|
* GH-90699: use statically allocated interned strings in typeobject's slotdefs ↵Kumar Aditya2022-09-071-2/+34
| | | | (GH-94706)
* gh-89545: Updates platform module to use new internal _wmi module on Windows ↵Steve Dower2022-09-071-1/+1
| | | | to directly query OS properties (GH-96289)
* GH-96458: Statically initialize utf8 representation of static strings (#96481)Kumar Aditya2022-09-032-2/+8
|
* gh-95853: Improve WASM build script (GH-96389)Christian Heimes2022-08-301-14/+193
| | | | | | | - pre-build Emscripten ports and system libraries - check for broken EMSDK versions - use EMSDK's node for wasm32-emscripten - warn when PKG_CONFIG_PATH is set - add support level information
* gh-96320: WASI socket fixes (#96388)Christian Heimes2022-08-301-1/+2
| | | | | | | | * gh-96320: WASI socket fixes - ignore missing functions in ``socket.__repr__`` - bundle network files with assets * blurb
* gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)Christian Heimes2022-08-291-2/+2
|
* GH-96172 fix unicodedata.east_asian_width being wrong on unassigned code ↵Carl Friedrich Bolz-Tereick2022-08-261-7/+25
| | | | points (#96207)
* gh-90110: Update the c-analyzer Tool (gh-96255)Eric Snow2022-08-254-1534/+84
| | | Here we automatically ignore uses of _PyArg_Parser, "kwlist" arrays, and module/type defs. That way new uses don't trigger false positives in the c-analyzer check script.
* bpo-46744: Support "-Win32" and make platform flags case insensitive in ↵conioh2022-08-252-30/+32
| | | | Windows build scripts. (GH-31803)
* GH-96177: Move GIL and eval breaker code out of ceval.c into ceval_gil.c. ↵Mark Shannon2022-08-242-2/+1
| | | | (GH-96204)
* gh-96019: Fix caching of decompositions in makeunicodedata (GH-96020)Carl Friedrich Bolz-Tereick2022-08-191-3/+7
|
* gh-95853: WASM: better version and asset handling in scripts (GH-96045)Christian Heimes2022-08-192-2/+37
| | | | | - support EMSDK tot-upstream and git releases - allow WASM assents for wasm64-emscripten and WASI. This makes single file distributions on WASI easier. - decouple WASM assets from browser builds
* gh-90110: Update the c-analyzer Tool (gh-96058)Eric Snow2022-08-174-8/+87
|
* gh-90110: Get the C Analyzer Tool Working Again (gh-96057)Eric Snow2022-08-173-579/+383
| | | | | | | | We broke it with a recent `_PyArg_Parser` change. Also: * moved the `_PyArg_Parser` whitelist entries over to ignored.tsv now that they are thread-safe * added some known globals from a currently-excluded file * dropped some outdated globals from the whitelist
* GH-95707: Fix uses of `Py_TPFLAGS_MANAGED_DICT` (GH-95854)Mark Shannon2022-08-151-7/+11
| | | | | | * Make sure that tp_dictoffset is correct with Py_TPFLAGS_MANAGED_DICT is set. * Avoid traversing managed dict twice when subclassing class with Py_TPFLAGS_MANAGED_DICT set.
* gh-95853: Address wasm build and test issues (GH-95985)Christian Heimes2022-08-151-4/+11
|
* gh-95853: Add script to automate WASM build (GH-95828)Christian Heimes2022-08-133-8/+604
| | | | | | | | | | | | 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>
* gh-90928: Improve static initialization of keywords tuple in AC (#95907)Erlend E. Aasland2022-08-131-42/+47
|
* gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code ↵Eric Snow2022-08-111-19/+79
| | | | | | | | | | | | | | | | (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).
* gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650)Serhiy Storchaka2022-08-081-1/+1
|
* gh-93243: Make smtpd private before porting its users (GH-93246)Oleg Iarygin2022-08-061-1/+0
| | | | | | | 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
* gh-90110: Update the C Analyzer Tool Whitelists (gh-95628)Eric Snow2022-08-042-28/+24
|
* gh-95587: Fixes some upgrade detection issues in the Windows installer ↵Steve Dower2022-08-041-9/+29
| | | | (GH-95631)
* gh-90110: Get the C Analyzer Tool Working Again (gh-95545)Eric Snow2022-08-014-5/+118
|
* gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)neonene2022-08-011-0/+5
|
* GH-95245: Store object values and dict pointers in single tagged pointer. ↵Mark Shannon2022-08-011-9/+14
| | | | (GH-95278)
* 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