[issue43093] Make modules picklable

2021-08-20 Thread Cornelius Krupp
Cornelius Krupp added the comment: I would also like to see this added, and I can also provided a usecase where I naturally came across this. I am helping on a parsing library which uses regular expressions internally. We allow the user to select the stdlib re module or the third party

[issue42286] f_trace gets call on different lines each loop

2020-11-07 Thread Cornelius Krupp
New submission from Cornelius Krupp : When using a local trace function, sometimes the line event is issued at the wrong time. As can be seen from the example file `f_trace_wrong_line.py`, each loop iteration we get either 24 or 23, apparently in a fixed rhythm. While this might seem