Re: [Python-Dev] PEP 383 and GUI libraries

2009-05-02 Thread Zooko O'Whielacronx
[cross-posting to python-dev and tahoe-dev] On Fri, May 1, 2009 at 8:12 PM, James Y Knight wrote: > > If I were designing a new system such as this, I'd probably just go for > utf8b *always*. Ah, this would be a very tempting possibility -- abandon all unix users who are slow to embrace our utf-

Re: [Python-Dev] Oddity PEP 0 key

2009-05-02 Thread Ben Finney
Arfrever Frehtes Taifersar Arahesis writes: > 2009-05-02 07:34:15 Stephen J. Turnbull napisał(a): > > Barry Warsaw writes: > > > Maybe even s/Active/Proposed/g ? > > > > Shouldn't that be > > > > s/Active/Proposed/ > > No. > From `info sed 'sed Programs' 'The "s" Command'`: Stephen was,

Re: [Python-Dev] multi-with statement

2009-05-02 Thread R. David Murray
oN Sat, 2 May 2009 at 22:12, Georg Brandl wrote: I see; you want to construct your context manager programmatically and pass it to "with" without knowing what is in there. While this would be possible, we have to be aware that with this we would effectively change the context manager protocol, r

Re: [Python-Dev] multi-with statement

2009-05-02 Thread Georg Brandl
Fredrik Johansson schrieb: > On Sat, May 2, 2009 at 9:01 PM, Georg Brandl wrote: >> Hi, >> >> this is just a short notice that Mattias Brändström and I have finished a >> patch to implement the previously discussed and mostly warmly welcomed >> extension to with's syntax, allowing >> >> with A()

[Python-Dev] CVE-2008-5983 "untrusted python modules search path"

2009-05-02 Thread Antoine Pitrou
Hello, I don't think it has already posted to the list, apologies if it has. Some Linux tools and vendors have been hit by an alleged "security hole" where an embedded Python interpreter will prepend the current working directory to sys.path as soon as PySys_SetArgv() is called by the embedding

Re: [Python-Dev] multi-with statement

2009-05-02 Thread Alex Martelli
FWIW, I prefer Fredrik's wish too. Alex On Sat, May 2, 2009 at 12:26 PM, Fredrik Johansson < fredrik.johans...@gmail.com> wrote: > On Sat, May 2, 2009 at 9:01 PM, Georg Brandl wrote: > > Hi, > > > > this is just a short notice that Mattias Brändström and I have finished a > > patch to implement

Re: [Python-Dev] multi-with statement

2009-05-02 Thread Fredrik Johansson
On Sat, May 2, 2009 at 9:01 PM, Georg Brandl wrote: > Hi, > > this is just a short notice that Mattias Brändström and I have finished a > patch to implement the previously discussed and mostly warmly welcomed > extension to with's syntax, allowing > >   with A() as a, B() as b: > > to be written i

[Python-Dev] multi-with statement

2009-05-02 Thread Georg Brandl
Hi, this is just a short notice that Mattias Brändström and I have finished a patch to implement the previously discussed and mostly warmly welcomed extension to with's syntax, allowing with A() as a, B() as b: to be written instead of with A() as a: with B() as b: This syntax was

Re: [Python-Dev] yield from?

2009-05-02 Thread Benjamin Peterson
2009/5/1 Guido van Rossum : > Alas, I haven't been following it either recently. Too bad, really, > because before I left (now three weeks ago) it was already pretty > close. We could perhaps even check in Greg's patch (which I tried and > looked like a solid implementation of his proposal at the t

Re: [Python-Dev] Oddity PEP 0 key

2009-05-02 Thread Isaac Morland
On Sat, 2 May 2009, MRAB wrote: Alexander Belopolsky wrote: .. leaving just 'Rejected' and 'Replaced' to be disambiguated. 'X' or 'Z' for "Rejected"? Looks like a perfect start for a bikeshed discussion. :-) Are there Unicode codepoints for smilies? I'm thinking of :-) for 'Accepted' and

Re: [Python-Dev] Oddity PEP 0 key

2009-05-02 Thread Daniel Diniz
MRAB wrote: > Are there Unicode codepoints for smilies? I'm thinking of :-) for > 'Accepted' and :-( for 'Rejected'. :-) Yes there are, but we'd need to set the font size to 'humongous' to see the smilies: ☹ ☺. In py3k: print(chr(0x2639), chr(0x263a)) In trunk: print(unichr(0x2639), unichr(0x263a

Re: [Python-Dev] Oddity PEP 0 key

2009-05-02 Thread MRAB
Alexander Belopolsky wrote: .. leaving just 'Rejected' and 'Replaced' to be disambiguated. 'X' or 'Z' for "Rejected"? Looks like a perfect start for a bikeshed discussion. :-) Are there Unicode codepoints for smilies? I'm thinking of :-) for 'Accepted' and :-( for 'Rejected'. :-) __

[Python-Dev] FWD: svn down?

2009-05-02 Thread Aahz
- Forwarded message from "\"Martin v. L?wis\"" - > Date: Sat, 02 May 2009 08:18:56 +0200 > From: "\"Martin v. L?wis\"" > To: Aahz > CC: pydot...@python.org > Subject: Re: [Pydotorg] FWD: [Python-Dev] svn down? > >> Benjamin Peterson reports being unable to ssh to dinsdale > > I have r

Re: [Python-Dev] Oddity PEP 0 key

2009-05-02 Thread Arfrever Frehtes Taifersar Arahesis
2009-05-02 07:34:15 Stephen J. Turnbull napisał(a): > Barry Warsaw writes: > > On May 1, 2009, at 5:55 PM, Michael Foord wrote: > > > > > P for Proposal (to replace Active Proposal)? Every active PEP is a > > > proposal... > > > > +1 > > > > Maybe even s/Active/Proposed/g ? > > Should