| 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: | Thu, 10 Feb 2005 07:44:48 -0500 |
| From: | Jason Tishler <jason AT tishler DOT net> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Bug in python's tempfile : returning wrong object type |
| Message-ID: | <20050210124448.GC4084@tishler.net> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <Pine DOT LNX DOT 4 DOT 44 DOT 0502091740270 DOT 2277-100000 AT localhost DOT localdomain> <cuds03$5jo$1 AT sea DOT gmane DOT org> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <cuds03$5jo$1@sea.gmane.org> |
| User-Agent: | Mutt/1.4.1i |
| X-IsSubscribed: | yes |
On Wed, Feb 09, 2005 at 03:33:37PM -0500, Chris Herborth wrote:
> Nick Burch wrote:
> >With cygwin distributed python (2.4, dec 4 2004), there's a bug in
> >tempfile.
> >
> >[snip]
>
> This isn't a Cygwin problem or feature. The Windows-native Python 2.4
> (Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)]
> on win32) gives the same result.
>
> I suspect the tempfile module's docs are misleading... it you look at
> the code, the returned object is an instance of
> tempfile._TemporaryFileWrapper.
We also have the following:
$ python -V
Python 2.4
$ python /usr/lib/python2.4/test/regrtest.py test_tempfile
test_tempfile
1 test OK.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--
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 |