[issue42251] Add threading.gettrace and threading.getprofile

2020-11-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0001a1b69ecda47b0406daa88c2943877580bcae by Mario Corchero in branch 'master': bpo-42251: Add gettrace and getprofile to threading (GH-23125) https://github.com/python/cpython/commit/0001a1b69ecda47b0406daa88c2943877580bcae --

[issue42251] Add threading.gettrace and threading.getprofile

2020-11-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42251] Add threading.gettrace and threading.getprofile

2020-11-03 Thread Mario Corchero
Change by Mario Corchero : -- keywords: +patch pull_requests: +22041 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23125 ___ Python tracker ___

[issue42251] Add threading.gettrace and threading.getprofile

2020-11-03 Thread Mario Corchero
New submission from Mario Corchero : When working in a C extension from a non-python created thread which calls PyGILState_Ensure as it later calls a Python callback on user code, I wished there was a way to set the trace function similar to what a native Python thread would do. We could