Pablo Galindo Salgado
abfc794bbf
bpo-45822: Minor cleanups to the test_Py_CompileString test (GH-29750)
2021-11-24 18:30:03 +00:00
Christian Heimes
8af6481f6b
bpo-45847: Port _uuid to PY_STDLIB_MOD (GH-29741)
2021-11-24 10:20:37 +01:00
Erlend Egeberg Aasland
324527012f
bpo-45847: Port _posixshmem to PY_STDLIB_MOD (GH-29738)
2021-11-24 08:19:17 +01:00
Christian Heimes
9cf5646bb4
bpo-45847: Port _gdbm to PY_STDLIB_MOD (GH-29720)
2021-11-23 22:58:38 +01:00
Christian Heimes
b9e9292d75
bpo-45847: Port _ssl and _hashlib to PY_STDLIB_MOD (GH-29727)
2021-11-23 22:58:13 +01:00
Christian Heimes
095bc8f0d6
bpo-45847: Port _crypt to PY_STDLIB_MOD (GH-29725)
2021-11-23 22:26:50 +01:00
Erlend Egeberg Aasland
d82f2caf94
bpo-45847: Port _socket to PY_STDLIB_MOD (GH-29713)
2021-11-23 08:52:05 +01:00
Erlend Egeberg Aasland
2dc7d3dda6
bpo-45847: Port xxlimited and xxlimited_35 to PY_STDLIB_MOD (GH-29707)
2021-11-22 21:27:05 +01:00
Christian Heimes
0e1c2f3ef8
bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706)
2021-11-22 15:58:43 +01:00
Erlend Egeberg Aasland
eee683cbde
bpo-45847: Port audioop, _csv, and _posixsubprocess to PY_STDLIB_MOD_SIMPLE (GH-29705)
...
Automerge-Triggered-By: GH:tiran
2021-11-22 06:37:25 -08:00
Christian Heimes
c6dec7e27a
bpo-45847: Port nis module to PY_STDLIB_MOD (GH-29699)
2021-11-22 15:18:41 +01:00
Christian Heimes
d9cedabeba
bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702)
2021-11-22 14:52:29 +01:00
Erlend Egeberg Aasland
b451673f93
bpo-45847: Port mmap, select, and _xxsubinterpreters to Py_STDLIB_MOD (GH-29703)
2021-11-22 14:49:58 +01:00
Erlend Egeberg Aasland
5b946cadaa
bpo-45847: Port fcntl to Py_STDLIB_MOD (GH-29696)
...
Co-authored-by: Christian Heimes <christian@python.org>
2021-11-22 14:02:27 +01:00
Erlend Egeberg Aasland
39f7d2ff01
bpo-45847: Port _lfprof, _opcode, _asyncio, _queue, _statistics, and _typing to PY_STDLIB_MOD_SIMPLE (GH-29690)
...
Automerge-Triggered-By: GH:tiran
2021-11-22 01:57:50 -08:00
Erlend Egeberg Aasland
718cee08cc
bpo-45847: Port _bisect, _heapq, _json, _pickle, _random, and _zoneinfo to PY_STDLIB_MOD_SIMPLE (GH-29689)
...
Automerge-Triggered-By: GH:tiran
2021-11-22 00:45:41 -08:00
Erlend Egeberg Aasland
133c65a870
bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE (GH-29688)
2021-11-22 09:05:36 +01:00
Christian Heimes
2afa1a1266
bpo-45847: Port codecs and unicodedata to PY_STDLIB_MOD (GH-29685)
2021-11-21 14:08:47 +01:00
Christian Heimes
f201d261cf
bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668)
2021-11-21 10:45:31 +01:00
Christian Heimes
f36c69a26e
bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660)
2021-11-20 16:43:10 +01:00
Christian Heimes
5596909eac
bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644)
2021-11-20 10:18:48 +01:00
Christian Heimes
c8c21bdd19
bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642)
2021-11-19 20:20:32 +01:00
Christian Heimes
7e44dc0ba7
bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616)
2021-11-19 16:40:57 +01:00
Erlend Egeberg Aasland
29e5874d5a
bpo-45774: Autoconfiscate SQLite detection (GH-29507)
...
Co-authored-by: Christian Heimes <christian@python.org>
2021-11-19 15:10:41 +01:00
Christian Heimes
e4bb22fabb
bpo-45573: Add Modules/Setup.stdlib with conditional modules (GH-29615)
2021-11-18 14:40:01 +01:00
Erlend Egeberg Aasland
0920b61a0c
bpo-45512: Use Argument Clinic to set sqlite3 isolation level (GH-29593)
2021-11-18 18:18:09 +09:00
Christian Heimes
25ecc040d0
bpo-45573: Introduce extension module flags in Makefile (GH-29594)
...
``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>
2021-11-18 09:18:44 +01:00
Dong-hee Na
e002bbc6cc
bpo-45512: Simplify manage isolation level (GH-29562)
2021-11-17 21:47:02 +09:00
Pablo Galindo Salgado
da20d7401d
bpo-45822: Respect PEP 263's coding cookies in the parser even if flags are not provided (GH-29582)
2021-11-16 12:30:47 -08:00
Erlend Egeberg Aasland
9d6215a54c
bpo-45126: Harden `sqlite3` connection initialisation (GH-28227)
2021-11-16 15:53:35 +01:00
Dong-hee Na
55868f1a33
bpo-45429: Support CREATE_WAITABLE_TIMER_HIGH_RESOLUTION if possible (GH-29203)
2021-11-16 22:41:20 +09:00
Mark Shannon
b931077375
bpo-45753: Make recursion checks more efficient. (GH-29524)
...
* Uses recursion remaining, instead of recursion depth to speed up check against recursion limit.
2021-11-16 11:01:57 +00:00
Erlend Egeberg Aasland
822c3dcce3
bpo-45512: Raise exception if sqlite3.Connection.__init__ is called with bad isolation level ( #29561 )
...
* bpo-45512: Raise sqlite3.Connection.__init__ is called with bad isolation level
* Also explicitly test allowed isolation levels
* Use subTest for better error messages if something goes wrong
* Update Lib/test/test_sqlite3/test_dbapi.py
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2021-11-15 21:55:38 +09:00
Erlend Egeberg Aasland
b567b9d74b
bpo-45512: Simplify isolation_level handling in `sqlite3` (GH-29053)
2021-11-15 16:50:59 +09:00
Christian Heimes
464e6616be
bpo-45800: Move pyexpat build setup into configure (GH-29547)
...
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>
2021-11-14 10:02:24 +01:00
Christian Heimes
0486570f7b
bpo-45798: Move _decimal build setup into configure (GH-29541)
...
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>
2021-11-13 13:56:16 +01:00
Christian Heimes
0a9f69539b
bpo-45747: Detect gdbm/dbm dependencies in configure (GH-29467)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-11-10 20:26:55 +01:00
Erlend Egeberg Aasland
c1323d4b8c
bpo-45754: Use correct SQLite limit when checking statement length (GH-29489)
2021-11-10 18:46:11 +00:00
Irit Katriel
05fbd60147
bpo-45711: Use _PyErr_ClearExcState instead of setting only exc_value to NULL (GH-29404)
2021-11-10 16:57:14 +00:00
Christian Heimes
cbab997efb
bpo-45723: Prepare support for autoconf 2.71 (GH-29441)
2021-11-08 19:31:14 +01:00
Christian Heimes
24af9a40a8
bpo-45743: Move __APPLE_USE_RFC_3542 into socketmodule.c (GH-29456)
2021-11-08 12:48:34 +01:00
180909
122ca4d73f
remove the repeat 'the' ( #29455 )
2021-11-08 10:19:54 +02:00
Christian Heimes
e9594f6747
bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434)
2021-11-06 10:30:37 +01:00
Erlend Egeberg Aasland
c273986711
bpo-45613: Set `sqlite3.threadsafety` dynamically (GH-29227)
...
Use the compile-time selected default SQLite threaded mode to set the
DB-API 2.0 attribute 'threadsafety'
Mappings:
- SQLITE_THREADSAFE=0 => threadsafety=0
- SQLITE_THREADSAFE=1 => threadsafety=3
- SQLITE_THREADSAFE=2 => threadsafety=1
2021-11-03 21:01:37 +00:00
Erlend Egeberg Aasland
456e27ac0a
bpo-24139: Add support for SQLite extended result codes (GH-28076)
2021-11-02 23:49:38 +00:00
Erlend Egeberg Aasland
401272e6e6
bpo-42064: Adapt `sqlite3` to multi-phase init (PEP 489) (GH-29234)
2021-11-02 16:35:51 +01:00
Erlend Egeberg Aasland
b6b38a8226
bpo-45243: Add support for setting/getting `sqlite3` connection limits (GH-28463)
2021-11-01 22:50:53 +00:00
Erlend Egeberg Aasland
39b4d5938c
bpo-45634: Don't combine error checks when adding `sqlite3` int constants (GH-29251)
2021-10-31 19:01:19 +09:00
Erlend Egeberg Aasland
e2e62b3808
bpo-45581: Raise `MemoryError` in `sqlite3.connect` if SQLite signals memory error (GH-29171)
2021-10-29 22:21:58 +02:00
Christian Heimes
f0150ac94a
bpo-45548: Some test modules must be built as shared libs (GH-29268)
...
Some test cases don't work when test modules are static extensions.
Add dependency on Modules/config.c to trigger a rebuild whenever a
module build type is changed.
``makesetup`` puts shared extensions into ``Modules/`` directory. Create
symlinks from pybuilddir so the extensions can be imported.
Note: It is not possible to use the content of pybuilddir.txt as a build
target. Makefile evaluates target variables in the first pass. The
pybuilddir.txt file does not exist at that point.
2021-10-29 17:49:57 +02:00