In article <4e35dc94.2090...@mrabarnett.plus.com>,
MRAB wrote:
> Someone over at StackOverflow has a problem with urlopen in Python 3.2.1:
>
>
> http://stackoverflow.com/questions/6892573/problem-with-urlopen/6892843#689284
> 3
>
> This is the code:
>
> from urllib.request import urlope
Someone over at StackOverflow has a problem with urlopen in Python 3.2.1:
http://stackoverflow.com/questions/6892573/problem-with-urlopen/6892843#6892843
This is the code:
from urllib.request import urlopen
f =
urlopen('http://online.wsj.com/mdc/public/page/2_3020-tips.html?mod=topnav
On Sun, 31 Jul 2011 17:17:00 +0100
Michael Foord wrote:
> > I found that [, timeout] bit odd too. But is not mentioning that as
> > timeout=None when it is timeout=socket._GLOBAL_DEFAULT_TIME
> > technically inaccurate?
> >
>
> It does mean that users will expect to be able to call with an expli
On 31 Jul 2011, at 02:26, Senthil Kumaran wrote:
> On Sat, Jul 30, 2011 at 11:11:08PM +0300, Ezio Melotti wrote:
>>> -.. class:: SMTP(host='', port=0, local_hostname=None[, timeout])
>>> +.. class:: SMTP(host='', port=0, local_hostname=None[, timeout],
>>> source_address=None)
>>
>> The "[, timeo
On Sun, 31 Jul 2011 18:26:42 +1000
Nick Coghlan wrote:
> On Sun, Jul 31, 2011 at 9:09 AM, nadeem.vawda
> wrote:
> > http://hg.python.org/cpython/rev/b76684d62a8d
> > changeset: 71645:b76684d62a8d
> > user: Nadeem Vawda
> > date: Sun Jul 31 01:09:04 2011 +0200
> > summary:
> > I
On Sat, 30 Jul 2011 23:47:36 -0700
Raymond Hettinger wrote:
> >
> > (Also, there must have been some reason to make "..." available everywhere
> > for Python 3.)
> >
>
> It's really nice for stub functions:
>
> def foo(x):
> ...
Using a docstring looks a lot less hackish (and it encourage
On Jul 31, 2011, at 06:55 AM, Barry Warsaw wrote:
>On Jul 31, 2011, at 06:26 PM, Nick Coghlan wrote:
>
>>That seems very questionable - the rationale for running the test
>>suite twice by default to ensure PYC generation is working correctly
>>still holds.
>
>Agreed. I'd at least like to have see
On Jul 31, 2011, at 06:26 PM, Nick Coghlan wrote:
>That seems very questionable - the rationale for running the test
>suite twice by default to ensure PYC generation is working correctly
>still holds.
Agreed. I'd at least like to have seen discussion on python-dev instead of
just in the tracker.
On Sun, Jul 31, 2011 at 10:26 AM, Nick Coghlan wrote:
> On Sun, Jul 31, 2011 at 9:09 AM, nadeem.vawda
> wrote:
>> - Remove duplicate test run in "make test" and "make testuniversal"
>
> That seems very questionable - the rationale for running the test
> suite twice by default to ensure PYC genera
On Sun, Jul 31, 2011 at 9:09 AM, nadeem.vawda
wrote:
> http://hg.python.org/cpython/rev/b76684d62a8d
> changeset: 71645:b76684d62a8d
> user: Nadeem Vawda
> date: Sun Jul 31 01:09:04 2011 +0200
> summary:
> Issue #11651: Improve Makefile test targets.
>
> - Use -j0 option by defau
On Sun, Jul 31, 2011 at 4:28 PM, Georg Brandl wrote:
> (Also, there must have been some reason to make "..." available everywhere
> for Python 3.)
Not really - it just let us ditch some special casing in the
compilation toolchain that *restricted* it to being used in subscripts
(i.e. we were look
11 matches
Mail list logo