Bug in python's tempfile : returning wrong object type

2005-02-09 Thread Nick Burch
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 , but is currently returning This also seems broken on python 2.3.4 Thanks Nick -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Bug Report: python os.popen seems to have recently been broken

2005-08-08 Thread Nick Burch
Hi All I think the os.popen function in python has recently been broken. You can see this with the following python code: import os fout = os.popen("echo hello") print fout.read() On a machine I haven't updated for a little while, I get the expected result of "hello". T

Re: Bug Report: python os.popen seems to have recently been broken

2005-08-08 Thread Nick Burch
On Mon, 8 Aug 2005, Dave Korn wrote: WJFFM: Sorry, I was probably being to terse in what I included. To confirm, on the newly updated machine, here's what I get: Python 2.4.1 (#1, May 27 2005, 18:02:40) [GCC 3.3.3 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "lice

RE: Bug Report: python os.popen seems to have recently been broken

2005-08-08 Thread Nick Burch
On Mon, 8 Aug 2005, Dave Korn wrote: Not Found: sh That'll be it. All system (...) calls are critically dependent on sh existing and being runnable! Re-run setup and select 'Reinstall' for bash, or manually run the postinstall script, or just "cp /bin/bash.exe /bin/sh.exe", then have another