Steve Dower <steve.do...@python.org> added the comment:

Left some minor suggestions on the PR, but wanted to copy this comment here as 
well:

I wonder if it's worth returning the connection object when it's created 
(through a new event in module.c) and then reference it in these events? That 
can then correlate these (and other) events with the file - we do this already 
for sockets.

After some thought, I think it's probably not worth it for these ones. The 
important information is in the extension being loaded, and it doesn't really 
relate to the connection at all. However, if we wanted to add it later, we 
couldn't. So might be worth doing now?

----------

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

Reply via email to