"long int..." exception reported with strange traceback location

Peter Otten __peter__ at web.de
Mon Jul 4 23:56:53 CEST 2005

Terry Reedy wrote:

>>>> os.utime("foo_test_file", (0, float(sys.maxint+1)))
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> TypeError: utime() arg 2 must be a tuple (atime, mtime)
> which is quite sane.  So maybe bug was introduced in 2.3 which you were
> running.

But arg 2 *is* a tuple. So a least the error message is wrong, too.


More information about the Python-list mailing list