[issue6721] Locks in the standard library should be sanitized on fork

2020-06-11 Thread Jesse Farnham
Change by Jesse Farnham : -- nosy: +jesse.farnham ___ Python tracker <https://bugs.python.org/issue6721> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29699] shutil.rmtree should not fail with FileNotFoundError (race condition)

2019-04-09 Thread Jesse Farnham
Change by Jesse Farnham : -- nosy: +jesse.farnham ___ Python tracker <https://bugs.python.org/issue29699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36259] exception text is being sourced from the wrong file

2019-04-07 Thread Jesse Farnham
Jesse Farnham added the comment: Upon further digging, the filename to search for ultimately comes from the PyCodeObject where the error occurred. So a possible solution could be to populate the PyCodeObject with the absolute path to the file when it’s first created in compilation

[issue36259] exception text is being sourced from the wrong file

2019-04-07 Thread Jesse Farnham
Jesse Farnham added the comment: I did some digging into this, and the problem seems to be that _Py_FindSourceFile() in traceback.c searches through every directory in sys.path (of which the first entry is the working directory) to find a file with the passed filename. So if there's a file

[issue36259] exception text is being sourced from the wrong file

2019-04-07 Thread Jesse Farnham
Change by Jesse Farnham : -- nosy: +jesse.farnham ___ Python tracker <https://bugs.python.org/issue36259> ___ ___ Python-bugs-list mailing list Unsubscribe: