Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-93939: Build C extensions without setup.py (GH-94474) | Christian Heimes | 2022-07-14 | 1 | -1294/+0 |
| | | | 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 | -143/+3 |
| | | | 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 | -71/+1 |
| | |||||
* | gh-93939: Create and install scripts in Makefile (GH-94324) | Christian Heimes | 2022-06-28 | 1 | -32/+0 |
| | | | Scripts for 2to3, idle, and pydoc are now created and installed by make. | ||||
* | gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301) | Christian Heimes | 2022-06-27 | 1 | -2/+2 |
| | | | | | It makes it easier to look for module states in sysconfig without special casing suffixes "_CFLAGS", "_DEPS", "_LDFLAGS", "_OBJS", and "CTYPES_MALLOC_CLOSURE". | ||||
* | gh-90005: Port _ctypes to PY_STDLIB_MOD (GH-32229) | Christian Heimes | 2022-06-26 | 1 | -102/+13 |
| | | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Automerge-Triggered-By: GH:tiran | ||||
* | gh-93692: remove "build finished successfully" message from setup.py (#93693) | Erlend Egeberg Aasland | 2022-06-24 | 1 | -1/+0 |
| | | | | The message was only emitted when the build succeeded _and_ there were missing modules. | ||||
* | gh-78630: Drop invalid HP aCC compiler switch -fPIC on HP-UX (#8847) | Michael Osipov | 2022-05-19 | 1 | -3/+0 |
| | | | | | At compile time, '+z' is already properly used with HP aCC, and shared libraries are correctly linked with '+b'. The '-fPIC' switch can safely be dropped. | ||||
* | gh-89452: Prefer gdbm-compat over ndbm (#92208) | Łukasz Langa | 2022-05-03 | 1 | -1/+1 |
| | | | | | This makes macOS gdbm provided by Homebrew not segfault through correct selection of the linked library (-lgdbm_compat) *AND* the correct ndbm-style header (gdbm-ndbm.h instead of the invalid ndbm.h). | ||||
* | gh-69093: Support basic incremental I/O to blobs in `sqlite3` (GH-30680) | Erlend Egeberg Aasland | 2022-04-15 | 1 | -0/+1 |
| | | | | | | | Authored-by: Aviv Palivoda <palaviv@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> Co-authored-by: palaviv <palaviv@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | Fix some typos in comments (GH-32422) | jonasdlindner | 2022-04-09 | 1 | -1/+1 |
| | |||||
* | bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698) | Erlend Egeberg Aasland | 2022-03-31 | 1 | -379/+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: Skip socket, fork, subprocess tests on Emscripten (GH-31986) | Christian Heimes | 2022-03-22 | 1 | -0/+5 |
| | | | | | | | | | | | - Add requires_fork and requires_subprocess to more tests - Skip extension import tests if dlopen is not available - Don't assume that _testcapi is a shared extension - Skip a lot of socket tests that don't work on Emscripten - Skip mmap tests, mmap emulation is incomplete - venv does not work yet - Cannot get libc from executable The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped). | ||||
* | Fix whitespace error in setup.py (GH-31960) | Erlend Egeberg Aasland | 2022-03-17 | 1 | -1/+1 |
| | |||||
* | bpo-38472: setup.py uses LC_ALL=C to check the C compiler (GH-30929) | Victor Stinner | 2022-01-26 | 1 | -1/+3 |
| | | | | | Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale. | ||||
* | bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967) | Christian Heimes | 2021-12-08 | 1 | -1/+3 |
| | |||||
* | bpo-45847: Revert Port _ctypes partly to PY_STDLIB_MOD (GH-29747) (GH-29969) | Christian Heimes | 2021-12-07 | 1 | -26/+33 |
| | |||||
* | bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747) | Christian Heimes | 2021-12-04 | 1 | -33/+26 |
| | | | 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 | -11/+7 |
| | |||||
* | bpo-45881: Use CC from env first for cross building (GH-29752) | Christian Heimes | 2021-11-24 | 1 | -10/+9 |
| | |||||
* | bpo-45847: Port _uuid to PY_STDLIB_MOD (GH-29741) | Christian Heimes | 2021-11-24 | 1 | -11/+1 |
| | |||||
* | bpo-45847: Port _posixshmem to PY_STDLIB_MOD (GH-29738) | Erlend Egeberg Aasland | 2021-11-24 | 1 | -14/+1 |
| | |||||
* | bpo-45847: Port _gdbm to PY_STDLIB_MOD (GH-29720) | Christian Heimes | 2021-11-23 | 1 | -7/+1 |
| | |||||
* | bpo-45847: Port _ssl and _hashlib to PY_STDLIB_MOD (GH-29727) | Christian Heimes | 2021-11-23 | 1 | -75/+2 |
| | |||||
* | bpo-45847: Port _crypt to PY_STDLIB_MOD (GH-29725) | Christian Heimes | 2021-11-23 | 1 | -14/+1 |
| | |||||
* | bpo-45847: Port _socket to PY_STDLIB_MOD (GH-29713) | Erlend Egeberg Aasland | 2021-11-23 | 1 | -4/+2 |
| | |||||
* | bpo-45847: Port xxlimited and xxlimited_35 to PY_STDLIB_MOD (GH-29707) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -6/+4 |
| | |||||
* | bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706) | Christian Heimes | 2021-11-22 | 1 | -2/+6 |
| | |||||
* | bpo-45847: Port audioop, _csv, and _posixsubprocess to PY_STDLIB_MOD_SIMPLE ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -4/+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 | -43/+1 |
| | |||||
* | bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702) | Christian Heimes | 2021-11-22 | 1 | -25/+4 |
| | |||||
* | bpo-45847: Port mmap, select, and _xxsubinterpreters to Py_STDLIB_MOD (GH-29703) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -3/+3 |
| | |||||
* | bpo-45847: Port fcntl to Py_STDLIB_MOD (GH-29696) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -6/+1 |
| | | | Co-authored-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45847: Various PY_STDLIB_MOD cleanups (GH-29697) | Christian Heimes | 2021-11-22 | 1 | -6/+4 |
| | |||||
* | bpo-45847: Port _lfprof, _opcode, _asyncio, _queue, _statistics, and _typing ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -10/+8 |
| | | | | | 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 | -9/+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 | -6/+4 |
| | | | | (GH-29688) | ||||
* | bpo-45847: Port codecs and unicodedata to PY_STDLIB_MOD (GH-29685) | Christian Heimes | 2021-11-21 | 1 | -5/+6 |
| | |||||
* | bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668) | Christian Heimes | 2021-11-21 | 1 | -20/+7 |
| | |||||
* | bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660) | Christian Heimes | 2021-11-20 | 1 | -18/+12 |
| | |||||
* | bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644) | Christian Heimes | 2021-11-20 | 1 | -5/+2 |
| | |||||
* | bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642) | Christian Heimes | 2021-11-19 | 1 | -46/+12 |
| | |||||
* | bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616) | Christian Heimes | 2021-11-19 | 1 | -9/+4 |
| | |||||
* | bpo-45774: Autoconfiscate SQLite detection (GH-29507) | Erlend Egeberg Aasland | 2021-11-19 | 1 | -102/+11 |
| | | | Co-authored-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45573: check for ossaudiodev in configure (GH-29614) | Christian Heimes | 2021-11-18 | 1 | -5/+2 |
| | |||||
* | bpo-45573: Introduce extension module flags in Makefile (GH-29594) | Christian Heimes | 2021-11-18 | 1 | -94/+78 |
| | | | | | | | | | | | | | | | | | | ``configure`` now uses a standardized format to forward state, compiler flags, and linker flags to ``Makefile``, ``setup.py``, and ``Modules/Setup``. ``makesetup`` use the new variables by default if a module line does not contain any compiler or linker flags. ``setup.py`` has a new function ``addext()``. For a module ``egg``, configure adds: * ``MODULE_EGG`` with value yes, missing, disabled, or n/a * ``MODULE_EGG_CFLAGS`` * ``MODULE_EGG_LDFLAGS`` ``Makefile.pre.in`` may also provide ``MODULE_EGG_DEPS`` that lists dependencies such as header files and static libs. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45573: Use Makefile's dependencies in setup.py (GH-29559) | Christian Heimes | 2021-11-14 | 1 | -60/+27 |
| | |||||
* | bpo-45800: Move pyexpat build setup into configure (GH-29547) | Christian Heimes | 2021-11-14 | 1 | -53/+87 |
| | | | | | | Settings for :mod:`pyexpat` C extension are now detected by ``configure``. The bundled ``expat`` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45798: Move _decimal build setup into configure (GH-29541) | Christian Heimes | 2021-11-13 | 1 | -105/+16 |
| | | | | | | | Settings for :mod:`decimal` internal C extension are now detected by :program:`configure`. The bundled `libmpdec` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org> |