This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Bug in python's tempfile : returning wrong object type
- From: Nick Burch <nick at torchbox dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 9 Feb 2005 17:44:26 +0000 (GMT)
- Subject: Bug in python's tempfile : returning wrong object type
With cygwin distributed python (2.4, dec 4 2004), there's a bug in
tempfile.
import tempfile
fo = tempfile.TemporaryFile()
type(fo)
This should return <type 'file'>, but is currently returning
<type 'instance'>
This also seems broken on python 2.3.4
Thanks
Nick
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/