Re: "long int..." exception reported with strange traceback location
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

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

From: Peter Otten <__peter__@web.de>
Date: Mon Jul 04 2005 - 23:56:53 CEST

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.

Peter
Received on Thu Sep 29 16:45:26 2005