Bug in python's tempfile : returning wrong object type

Nick Burch nick@torchbox.com
Wed Feb 9 21:22:00 GMT 2005


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/



More information about the Cygwin mailing list