Issue #21863: cProfile now displays the module name of C extension fu… · pythoncapi/cpython@8477f7a · GitHub
Skip to content

Commit 8477f7a

Browse files
committed
Issue python#21863: cProfile now displays the module name of C extension functions, in addition to their own name.
1 parent 0882e27 commit 8477f7a

3 files changed

Lines changed: 17 additions & 7 deletions

File tree

Lib/test/test_cprofile.py

Lines changed: 5 additions & 5 deletions

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ Core and Builtins
103103
Library
104104
-------
105105

106+
- Issue #21863: cProfile now displays the module name of C extension functions,
107+
in addition to their own name.
108+
106109
- Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper
107110
object is destroyed. The destructor now closes the file if needed. The
108111
close() method can now be called twice: the second call does nothing.

Modules/_lsprof.c

Lines changed: 9 additions & 2 deletions

0 commit comments

Comments
 (0)