[issue42730] TypeError/hang inside of Time.Sleep() when _thread.interrupt_main()

2020-12-24 Thread Abdulrahman Alabdulkareem
Change by Abdulrahman Alabdulkareem : -- title: TypeError in Time.Sleep when invoked from shell script background -> TypeError/hang inside of Time.Sleep() when _thread.interrupt_main() ___ Python tracker <https://bugs.python.org/issu

[issue42730] TypeError in Time.Sleep when invoked from shell script background

2020-12-24 Thread Abdulrahman Alabdulkareem
New submission from Abdulrahman Alabdulkareem : I get a random TypeError exception thrown whenever I interrupt/kill a sleeping parent thread from a child thread but ONLY if the python script was invoked by a shell script with an & argument to make it run in the backgr