www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Wed, 9 Feb 2005 17:44:26 +0000 (GMT) |
From: | Nick Burch <nick AT torchbox DOT com> |
X-X-Sender: | nick AT localhost DOT localdomain |
To: | cygwin AT cygwin DOT com |
Subject: | Bug in python's tempfile : returning wrong object type |
Message-ID: | <Pine.LNX.4.44.0502091740270.2277-100000@localhost.localdomain> |
MIME-Version: | 1.0 |
X-Spam-Score: | -105.9 (---------------------------------------------------) |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |