Antoine Pitrou added the comment:

This may indeed be useful but:
- those functions should be no-ops when tracing isn't enabled (so as to be as 
fast as possible)
- you should take the GIL if necessary (but only if tracing is enabled, of 
course)

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26530>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to