Re: [Python-Dev] Adding concat function to itertools

2007-09-28 Thread Damien Miller
On Fri, 28 Sep 2007, Raymond Hettinger wrote: > > Interestingly, they seem to all have something to do with dictionary > > values() that are themselves iterable. > > I see. These are instances of a recurring general use case of > chain() as a one-level flattener. > > Will give consideration t

Re: [Python-Dev] Other SSL issues in the tracker have been marked

2007-08-28 Thread Damien Miller
On Sun, 26 Aug 2007, Bill Janssen wrote: > This must be the call to os.system in test_ssl.py:create_cert_files(). > It's very UNIX-y. Can any bi-platform folks suggest a good > alternative to > > os.system( > "openssl req -batch -new -x509 -days 10 -nodes -config %s " > "-key

Re: [Python-Dev] Rationale for NamedTemporaryFile?

2007-03-18 Thread Damien Miller
On Sun, 18 Mar 2007, Greg Ewing wrote: > I've just discovered the hard way that NamedTemporaryFile > automatically deletes the file when you close it. That > doesn't seem very useful to me, since surely the reason > you're using NamedTemporaryFile instead of TemporaryFile > is that you want to do