cpython/Modules
Łukasz Langa a785c87d6e DTrace support: function calls, GC activity, line execution
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.

Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.

Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection

All of those might be added later.
2016-09-09 17:37:37 -07:00
..
_blake2 more PY_LONG_LONG to long long 2016-09-08 09:15:54 -07:00
_ctypes fix a PY_LONG_LONG straggler 2016-09-08 09:25:03 -07:00
_decimal Issue #26331: Implement the parsing part of PEP 515. 2016-09-09 14:57:09 -07:00
_io Issue #23524: Finish removing _PyVerify_fd from sources 2016-09-08 11:21:54 -07:00
_multiprocessing require a long long data type (closes #27961) 2016-09-05 17:44:18 -07:00
_sha3 clinic: PY_LONG_LONG -> long long 2016-09-08 09:29:11 -07:00
_sqlite more PY_LONG_LONG to long long 2016-09-08 09:15:54 -07:00
cjkcodecs Issue #27574: Decreased an overhead of parsing keyword arguments in functions 2016-08-14 10:52:18 +03:00
clinic Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) 2016-09-08 10:35:16 -07:00
expat sync ordering of stddef.h includes with expat 2.1.1 2016-06-13 23:41:19 -07:00
zlib Issue #18527: Upgrade internal copy of zlib to 1.2.8 2013-10-21 12:03:09 +02:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
Setup.config.in remove --with(out)-signal-module, since the signal module is non-optional 2016-09-09 12:01:10 -07:00
Setup.dist remove --with(out)-signal-module, since the signal module is non-optional 2016-09-09 12:01:10 -07:00
_bisectmodule.c The return type of a rich comparison is an int 2016-02-14 01:41:35 -08:00
_bz2module.c Got rid of redundand "self" parameter declarations. 2016-05-02 13:45:20 +03:00
_codecsmodule.c Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) 2016-09-08 10:35:16 -07:00
_collectionsmodule.c Avoid inefficient way to call functions without argument 2016-09-05 17:53:15 -07:00
_cryptmodule.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
_csv.c Issue #27809: _csv: _call_dialect() uses fast call 2016-08-23 00:21:34 +02:00
_curses_panel.c Issue #25745: Fixed leaking a userptr in curses panel destructor. 2016-05-09 00:14:22 +03:00
_cursesmodule.c Avoid calling functions with an empty string as format string 2016-09-05 18:16:01 -07:00
_datetimemodule.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
_dbmmodule.c - Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 18:20:03 +03:00
_elementtree.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
_functoolsmodule.c Issue #27809: partial_call() uses fast call for positional args 2016-08-23 16:22:35 +02:00
_gdbmmodule.c - Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 18:20:03 +03:00
_hashopenssl.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
_heapqmodule.c Issue #15984: Merge PyUnicode doc from 3.5 2016-04-15 02:27:11 +00:00
_json.c Issue #26719: More efficient formatting of ints and floats in json. 2016-04-10 14:43:04 +03:00
_localemodule.c Add NULL checks to the initializer of the locale module 2016-09-09 00:24:12 +02:00
_lsprof.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
_lzmamodule.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
_math.c Fix typo. 2014-10-28 22:24:46 +01:00
_math.h Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken. 2012-08-18 12:24:30 +01:00
_opcode.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
_operator.c Issue #27809: methodcaller_reduce() uses fast call 2016-08-23 00:23:23 +02:00
_pickle.c Issue #25761: Improved error reporting about truncated pickle data in 2016-09-06 23:55:11 +03:00
_posixsubprocess.c Issue #26862: SYS_getdents64 does not need to be defined on android API 21. 2016-06-15 11:35:29 +02:00
_randommodule.c Issue #27776: include process.h on Windows for getpid() 2016-09-06 17:03:03 -07:00
_scproxy.c Eliminate a tautological-pointer-compare warning found by Clang. 2016-09-07 14:07:16 -07:00
_sre.c replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
_ssl.c Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs. 2016-09-06 23:27:06 +02:00
_ssl_data.h Issue #23248: Update ssl error codes from latest OpenSSL git master. 2015-01-18 17:39:32 +01:00
_stat.c Issue #21741: Add st_file_attributes to os.stat_result on Windows. 2014-06-19 09:46:37 -05:00
_struct.c require C99 bool 2016-09-07 11:06:17 -07:00
_testbuffer.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
_testcapimodule.c Add a new private version to the builtin dict type 2016-09-08 12:51:24 -07:00
_testimportmultiple.c Remove compile warnings for _testimportmodule 2012-12-15 18:16:47 +02:00
_testmultiphase.c Merge #27782 fix from 3.5 2016-08-21 17:43:58 +10:00
_threadmodule.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
_tkinter.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
_tracemalloc.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
_weakref.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
_winapi.c Issue #17599: Use unique _Py_REPARSE_DATA_BUFFER etc names to avoid conflict 2016-08-04 02:38:59 +00:00
addrinfo.h replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
ar_beos
arraymodule.c Issue #27570: Merge null pointer fixes from 3.5 2016-09-07 23:31:39 +00:00
atexitmodule.c Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
audioop.c replace PyInt16 with int16_t 2016-09-08 15:08:02 -07:00
binascii.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -07:00
cmathmodule.c Issue 23229: add cmath.inf, cmath.nan, cmath.infj and cmath.nanj. 2016-08-29 13:56:58 +01:00
config.c.in PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
errnomodule.c Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
faulthandler.c Issue #23524: Finish removing _PyVerify_fd from sources 2016-09-08 11:21:54 -07:00
fcntlmodule.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
fpectlmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
fpetestmodule.c
gc_weakref.txt Issue #13575: there is only one class type. 2011-12-12 18:54:29 +01:00
gcmodule.c DTrace support: function calls, GC activity, line execution 2016-09-09 17:37:37 -07:00
getaddrinfo.c Issue #26505: merge from 3.5 2016-03-07 14:52:46 -05:00
getbuildinfo.c
getnameinfo.c Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code. 2012-08-02 20:37:12 +02:00
getpath.c merge 3.5 2016-06-02 12:42:40 -07:00
grpmodule.c - Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 18:20:03 +03:00
hashlib.h Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
hashtable.c merge 3.5 2016-09-06 19:04:37 -07:00
hashtable.h Cleanup hashtable.h 2016-03-23 09:52:13 +01:00
itertoolsmodule.c Issue #27626: Merge spelling fixes from 3.5 2016-07-28 01:30:58 +00:00
ld_so_aix.in Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
ld_so_beos
main.c Check return value of PyList_Append() in Py_Main(). CID 1353200 2016-09-09 00:08:35 +02:00
makesetup Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
makexp_aix
mathmodule.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
md5module.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
mmapmodule.c Issue #23524: Finish removing _PyVerify_fd from sources 2016-09-08 11:21:54 -07:00
nismodule.c Issue #24300: Minor refactoring. 2015-07-24 00:43:44 -04:00
ossaudiodev.c more linux -> __linux__ 2016-09-07 14:45:10 -07:00
overlapped.c Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) 2016-09-08 10:35:16 -07:00
parsermodule.c replace custom validation logic in the parse module with a simple DFA validator (closes #26526) 2016-06-02 11:30:18 -07:00
posixmodule.c Issue #27781: Fixes uninitialized fd when !MS_WINDOWS and !HAVE_OPENAT 2016-09-09 09:03:15 -07:00
posixmodule.h Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
pwdmodule.c - Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 18:20:03 +03:00
pyexpat.c Add error checking to PyInit_pyexpact 2016-09-09 00:13:35 +02:00
readline.c explicitly cast away constness to silence compiler warning 2016-09-05 18:26:19 -07:00
resource.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
rotatingtree.c
rotatingtree.h
selectmodule.c replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
sha1module.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
sha256module.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
sha512module.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
signalmodule.c Use PyModule_AddIntMacro() in signal module 2016-09-09 00:11:45 +02:00
socketmodule.c Issue 18550: Check return value of ioctl() / fnctl() in internal_setblocking 2016-09-09 00:28:57 +02:00
socketmodule.h Issue #22117: The socket module uses _PyTime_t timestamp for timeouts 2015-03-28 01:18:54 +01:00
spwdmodule.c - Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 18:20:03 +03:00
sre.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_constants.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_lib.h replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
symtablemodule.c Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
syslogmodule.c Issue #20437: Fixed 22 potential bugs when deleting objects references. 2014-02-09 13:46:20 +02:00
termios.c
testcapi_long.h Issue #9530: Fix undefined behaviour due to signed overflow in testcapi_long.h. 2011-11-19 17:58:15 +00:00
timemodule.c Issue #22624: Python 3 requires clock() to build 2016-07-08 17:55:01 +02:00
tkappinit.c Issue #4350: Removed a number of out-of-dated and non-working for a long time 2014-07-23 22:33:50 +03:00
tkinter.h Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8 2015-04-22 10:59:32 +03:00
unicodedata.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
unicodedata_db.h upgrade to Unicode 8.0.0 2015-06-27 15:45:56 -05:00
unicodename_db.h upgrade to Unicode 8.0.0 2015-06-27 15:45:56 -05:00
winreparse.h Issue #17599: Use unique _Py_REPARSE_DATA_BUFFER etc names to avoid conflict 2016-08-04 02:38:59 +00:00
xxlimited.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
xxmodule.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
xxsubtype.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
zipimport.c Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun) 2016-09-09 17:27:33 -07:00
zlibmodule.c Issue #16764: Support keyword arguments to zlib.decompress(). Patch by 2016-08-15 10:06:16 +03:00

README

Source files for standard library extension modules,
and former extension modules that are now builtin modules.