[Python-Dev] Re: Switching to Discourse

2022-12-07 Thread John Ehresman
I’ve found that using mailing list mode to lurk on discuss.python.org works well. I’ve set up rules on my local mail client to archive what I don’t want in my inbox; I have 4 rules in place now, though I’m interested in a bit more than what was typically on python-dev. Cheers, John > On Dec 6

[Python-Dev] Re: C API: Move PEP 523 "Adding a frame evaluation API to CPython" private C API to the internal C API

2022-03-30 Thread John Ehresman
As someone who maintains a debugger that uses private api’s, I’d like to see some commitment to seeing them not change in micro releases such as 3.11.1 -> 3.11.2. Micro releases should be compatible with other micro releases of the same major.minor release such as 3.11 so that an extension compi

Re: [Python-Dev] PyDict_SetItem hook

2009-04-03 Thread John Ehresman
Just want to reply quickly because I'm traveling -- I appreciate the feedback from Raymond and others. Part of the reason I created an issue with a proof of concept patch is to get this kind of feedback. I also agree that this shouldn't go in if it slows things down noticeably. I will do som

Re: [Python-Dev] PyDict_SetItem hook

2009-04-01 Thread John Ehresman
Collin Winter wrote: Have you measured the impact on performance? I've tried to test using pystone, but am seeing more differences between runs than there is between python w/ the patch and w/o when there is no hook installed. The highest pystone is actually from the binary w/ the patch, wh

[Python-Dev] PyDict_SetItem hook

2009-04-01 Thread John Ehresman
I've written a proof of concept patch to add a hook to PyDict_SetItem at http://bugs.python.org/issue5654 My motivation is to enable watchpoints in a python debugger that are called when an attribute or global changes. I know that this won't cover function locals and objects with slots (as M