| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | gh-47146: Soft-deprecate structmember.h, expose its contents via Python.h ↵ | Petr Viktorin | 2022-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-99014) The ``structmember.h`` header is deprecated, though it continues to be available and there are no plans to remove it. There are no deprecation warnings. Old code can stay unchanged (unless the extra include and non-namespaced macros bother you greatly). Specifically, no uses in CPython are updated -- that would just be unnecessary churn. The ``structmember.h`` header is deprecated, though it continues to be available and there are no plans to remove it. Its contents are now available just by including ``Python.h``, with a ``Py`` prefix added if it was missing: - `PyMemberDef`, `PyMember_GetOne` and`PyMember_SetOne` - Type macros like `Py_T_INT`, `Py_T_DOUBLE`, etc. (previously ``T_INT``, ``T_DOUBLE``, etc.) - The flags `Py_READONLY` (previously ``READONLY``) and `Py_AUDIT_READ` (previously all uppercase) Several items are not exposed from ``Python.h``: - `T_OBJECT` (use `Py_T_OBJECT_EX`) - `T_NONE` (previously undocumented, and pretty quirky) - The macro ``WRITE_RESTRICTED`` which does nothing. - The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of `Py_AUDIT_READ`. - In some configurations, ``<stddef.h>`` is not included from ``Python.h``. It should be included manually when using ``offsetof()``. The deprecated header continues to provide its original contents under the original names. Your old code can stay unchanged, unless the extra include and non-namespaced macros bother you greatly. There is discussion on the issue to rename `T_PYSSIZET` to `PY_T_SSIZE` or similar. I chose not to do that -- users will probably copy/paste that with any spelling, and not renaming it makes migration docs simpler. Co-Authored-By: Alexander Belopolsky <abalkin@users.noreply.github.com> Co-Authored-By: Matthias Braun <MatzeB@users.noreply.github.com> | ||||
| * | gh-96002: Add functional test for Argument Clinic (#96178) | colorfulappl | 2022-11-21 | 1 | -0/+1 |
| | | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
| * | gh-93649: Split float/long tests from _testcapimodule.c (GH-99549) | Erlend E. Aasland | 2022-11-17 | 1 | -1/+1 |
| | | | | Automerge-Triggered-By: GH:erlend-aasland | ||||
| * | gh-93649: Split watcher API tests from _testcapimodule.c (#99532) | Erlend E. Aasland | 2022-11-16 | 1 | -1/+1 |
| | | |||||
| * | gh-93649: Split memory and docstring tests from _testcapimodule.c (#99517) | Erlend E. Aasland | 2022-11-16 | 1 | -1/+1 |
| | | |||||
| * | gh-93649: Split pytime and datetime tests from _testcapimodule.c (#99494) | Erlend E. Aasland | 2022-11-15 | 1 | -1/+1 |
| | | |||||
| * | gh-93649: Split getargs tests from _testcapimodule.c (#99346) | Erlend E. Aasland | 2022-11-14 | 1 | -1/+1 |
| | | |||||
| * | gh-98627: Add the _testsinglephase Module (gh-99039) | Eric Snow | 2022-11-08 | 1 | -0/+1 |
| | | | | | | This makes it more clear that a given test is definitely testing against a single-phase init (legacy) extension module. The new module is a companion to _testmultiphase. https://github.com/python/cpython/issues/98627 | ||||
| * | gh-93649: Split unicode tests from _testcapimodule.c & add some more (GH-95819) | Petr Viktorin | 2022-08-10 | 1 | -1/+1 |
| | | | | | | | - Move PyUnicode tests to a separate file - Add some more tests for PyUnicode_FromFormat Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com> | ||||
| * | gh-93274: Expose receiving vectorcall in the Limited API (GH-95717) | Petr Viktorin | 2022-08-08 | 1 | -1/+1 |
| | | |||||
| * | gh-93649: Split heaptype tests from _testcapimodule.c (GH-95386) | Petr Viktorin | 2022-08-01 | 1 | -1/+1 |
| | | | | | | This removes the unused negative_dictoffset function: the type this function would create is available as _testcapi.HeapCTypeWithNegativeDict | ||||
| * | gh-93939: Build C extensions without setup.py (GH-94474) | Christian Heimes | 2022-07-14 | 1 | -0/+1 |
| | | | | Combines GH-93940, GH-94452, and GH-94433 | ||||
| * | gh-93649: Split vectorcall testing from _testcapimodule.c (GH-94549) | Petr Viktorin | 2022-07-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | The `_testcapimodule.c` file is getting too large to work with effectively. This PR lays out a general structure of how tests can be split up, with more splitting to come later if the structure is OK. Vectorcall tests aren't the biggest issue -- it's just an area I want to work on next, so I'm starting here. An issue specific to vectorcall tests is that it wasn't clear that e.g. `MethodDescriptor2` is related to testing vectorcall: the `/* Test PEP 590 */` section had an ambiguous end. Separate file should make things like this much clearer. OTOH, for some pieces it might not be clear where they should be -- I left `meth_fastcall` with tests of the other calling conventions. IMO, even with the ambiguity it's still worth it to split the huge file up. I'm not sure about the buildsystem changes, hopefully CI will tell me what's wrong. @vstinner, @markshannon: Do you think this is a good idea? Automerge-Triggered-By: GH:encukou | ||||
| * | gh-90005: Port readline and curses to PY_STDLIB_MOD (GH-94452) | Christian Heimes | 2022-07-06 | 1 | -6/+6 |
| | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | ||||
| * | gh-90005: Port _dbm module to PY_STDLIB_MOD (GH-94433) | Christian Heimes | 2022-07-01 | 1 | -1/+1 |
| | | |||||
| * | gh-90005: Port _ctypes to PY_STDLIB_MOD (GH-32229) | Christian Heimes | 2022-06-26 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Automerge-Triggered-By: GH:tiran | ||||
| * | gh-69093: Fix Setup.local.in rule for _sqlite3 (GH-93380) | Christian Heimes | 2022-05-31 | 1 | -1/+1 |
| | | |||||
| * | bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698) | Erlend Egeberg Aasland | 2022-03-31 | 1 | -3/+2 |
| | | | | | | - Remove ``--with-tclk-*`` options from `configure` - Use pkg-config to detect `_tkinter` dependencies (Tcl/Tk, X11) - Manual override via environment variables `TCLTK_CFLAGS` and `TCLTK_LIBS` | ||||
| * | bpo-40280: Allow to compile _testcapi as builtin module (GH-30559) | Christian Heimes | 2022-01-12 | 1 | -2/+1 |
| | | |||||
| * | bpo-45847: Revert Port _ctypes partly to PY_STDLIB_MOD (GH-29747) (GH-29969) | Christian Heimes | 2021-12-07 | 1 | -1/+1 |
| | | |||||
| * | bpo-45847: Update whatsnew and add place holder entries for missing ↵ | Christian Heimes | 2021-12-04 | 1 | -0/+12 |
| | | | | | extensions (GH-29914) | ||||
| * | bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747) | Christian Heimes | 2021-12-04 | 1 | -0/+4 |
| | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
| * | bpo-45847: Port _multiprocessing to PY_STDLIB_MOD (GH-29768) | Erlend Egeberg Aasland | 2021-11-28 | 1 | -0/+1 |
| | | |||||
| * | bpo-40280: Use Setup.stdlib static for wasm builds (GH-29784) | Christian Heimes | 2021-11-26 | 1 | -2/+2 |
| | | | | ``Modules/Setup.stdlib`` contains ``Setup`` lines for all stdlib extension modules for which ``configure`` has detected their dependencies. The file is not used yet and still under development. To use the file, do ``ln -sfr Modules/Setup.stdlib Modules/Setup.local``. | ||||
| * | bpo-45847: Port _uuid to PY_STDLIB_MOD (GH-29741) | Christian Heimes | 2021-11-24 | 1 | -0/+2 |
| | | |||||
| * | bpo-45847: Port _posixshmem to PY_STDLIB_MOD (GH-29738) | Erlend Egeberg Aasland | 2021-11-24 | 1 | -0/+3 |
| | | |||||
| * | bpo-45847: Port _gdbm to PY_STDLIB_MOD (GH-29720) | Christian Heimes | 2021-11-23 | 1 | -0/+5 |
| | | |||||
| * | bpo-45847: Port _ssl and _hashlib to PY_STDLIB_MOD (GH-29727) | Christian Heimes | 2021-11-23 | 1 | -0/+5 |
| | | |||||
| * | bpo-45847: Port _crypt to PY_STDLIB_MOD (GH-29725) | Christian Heimes | 2021-11-23 | 1 | -0/+2 |
| | | |||||
| * | bpo-45847: Port _socket to PY_STDLIB_MOD (GH-29713) | Erlend Egeberg Aasland | 2021-11-23 | 1 | -0/+1 |
| | | |||||
| * | bpo-45847: Port xxlimited and xxlimited_35 to PY_STDLIB_MOD (GH-29707) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -0/+5 |
| | | |||||
| * | bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706) | Christian Heimes | 2021-11-22 | 1 | -0/+1 |
| | | |||||
| * | bpo-45847: Port audioop, _csv, and _posixsubprocess to PY_STDLIB_MOD_SIMPLE ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -0/+3 |
| | | | | | | (GH-29705) Automerge-Triggered-By: GH:tiran | ||||
| * | bpo-45847: Port nis module to PY_STDLIB_MOD (GH-29699) | Christian Heimes | 2021-11-22 | 1 | -1/+4 |
| | | |||||
| * | bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702) | Christian Heimes | 2021-11-22 | 1 | -0/+7 |
| | | |||||
| * | bpo-45847: Port mmap, select, and _xxsubinterpreters to Py_STDLIB_MOD (GH-29703) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -0/+3 |
| | | |||||
| * | bpo-45847: Port fcntl to Py_STDLIB_MOD (GH-29696) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -0/+1 |
| | | | | Co-authored-by: Christian Heimes <christian@python.org> | ||||
| * | bpo-45847: Port _lfprof, _opcode, _asyncio, _queue, _statistics, and _typing ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -0/+6 |
| | | | | | | to PY_STDLIB_MOD_SIMPLE (GH-29690) Automerge-Triggered-By: GH:tiran | ||||
| * | bpo-45847: Port _bisect, _heapq, _json, _pickle, _random, and _zoneinfo to ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -0/+6 |
| | | | | | | PY_STDLIB_MOD_SIMPLE (GH-29689) Automerge-Triggered-By: GH:tiran | ||||
| * | bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -0/+6 |
| | | | | | (GH-29688) | ||||
| * | bpo-45847: Port codecs and unicodedata to PY_STDLIB_MOD (GH-29685) | Christian Heimes | 2021-11-21 | 1 | -0/+8 |
| | | |||||
| * | bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668) | Christian Heimes | 2021-11-21 | 1 | -1/+7 |
| | | |||||
| * | bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660) | Christian Heimes | 2021-11-20 | 1 | -0/+15 |
| | | |||||
| * | bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644) | Christian Heimes | 2021-11-20 | 1 | -0/+7 |
| | | |||||
| * | bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642) | Christian Heimes | 2021-11-19 | 1 | -0/+7 |
| | | |||||
| * | bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616) | Christian Heimes | 2021-11-19 | 1 | -0/+3 |
| | | |||||
| * | bpo-45774: Autoconfiscate SQLite detection (GH-29507) | Erlend Egeberg Aasland | 2021-11-19 | 1 | -0/+6 |
| | | | | Co-authored-by: Christian Heimes <christian@python.org> | ||||
| * | bpo-45573: Add Modules/Setup.stdlib with conditional modules (GH-29615) | Christian Heimes | 2021-11-18 | 1 | -0/+55 |
