]> granicus.if.org Git - python/commit
bpo-36842: Implement PEP 578 (GH-12613)
authorSteve Dower <steve.dower@microsoft.com>
Thu, 23 May 2019 15:45:22 +0000 (08:45 -0700)
committerGitHub <noreply@github.com>
Thu, 23 May 2019 15:45:22 +0000 (08:45 -0700)
commitb82e17e626f7b1cd98aada0b1ebb65cb9f8fb184
tree5370a2a075707cb0b37ce135cad6ffe23da424c4
parente788057a9188ff37e232729815dfda2529079420
bpo-36842: Implement PEP 578 (GH-12613)

Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
70 files changed:
Doc/c-api/code.rst
Doc/c-api/file.rst
Doc/c-api/sys.rst
Doc/howto/instrumentation.rst
Doc/library/array.rst
Doc/library/ctypes.rst
Doc/library/functions.rst
Doc/library/io.rst
Doc/library/mmap.rst
Doc/library/os.rst
Doc/library/pickle.rst
Doc/library/socket.rst
Doc/library/sys.rst
Doc/library/urllib.request.rst
Doc/tools/extensions/pyspecific.py
Include/cpython/fileobject.h [new file with mode: 0644]
Include/cpython/sysmodule.h [new file with mode: 0644]
Include/fileobject.h
Include/internal/pycore_pystate.h
Include/pydtrace.d
Include/pydtrace.h
Include/sysmodule.h
Lib/_pyio.py
Lib/importlib/_bootstrap_external.py
Lib/io.py
Lib/pickle.py
Lib/test/libregrtest/setup.py
Lib/test/test_audit.py [new file with mode: 0644]
Lib/test/test_embed.py
Lib/test/test_fileio.py
Lib/test/test_io.py
Lib/urllib/request.py
Lib/zipimport.py
Makefile.pre.in
Misc/NEWS.d/next/Core and Builtins/2019-05-07-16-50-12.bpo-36842.NYww_N.rst [new file with mode: 0644]
Modules/_ctypes/_ctypes.c
Modules/_ctypes/callproc.c
Modules/_io/_iomodule.c
Modules/_io/clinic/_iomodule.c.h
Modules/_io/fileio.c
Modules/_pickle.c
Modules/_winapi.c
Modules/arraymodule.c
Modules/mmapmodule.c
Modules/posixmodule.c
Modules/socketmodule.c
Objects/codeobject.c
Objects/descrobject.c
Objects/fileobject.c
Objects/funcobject.c
Objects/object.c
Objects/typeobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Parser/asdl_c.py
Parser/parsetok.c
Programs/_testembed.c
Python/Python-ast.c
Python/bltinmodule.c
Python/ceval.c
Python/clinic/sysmodule.c.h
Python/fileutils.c
Python/import.c
Python/importdl.c
Python/importlib_external.h
Python/importlib_zipimport.h
Python/pylifecycle.c
Python/pystate.c
Python/pythonrun.c
Python/sysmodule.c