Hagen Fürstenau <[email protected]> added the comment:
It happens for other C functions as well, e.g. itertools.permutations:
>>> profile.run('itertools.permutations(range(10), 3)')
4 function calls in 0.000 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 :0(exec)
1 0.000 0.000 0.000 0.000 :0(setprofile)
1 0.000 0.000 0.000 0.000 <string>:1(<module>)
1 0.000 0.000 0.000 0.000
profile:0(itertools.permutations(range(10), 3))
0 0.000 0.000 profile:0(profiler)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12953>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com