[issue13986] ValueError: cannot convert float NaN to integer

Shivam report at bugs.python.org
Mon Feb 13 13:02:49 CET 2012


Shivam <shivam.agarwal at aricent.com> added the comment:

Hi Terry,
  Thanks for your reply.

  I am made changes suggested by you but still getting the same error:

  Below is the change that have been made:

        try:
            local_var = (os.fstat(f.fileno()).st_mtime) --> added line
            print "Value of local_var",local_var --> added line
            timestamp = long(os.fstat(f.fileno()).st_mtime)

Regards
Shivam Agarwal

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13986>
_______________________________________


More information about the Python-bugs-list mailing list