[issue37086] time.sleep error message misleading

2019-05-30 Thread Justin Fay
Justin Fay added the comment: >From looking at the code for this (note I am not a C programmer so may have >gotten this wrong) _PyTime_FromObject first checks if the object is a float >using PyFloat_Check(obj) this is evident as passing nan to time.sleep raises a >ValueEr

[issue37086] time.sleep error message misleading

2019-05-29 Thread Justin Fay
New submission from Justin Fay : Using python3.6 and calling `time.sleep` with an invalid argument the `TypeError` raised has the error message "TypeError: an integer is required". This is not the case as a float or integer is acceptable. Using python 2.7 the error message given

[issue22757] TclStackFree: incorrect freePtr. Call out of sequence?

2014-10-28 Thread Fay
New submission from Fay: I have a code that graphs streaming data in a new window. If the cursor is within the graphing window and the cursor has been moved, the graphing window would crash and the message says that "python.exe has stopped working". In the CMD window, the followin