, 2008 4:19 PM
To: Discussion of IronPython
Subject: Re: [IronPython] urllib.urlretrieve with IronPython 2a8
On Feb 18, 2008 4:12 PM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
Is it possible that CPython's socket.close method won't actually close
the socket while there's still a makefile'd
at it tomorrow and respond back.
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Curt Hagenlocher
Sent: Monday, February 18, 2008 4:19 PM
To: Discussion of IronPython
Subject: Re: [IronPython] urllib.urlretrieve with IronPython 2a8
On Feb 18
Certainly sounds like a bug - did this work before alpha 8?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Sunday, February 17, 2008 6:27 AM
To: Discussion of IronPython
Subject: [IronPython] urllib.urlretrieve with IronPython 2a8
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Sunday, February 17, 2008 6:27 AM
To: Discussion of IronPython
Subject: [IronPython] urllib.urlretrieve with IronPython 2a8
IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
: [IronPython] urllib.urlretrieve with IronPython 2a8
IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
import urllib
urllib.urlretrieve('
http://python-twitter.googlecode.com/files/python-twitte
r-0.5.tar.gz', 'python
] urllib.urlretrieve with IronPython 2a8
IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
import urllib
urllib.urlretrieve('
http://python-twitter.googlecode.com/files/python-twitte
r-0.5.tar.gz', 'python
, but it's not good
enough yet.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Monday, February 18, 2008 3:11 PM
To: Discussion of IronPython
Subject: Re: [IronPython] urllib.urlretrieve with IronPython 2a8
On 18/02/2008, Curt Hagenlocher [EMAIL PROTECTED]mailto:[EMAIL
a bug - did this work before alpha 8?
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Sunday, February 17, 2008 6:27 AM
To: Discussion of IronPython
Subject: [IronPython] urllib.urlretrieve with IronPython 2a8
On Feb 18, 2008 3:11 PM, Michael Foord [EMAIL PROTECTED] wrote:
On 18/02/2008, Curt Hagenlocher [EMAIL PROTECTED] wrote:
I should amend this to say that I can *inconsistently* reproduce it. The URL
in the original sample always fails with that error, but
http://www.microsoft.com
has been
On Feb 18, 2008 3:34 PM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
Here's a simpler way to reproduce the problem:
import httplib
h = httplib.HTTP('www.google.com')
h.putrequest('GET', '/')
h.endheaders()
a, b, c = h.getreply()
fp = h.getfile()
fp.read(1024*8)
Turning debugging on at a
On Feb 18, 2008 4:12 PM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
Is it possible that CPython's socket.close method won't actually close
the socket while there's still a makefile'd file attacked to the
underlying OS socket? And that IronPython's will? Because that's the
only explanation I
To: Discussion of IronPython
Subject: Re: [IronPython] urllib.urlretrieve with IronPython 2a8
On Feb 18, 2008 4:12 PM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
Is it possible that CPython's socket.close method won't actually close
the socket while there's still a makefile'd file attacked to the
underlying
IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
import urllib
urllib.urlretrieve('http://python-twitter.googlecode.com/files/python-twitte
r-0.5.tar.gz', 'python-twitter.tar.gz')
Traceback (most recent call last):
File
13 matches
Mail list logo