This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]