Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-03-21 Thread Curt Hagenlocher
nt: Monday, February 18, 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 CPyt

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-03-21 Thread Curt Hagenlocher
TED] 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, 2008 4:12 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > > > > Is it possible th

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-03-21 Thread Curt Hagenlocher
take a look 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

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Dino Viehland
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

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Curt Hagenlocher
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 explanat

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Curt Hagenlocher
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 debuggin

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Curt Hagenlocher
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 >> h

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Dino Viehland
etter, 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

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Michael Foord
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

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Curt Hagenlocher
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 > > Copyright (c) Microsoft Corporation. All rights reser

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Curt Hagenlocher
o: Discussion of IronPython > Subject: [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(' &g

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Michael Foord
g. Michael > -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 > > IronPyth

Re: [IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-18 Thread Dino Viehland
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

[IronPython] urllib.urlretrieve with IronPython 2a8

2008-02-17 Thread Michael Foord
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 S