[EMAIL PROTECTED] wrote:
Facundo I need a timeout in urlopen, just to be able to make:
urllib2.urlopen(http://no.host.org;, timeout=2)
Facundo This is actually not possible, but I'll make it work.
Facundo I want to know, please, if this is useful in general, for me to
This is sort of a re-do of an earlier proposal which seems to have
gotten lost in the shuffle of the larger debate.
I propose to create a new type of scoping rule, which I will call
explicit lexical scoping, that will co-exist with the current
implicit scoping rule that exists in Python today.
Hi Brett,
Here are some comments on the description of the restricted execution
model that you posted.
When referring to the state of an interpreter, it is either trusted or
untrusted. A trusted interpreter has no restrictions imposed upon any
resource. An untrusted interpreter has at least
Neal Norwitz schrieb:
I'm glad to see Anthony ratcheting down. At this point, we need to be
fixing bugs and improving doc. Maybe Anthony and I should have a
contest to see who can revert the most changes. :-)
Neal (and/or Anthony),
I would like to ask about the possibility to add some
I've got a couple of changes ready to go for beta 2, but need a go ahead from
one of the release managers before committing either of them:
1. Finishing the __module_name__ workaround to allow relative imports from the
main module when using -m.
I'd really like to finish this, because
Talin wrote:
This is sort of a re-do of an earlier proposal which seems to have
gotten lost in the shuffle of the larger debate.
I propose to create a new type of scoping rule, which I will call
explicit lexical scoping, that will co-exist with the current
implicit scoping rule that exists
Borrowing from Perl, the keyword 'my' is used to declare an explicitly
scoped variable:
def f1():
my x = 1
def f2():
x = 2 # Does not create a new x
In the above example, the statement 'my x = 1' declares that the scope
of the variable 'x' is the outer
Please move this to the python-3000 list.
Also please explain what problem you are solving before proposing a solution.
I note that we are seeing quite a flurry of language change proposals.
I have to recommend restraint; I *don't* want to turn the entire
language upside down. That's not a
2006/7/3, Guido van Rossum [EMAIL PROTECTED]:
To fake things like this, socket.setdefaulttimeout() was added, though
I don't know if it actually works. Have you tried that?
This affect all the sockets. And I hit the problem when servicing
information with a web service (TCPServer), and I need
Thomas Heller wrote:
I would like to ask about the possibility to add some improvements to
ctypes
in Python 2.5, although the feature freeze is now in effect. Hopefully
former third-party libraries can have the freeze relaxed somewhat;-).
I intend to do these changes, the first is a small
On 7/4/06, Facundo Batista [EMAIL PROTECTED] wrote:
2006/7/3, Guido van Rossum [EMAIL PROTECTED]:
To fake things like this, socket.setdefaulttimeout() was added, though
I don't know if it actually works. Have you tried that?
This affect all the sockets.
So, assuming your app is
On 7/4/06, Talin [EMAIL PROTECTED] wrote:
Guido van Rossum wrote:
Also please explain what problem you are solving before proposing a
solution.
Actually, the problem I am trying to solve is the debate on the
mailing list. That is, I listen to what people are asking for, and what
On 7/4/06, Guido van Rossum [EMAIL PROTECTED] wrote:
From actual users of
the language I get more complaints about the breakneck speed of
Python's evolution than about the brokenness of the current language.
Guido,
I'm really interested in your perspective here. I assume you hear far
more
On Mon, Jun 26, 2006, Martin v. L?wis wrote:
Aahz wrote:
Has anyone else tried doing an admin install with compile .py files
checked? It's causing my install to blow up, but I'd prefer to assume
it's some weird Windows config/bug unless other people also have it, in
which case I'll file an
On 7/5/06, Phillip J. Eby [EMAIL PROTECTED] wrote:
At 12:18 AM 7/5/2006 +0200, Guido van Rossum wrote:
I don't see anything else that's attractive. The realistic options are:
1. do nothing
2. extend global's meaning
3. add outer keyword
Did you also consider and reject:
* Alternate
Aahz wrote:
Ah-ha! I haven't actually tested this directly, but I bet I know what's
going on: this isn't properly quoted and fails with TARGETDIR of
C:\Program Files\Python25 because of the space. I did test to see that
it works fine with C:\Python25
Shall I file a bug? Or do you want to
On Jul 4, 2006, at 11:21 PM, Neal Norwitz wrote:
Ronald, Bob,
I know Skip found and fixed his problem, however, is this problem
likely to affect other users? Is there anything we can do to help
alleviate/diagnose this problem?
I'll either enhance configure or roll back my change to
17 matches
Mail list logo