|
Meta tags:
description=work in progress
configure now detects if a stdlib extension module is enabled/disabled and all prerequisites are available. Compiler and linker flags are passed to Makefile, makesetup, and setup.py.
For each extension module Makefile now contains up to three additional variables:
MODULE__SSL=yes
MODULE__SSL_CFLAGS=
MODULE__SSL_LDFLAGS=-lssl -lcrypto
Modules/Setup entries use the new variables. An entry like _ssl _ssl.c is sufficient to compile the ssl module as builtin. All compiler and linker flags are set by configure. The MODULE_EGG can be one of yes, disabled, missing, n/a.
Modules/_ssl.o: $(srcdir)/Modules/_ssl.c $(MODULE__SSL_DEPS) $(PYTHON_HEADERS) Modules/config.c
$(CC) $(CCSHARED) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) $(MODULE__SSL_CFLAGS) -c $(srcdir)/Modules/_ssl.c -o Modules/_ssl.o
Modules/_ssl$(EXT_SUFFIX): Modules/_ssl.o
$(BLDSHARED) Modules/_ssl.o $(MODULE__SSL_LDFLAGS) -o Modules/_ssl$(EXT_SUFFIX)
Missing modules: _curses, _curses_panel, _dbm, _sqlite3, _nis, _ctypes.
Signed-off-by: Christian Heimes christian@python.org
htt????/bugs.python.org/issue45573;
Headings (most frequently used words):
uh, oh, extension, navigation, bpo, 45573, detect, stdlib, modules, in, configure, 29534, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by,
Text of the page (most frequently used words):
#modules (43), and (42), file (39), the (28), expand (25), _sqlite (24), this (22), line (22), for (22), _ctypes (22), that (21), uncomment (18), github (16), unicode (16), edit (16), _multiprocessing (16), module (15), hidden (15), characters (15), all (14), setup (14), show (13), extension (13), libs (12), diff (12), libraries (12), with (12), you (11), applied (11), down (11), may (11), open (11), usr (11), your (11), are (11), tiran (11), number (10), bidirectional (10), _tkinter (10), _ssl (10), configure (10), reload (9), some (9), stdlib (9), not (8), changes (8), more (8), readline (8), _decimal (8), nov (8), 2021 (8), suggestion (7), cannot (7), suggestions (7), while (7), comments (7), change (7), code (7), only (7), loading (7), mods (7), learn (7), about (7), view (7), include (7), openssl_ldflags (7), cjkcodecs (7), libmpdec (7), sign (7), can (6), time (6), please (6), mods_upper (6), build (6), text (6), what (6), review (6), makesetup (6), _scproxy (6), _curses_panel (6), reflect (6), where (6), files (6), openssl_includes (6), require (6), srcdir (6), makefile (6), nbsp (6), security (5), there (5), echo (5), shared (5), arg (5), original (5), contains (5), interpreted (5), compiled (5), differently (5), than (5), appears (5), below (5), editor (5), reveals (5), desktop (5), delete (5), deletions (5), ltermcap (5), have (5), local (5), libcrypto (5), openssl (5), needs (5), pyexpat (5), libexpat (5), timemodule (5), expat (5), python (5), commits (5), pull (4), from (4), supported (4), add (4), was (4), error (4), page (4), config (4), cpps (4), static (4), additions (4), _xxtestfuzz (4), framework (4), specific (4), lncurses (4), system (4), always (4), lib (4), tcl (4), tkappinit (4), leave (4), _hashlib (4), _hashopenssl (4), supports (4), statement (4), _dbm (4), _uuid (4), external (4), unix (4), dependencies (4), ossaudiodev (4), _posixsubprocess (4), _blake2 (4), _pickle (4), _opcode (4), _lsprof (4), _json (4), 190 (4), pre (4), bpo (4), 45573 (4), detect (4), support (4), copilot (4), community (3), navigation (3), request (3), must (3), batch (3), commit (3), closed (3), retry (3), module_ (3), sed (3), yes (3), done (3), skip (3), macos (3), _curses (3), _cursesmodule (3), x11 (3), link (3), aix (3), togl (3), products (3), blt (3), dwith_appinit (3), tcltk_includes (3), tcltk_libs (3), command (3), out (3), exclude (3), libssl (3), also (3), leditline (3), _sqlite3 (3), connection (3), cursor (3), microprotocols (3), prepare_protocol (3), row (3), util (3), _gdbm (3), _gdbmmodule (3), callbacks (3), callproc (3), stgdict (3), cfield (3), _uuidmodule (3), zlib (3), zlibmodule (3), _lzma (3), _lzmamodule (3), _bz2 (3), _bz2module (3), nis (3), nismodule (3), tirpc (3), lnsl (3), ltirpc (3), _crypt (3), _cryptmodule (3), resource (3), grp (3), _posixshmem (3), posixshmem (3), lrt (3), _elementtree (3), select (3), multiprocessing (3), semaphore (3), openssl_libs (3), 207 (3), modules_ (3), mod_upper (3), rules (3), use (3), flags (3), cpython (3), tzpath (3), gitignore (3), hide (3), whitespace (3), split (3), filter (3), 29534 (3), account (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), contact (2), status (2), privacy (2), terms (2), footer (2), merge (2), has (2), lines (2), single (2), one (2), viewing (2), toggle (2), rule (2), obj (2), src (2), _deps (2), python_headers (2), header (2), changed (2), esac (2), _ldflags (2), _cflags (2), then (2), exit (2), bad (2), word (2), 154 (2), _testmultiphase (2), _testimportmultiple (2), _ctypes_test (2), testing (2), _testinternalcapi (2), _testbuffer (2), xxlimited_35 (2), xxlimited (2), examples (2), systemconfiguration (2), corefoundation (2), lpanel (2), lncursesw (2), lcurses (2), lx11 (2), openwin (2), solaris (2), x11r6 (2), tkimaging (2), see (2), pil (2), info (2), tix (2), headers (2), leading (2), underscore (2), every (2), shell (2), read (2), implemented (2), backslashes (2), statically (2), need (2), bindings (2), systems (2), ltermlib (2), libeditline (2), lreadline (2), lsqlite3 (2), lgdbm (2), _dbmmodule (2), lgdbm_compat (2), duse_gdbm_compat (2), ndbm (2), gdbm (2), compat (2), berkeley (2), ldl (2), lffi (2), dhave_ffi_prep_cif_var (2), dhave_ffi_prep_closure_loc (2), dhave_ffi_closure_alloc (2), bsd (2), luuid (2), linux (2), llzma (2), lbz2 (2), lcrypt (2), termios (2), grpmodule (2), fcntl (2), fcntlmodule (2), platforms (2), unicodedata (2), _codecs_tw (2), _codecs_kr (2), _codecs_jp (2), _codecs_iso2022 (2), _codecs_hk (2), _codecs_cn (2), _sha3 (2), disabled (2), uses (2), binascii (2), audioop (2), _zoneinfo (2), _struct (2), _queue (2), _queuemodule (2), rotatingtree (2), _heapq (2), _heapqmodule (2), _csv (2), defined (2), variables (2), library (2), variable (2), source (2), libexpat_a (2), libmpdec_a (2), added (2), coverage (2), lcov (2), report (2), abs_builddir (2), module_block (2), openssl_rpath (2), misc (2), selected (2), pyconfig (2), aclocal (2), apply (2), unified (2), failed (2), load (2), jump (2), generate (2), tree (2), issue (2), insights (2), projects (2), actions (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), secret (2), perform, action, share, personal, information, manage, cookies, docs, 2026, inc, right, now, check, back, later, queued, multi, pending, reviews, been, marked, resolved, outdated, existing, order, create, valid, applying, deleted, per, subset, invalid, because, were, made, annotations, notes, oops, something, went, wrong, rulesf, force, rebuild, when, flavor, py_builtin_module_cflags, 245, 252, case, doconfig, test, 194, 195, module__testmultiphase_true, module__testimportmultiple_true, module__testcapi_true, _testcapi, _testcapimodule, module__ctypes_test_true, built, module__testinternalcapi_true, module__testbuffer_true, module__xxtestfuzz_true, fuzzer, module__xxsubinterpreters_true, _xxsubinterpreters, _xxsubinterpretersmodule, module_xxlimited_35_true, module_xxlimited_true, module_xx_true, xxmodule, module__scproxy_true, module__curses_panel_true, module__curses_true, lld, lgl, lglu, lxext, lxmu, these, dwith_togl, dwith_pil, extensions, imaging, libimaging, http, www, pythonware, com, dwith_blt, blt8, unoff, lblt8, dwith_tix, ltix8, module__tkinter_true, remove, backslash, interpretation, experience, strange, errors, want, join, uncommented, commented, trailing, corresponding, those, parts, indicated, don, long, site, module__hashlib_true, module__ssl_true, module_readline_true, module__sqlite3_true, module__gdbm_true, module__dbm_true, module__ctypes_true, module__uuid_true, uuid_create, libc, requires, module_zlib_true, module__lzma_true, module__bz2_true, compression, module_nis_true, module__crypt_true, module_termios_true, module_syslog_true, syslog, syslogmodule, module_spwd_true, spwd, spwdmodule, getspnam, module_resource_true, module_ossaudiodev_true, sys, soundcard, freebsd, module_grp_true, vxworks, module_fcntl_true, libbsd, module__posixshmem_true, module__posixsubprocess_true, module_unicodedata_true, module__multibytecodec_true, _multibytecodec, multibytecodec, module__codecs_tw_true, module__codecs_kr_true, module__codecs_jp_true, module__codecs_iso2022_true, module__codecs_hk_true, module__codecs_cn_true, encodings, module__sha3_true, sha3module, module__sha512_true, _sha512, sha512module, module__sha256_true, _sha256, sha256module, module__sha1_true, _sha1, sha1module, module__md5_true, _md5, md5module, module__blake2_true, blake2module, blake2b_impl, blake2s_impl, hashing, builtins, builtin, hashlib, hashes, module__elementtree_true, capi, hook, linked, via, module_pyexpat_true, xml, module_select_true, selectmodule, module_mmap_true, mmap, mmapmodule, module_math_true, math, mathmodule, module_cmath_true, cmath, cmathmodule, module_binascii_true, module_audioop_true, module_array_true, array, arraymodule, module__zoneinfo_true, module__typing_true, _typing, _typingmodule, module__struct_true, module__statistics_true, _statistics, _statisticsmodule, module__socket_true, _socket, socketmodule, module__random_true, _random, _randommodule, module__queue_true, module__pickle_true, module__opcode_true, module__multiprocessing_true, module__lsprof_true, module__json_true, module__heapq_true, module__decimal_true, module__datetime_true, _datetime, _datetimemodule, datetime, clock_gettime, module__csv_true, module__contextvars_true, _contextvars, _contextvarsmodule, module__bisect_true, _bisect, _bisectmodule, module__asyncio_true, _asyncio, _asynciomodule, should, present, posix, windows, 279, 291, 248, 258, lcrypto, 216, 196, 205, 153, 162, declared, process, works, like, typically, defaults, cppargs, cpparg, arguments, given, optional, dependency, generated, additional, any, make, detected, xmltok_impl, xmltok, 562, 569, libexpat_headers, umodarith, typearith, 535, 544, libmpdec_headers, definitions, internal, coverage_report_options, branch, title, coverage_report, 283, 289, coverage_info, default, zoneinfo, here, expose, sysconfig, get_config_var, module_egg_ldflags, module_egg_cflags, module_egg, missing, compiler, linker, programs, _freeze_module, ld_so_aix, embed, addition, conversations, clear, filters, viewed, manifest, types, dotfile, d8ab7c8, simplify, even, 61f31c1, comment, ported, yet, c4311ad, cflags, ldflags, deps, 836eb43, enabled, 513ff43, block, simple, 7b0d162, automatically, bcf8469, 207617e, hold, shift, click, range, checks, conversation, wants, into, configure_stdlib, main, already, clicking, agree, our, occasionally, send, related, emails, service, free, its, maintainers, question, project, new, items, requests, issues, message, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, connect, resources, premium, advanced, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, content,
|