This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients Jordan.Meyer, ned.deily
Date 2011-08-31.07:21:29
SpamBayes Score 0.032857787
Marked as misclassified No
Message-id <1314775290.24.0.839457745014.issue12867@psf.upfronthosting.co.za>
In-reply-to
Content
The linecache module functions take a filename string as an argument, not a file object.  Try:

   linecache.getlines("/path/to/filename", lineno)

http://docs.python.org/py3k/library/linecache.html
History
Date User Action Args
2011-08-31 07:21:30ned.deilysetrecipients: + ned.deily, Jordan.Meyer
2011-08-31 07:21:30ned.deilysetmessageid: <1314775290.24.0.839457745014.issue12867@psf.upfronthosting.co.za>
2011-08-31 07:21:29ned.deilylinkissue12867 messages
2011-08-31 07:21:29ned.deilycreate