[issue21863] Display module names of C functions in cProfile

Antoine Pitrou report at bugs.python.org
Tue Jun 24 22:23:44 CEST 2014


New submission from Antoine Pitrou:

Currently, cProfile output displays "built-in functions" (i.e. module functions implemented in C, such as hasattr()) using only their names. This is not very useful when those functions may be provided by any third-party library. Attached patch adds the module name (as provided by __module__) to the output.

----------
components: Library (Lib)
files: cprofile_names.patch
keywords: patch
messages: 221493
nosy: georg.brandl, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: Display module names of C functions in cProfile
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file35774/cprofile_names.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21863>
_______________________________________


More information about the Python-bugs-list mailing list