summaryrefslogtreecommitdiffstats
path: root/PCbuild
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)Pablo Galindo2020-04-223-1/+30
| | | | Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* bpo-38439: Add 256px IDLE icon (GH-17473)Miro Hrončok2020-04-221-0/+1
| | | | Icon author: Andrew Clover, bpo-1490384
* bpo-40302: Add pycore_byteswap.h header file (GH-19552)Victor Stinner2020-04-172-0/+4
| | | | | | | | | | | | | | Add a new internal pycore_byteswap.h header file with the following functions: * _Py_bswap16() * _Py_bswap32() * _Py_bswap64() Use these functions in _ctypes, sha256 and sha512 modules, and also use in the UTF-32 encoder. sha256, sha512 and _ctypes modules are now built with the internal C API.
* bpo-40270: Enable json extension in Windows sqlite extension (GH-19528)Ammar Askar2020-04-151-1/+1
|
* bpo-40241: Add pycore_interp.h header (GH-19499)Victor Stinner2020-04-132-0/+4
| | | | Move PyInterpreterState and related functions to a new internal pycore_interp.h header file.
* bpo-40268: Add pycore_runtime.h header file (GH-19493)Victor Stinner2020-04-132-0/+4
| | | | | | Move PyRuntimeState from pycore_pystate.h to pycore_runtime.h. Remove _PyGILState_check_enabled macro: access directly _PyRuntime.gilstate.check_enabled.
* bpo-40170: Add _PyIndex_Check() internal function (GH-19426)Victor Stinner2020-04-082-0/+4
| | | | | | | | | Add _PyIndex_Check() function to the internal C API: fast inlined verson of PyIndex_Check(). Add Include/internal/pycore_abstract.h header file. Replace PyIndex_Check() with _PyIndex_Check() in C files of Objects and Python subdirectories.
* bpo-39481: Implementation for PEP 585 (#18239)Guido van Rossum2020-04-071-0/+1
| | | | | | | | | | | | This implements things like `list[int]`, which returns an object of type `types.GenericAlias`. This object mostly acts as a proxy for `list`, but has attributes `__origin__` and `__args__` that allow recovering the parts (with values `list` and `(int,)`. There is also an approximate notion of type variables; e.g. `list[T]` has a `__parameters__` attribute equal to `(T,)`. Type variables are objects of type `typing.TypeVar`.
* bpo-40164: Update Windows to OpenSSL 1.1.1f (GH-19359)Steve Dower2020-04-042-4/+4
|
* bpo-38644: Add _PySys_Audit() which takes tstate (GH-19180)Victor Stinner2020-03-262-0/+4
| | | | | | | | | | | | | | | Add _PySys_Audit() function to the internal C API: similar to PySys_Audit(), but requires a mandatory tstate parameter. Cleanup sys_audit_tstate() code: remove code path for NULL tstate, since the function exits at entry if tstate is NULL. Remove also code path for NULL tstate->interp: should_audit() now ensures that it is not NULL (even if tstate->interp cannot be NULL in practice). PySys_AddAuditHook() now checks if tstate is not NULL to decide if tstate can be used or not, and tstate is set to NULL if the runtime is not initialized yet. Use _PySys_Audit() in sysmodule.c.
* bpo-39930: Fix MSBuild detection for Build Tools (GH-18938)Steve Dower2020-03-112-16/+27
| | | Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017.
* bpo-39930: Convert error to warning for more silent failure (GH-18921)Steve Dower2020-03-111-1/+1
| | | Makes it an error to create a layout without vcruntime DLL
* bpo-39930: Ensure vcruntime140.dll is included in all Windows packages ↵Steve Dower2020-03-112-9/+22
| | | | | (GH-18918) Also adds GitHub CI test for Windows installer changes
* bpo-38597: Never statically link extension initialization code on Windows ↵Steve Dower2020-03-031-0/+2
| | | | (GH-18724)
* bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678)Erlend Egeberg Aasland2020-03-023-3/+3
| | | Automerge-Triggered-By: @zooba
* bpo-35134: Add Include/cpython/fileutils.h header file (GH-18493)Victor Stinner2020-02-122-0/+4
| | | | | | | | | | | | Move CPython C API from Include/fileutils.h into a new Include/cpython/fileutils.h header file which is included by Include/fileutils.h. Exclude the following private symbols from the limited C API: * _Py_error_handler * _Py_GetErrorHandler() * _Py_DecodeLocaleEx() * _Py_EncodeLocaleEx()
* bpo-35134: Add Include/cpython/bytesobject.h file (GH-18494)Victor Stinner2020-02-122-0/+8
| | | | | | | | | Add Include/cpython/bytearrayobject.h and Include/cpython/bytesobject.h header files. Move CPython C API from Include/bytesobject.h into a new Include/cpython/bytesobject.h header file which is included by Include/bytesobject.h. Do a similar change for Include/bytearrayobject.h.
* bpo-35081: Move dtoa.h header to the internal C API (GH-18489)Victor Stinner2020-02-122-4/+4
| | | | | | | Move the dtoa.h header file to the internal C API as pycore_dtoa.h: it only contains private functions (prefixed by "_Py"). The math and cmath modules must now be compiled with the Py_BUILD_CORE macro defined.
* bpo-35081: Move bytes_methods.h to the internal C API (GH-18492)Victor Stinner2020-02-122-4/+4
| | | | | Move the bytes_methods.h header file to the internal C API as pycore_bytes_methods.h: it only contains private symbols (prefixed by "_Py"), except of the PyDoc_STRVAR_shared() macro.
* bpo-35134: Create Include/cpython/listobject.h (GH-18395)Victor Stinner2020-02-072-0/+4
| | | | | | | | | Move listobject.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/listobject.h header file. Add cpython/ header files to Makefile.pre.in and pythoncore project of PCbuild. Add _PyList_CAST() macro.
* bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)Anthony Shaw2020-02-051-0/+4
|
* bpo-39401: Avoid unsafe DLL load on Windows 7 and earlier (GH-18231)Steve Dower2020-01-291-1/+1
| | | | As Windows 7 is not supported by Python 3.9, we just replace the dynamic load with a static import. Backports will have a different fix to ensure they continue to behave the same.
* bpo-39459: include missing test files in windows installer Dino Viehland2020-01-281-0/+2
| | | Adds missing test files to Windows installer to wrap up bpo-39459
* bpo-36500: Simplify PCbuild/build.bat and prevent path separator changing in ↵Steve Dower2019-12-171-13/+8
| | | | comments (GH-17644)
* bpo-36500: Add --regen option to PCbuild/build.bat so Windows users can ↵Anthony Shaw2019-12-172-1/+241
| | | | regen grammar, opcodes, tokens and symbols (GH-12654)
* bpo-33125: Add support for building and releasing Windows ARM64 packages ↵Steve Dower2019-11-207-5/+74
| | | | | (GH-16828) Note that the support is not actually enabled yet, and so we won't be publishing these packages. However, for those who want to build it themselves (even by reusing the Azure Pipelines definition), it's now relatively easy to enable.
* Add Python 3.8 to py based search in find_python.bat (GH-17188)Segev Finer2019-11-201-1/+1
|
* bpo-38809: Windows build scripts use python.exe from virtual envs (GH-17164)Tal Einat2019-11-181-0/+3
| | | https://bugs.python.org/issue38809
* bpo-38644: Add _PyObject_Call() (GH-17089)Victor Stinner2019-11-142-0/+4
| | | | | | | | | | * Add pycore_call.h internal header file. * Add _PyObject_Call(): PyObject_Call() with tstate * Add _PyObject_CallNoArgTstate(): _PyObject_CallNoArg() with tstate * Add _PyObject_FastCallDictTstate(): _PyObject_FastCallDict() with tstate * _PyObject_Call_Prepend() now takes tstate * Replace _PyObject_FastCall() calls with _PyObject_VectorcallTstate() calls
* bpo-38644: Add Py_EnterRecursiveCall() to the limited API (GH-17046)Victor Stinner2019-11-042-0/+4
| | | | | | | | | | Provide Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() as regular functions for the limited API. Previously, there were defined as macros, but these macros didn't work with the limited API which cannot access PyThreadState.recursion_depth field. Remove _Py_CheckRecursionLimit from the stable ABI. Add Include/cpython/ceval.h header file.
* bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)Steve Dower2019-10-161-0/+9
|
* closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16346)Benjamin Peterson2019-09-264-8/+0
| | | Fixes CVE-2019-15903. See full changelog at https://github.com/libexpat/libexpat/blob/R_2_2_8/expat/Changes.
* bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184)Steve Dower2019-09-162-4/+4
|
* bpo-37326: Include libffi license when available (GH-15921)Steve Dower2019-09-111-2/+3
|
* bpo-38043: Move unicodedata.normalize tests into test_unicodedata. (GH-15712)Greg Price2019-09-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | Having these in a separate file from the one that's named after the module in the usual way makes it very easy to miss them when looking for tests for these two functions. (In fact when working recently on is_normalized, I'd been surprised to see no tests for it here and concluded the function had evaded being tested at all. I'd gone as far as to write up some tests myself before I spotted this other file.) Mostly this just means moving all the one file's code into the other, and moving code from the module toplevel to inside the test class to keep it tidily separate from the rest of the file's code. There's one substantive change, which reduces by a bit the amount of code to be moved: we drop the `x > sys.maxunicode` conditional and all the `RangeError` logic behind it. Now if that condition ever occurs it will cause an error at `chr(x)`, and a test failure. That's the right result because, since PEP 393 in Python 3.3, there is no longer such a thing as an "unsupported character".
* Mark files as executable that are meant as scripts. (GH-15354)Greg Price2019-09-093-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This is the converse of GH-15353 -- in addition to plenty of scripts in the tree that are marked with the executable bit (and so can be directly executed), there are a few that have a leading `#!` which could let them be executed, but it doesn't do anything because they don't have the executable bit set. Here's a command which finds such files and marks them. The first line finds files in the tree with a `#!` line *anywhere*; the next-to-last step checks that the *first* line is actually of that form. In between we filter out files that already have the bit set, and some files that are meant as fragments to be consumed by one or another kind of preprocessor. $ git grep -l '^#!' \ | grep -vxFf <( \ git ls-files --stage \ | perl -lane 'print $F[3] if (!/^100644/)' \ ) \ | grep -ve '\.in$' -e '^Doc/includes/' \ | while read f; do head -c2 "$f" | grep -qxF '#!' \ && chmod a+x "$f"; \ done
* bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266)Dong-hee Na2019-08-232-0/+4
|
* bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253)Steve Dower2019-08-131-0/+9
|
* Fix typos in comments, docs and test names (#15018)Min ho Kim2019-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
* bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite ↵Steve Dower2019-07-292-0/+2
| | | | | | | | | coverage (GH-14985) https://bugs.python.org/issue36044 Automerge-Triggered-By: @zooba
* Rename memory.c to mpalloc.c for consistency with the header file. (#14687)Stefan Krah2019-07-102-2/+2
|
* bpo-37472: Remove Lib/test/outstanding_bugs.py (GH-14516)Victor Stinner2019-07-011-1/+0
|
* bpo-25361: Enable SSE2 instructions for Windows 32-bit build (GH-12438)animalize2019-06-241-1/+0
|
* bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14179)animalize2019-06-243-3/+3
|
* bpo-37333: Ensure IncludeTkinter has a value (GH-14240)Steve Dower2019-06-191-0/+3
|
* bpo-35134: Add Include/cpython/import.h header file (GH-14213)Victor Stinner2019-06-182-1/+9
| | | | | | * Add Include/cpython/import.h and Include/internal/pycore_import.h header files. * Move _PyImport_ReInitLock() to the internal C API. Don't export the symbol anymore.
* bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)Steve Dower2019-06-173-5/+5
|
* bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096)Paul Monson2019-06-171-3/+3
|
* bpo-37312: Remove _dummy_thread and dummy_threading modules (GH-14143)Victor Stinner2019-06-171-4/+0
| | | | Remove _dummy_thread and dummy_threading modules. These modules were deprecated since Python 3.7 which requires threading support.
* Implement Windows release builds in Azure Pipelines (GH-14065)Steve Dower2019-06-146-19/+66
|