(Contributed by Victor Stinner in bpo-21536.) On Unix, C extensions are no longer linked to libpython except on Androidįor a statically linked Python to load a C extension built using a shared (Contributed by Victor Stinner in bpo-36465.) configure -with-trace-refs build option. The Py_TRACE_REFS macro, whichĪdds the sys.getobjects() function and the PYTHONDUMPREFSĮnvironment variable, can be set using the new. Py_DEBUG macro no longer implies the Py_TRACE_REFS macro, which Release builds and debug builds are now ABI compatible: defining the Unix, when Python is built in debug mode, it is now possible to load CĮxtensions built in release mode and C extensions built using the stable ABI. Python now uses the same ABI whether it’s built in release or debug mode. (Contributed by Carl Meyer in bpo-33499.) Debug build uses the same ABI as release build ¶ ( None indicates the default location in _pycache_ The location of the cache is reported in sys.pycache_prefix The default _pycache_ subdirectories within each source X pycache_prefix) configures the implicit bytecodeĬache to use a separate parallel filesystem tree, rather than The new PYTHONPYCACHEPREFIX setting (also available as (Contributed by Pablo Galindo in bpo-36540.) Parallel filesystem cache for compiled bytecode files ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |