Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Georg Brandl
On 28.06.2011 16:06, Victor Stinner wrote: > Le mardi 28 juin 2011 à 14:41 +0100, Michael Foord a écrit : >> On 24/06/2011 15:55, R. David Murray wrote: >> > On Fri, 24 Jun 2011 10:52:40 +0200, Mark Dickinson >> > wrote: >> >> EuroPython 2011 Language Summit >> >> ===

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Bill Janssen
Michael Foord wrote: > Thanks. Support for Unicode character classes was one of the > improvements needed in the re module reported from the language summit > - > so I wonder if the changes in regex are sufficient. I guess it depends on what you're asking -- what does "support for Unicode chara

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Michael Foord
On 28/06/2011 18:08, Bill Janssen wrote: Michael Foord wrote: The new regex library has some great improvements: http://bugs.python.org/issue2636 It also has users and committed maintainers, so I hope we can bring it into 3.3. It wasn't easy to tell from skimming the change notes that U

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Bill Janssen
Michael Foord wrote: > The new regex library has some great improvements: > > http://bugs.python.org/issue2636 > > It also has users and committed maintainers, so I hope we can bring it > into 3.3. It wasn't easy to tell from skimming the change notes that > Unicode character classes are am

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Victor Stinner
Le mardi 28 juin 2011 à 14:41 +0100, Michael Foord a écrit : > On 24/06/2011 15:55, R. David Murray wrote: > > On Fri, 24 Jun 2011 10:52:40 +0200, Mark Dickinson > > wrote: > >> EuroPython 2011 Language Summit > >> === > > [...] > >> Unicode character classes is a

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Michael Foord
On 24/06/2011 15:55, R. David Murray wrote: On Fri, 24 Jun 2011 10:52:40 +0200, Mark Dickinson wrote: EuroPython 2011 Language Summit === [...] Unicode character classes is a particular need). [Subtopic: what needs to be done to get the new regex module

Re: [Python-Dev] EuroPython Language Summit report

2011-06-26 Thread P.J. Eby
At 12:32 PM 6/25/2011 -0400, R. David Murray wrote: So your proposed code would allow me, when writing a generator in my code, do something that would allow me to yield up all the values from an arbitrary generator I'm calling, over which I have no control (ie: I can't modify its code)? With a

Re: [Python-Dev] EuroPython Language Summit report

2011-06-25 Thread Greg Ewing
P.J. Eby wrote: At 10:46 AM 6/25/2011 +1000, Nick Coghlan wrote: Indeed, PEP 380 is *really* hard to do properly without language support. No, it isn't. You add a decorator, a 'from_' class, and a 'return_' function, and there you go. (See my previous code sketches here in early PEP 380 d

Re: [Python-Dev] EuroPython Language Summit report

2011-06-25 Thread Guido van Rossum
On Sat, Jun 25, 2011 at 9:32 AM, R. David Murray wrote: > On Sat, 25 Jun 2011 11:31:42 -0400, "P.J. Eby" wrote: >> At 10:46 AM 6/25/2011 +1000, Nick Coghlan wrote: >> >Indeed, PEP 380 is *really* hard to do properly without language >> >support. >> >> No, it isn't.  You add a decorator, a 'from_'

Re: [Python-Dev] EuroPython Language Summit report

2011-06-25 Thread R. David Murray
On Sat, 25 Jun 2011 11:31:42 -0400, "P.J. Eby" wrote: > At 10:46 AM 6/25/2011 +1000, Nick Coghlan wrote: > >Indeed, PEP 380 is *really* hard to do properly without language > >support. > > No, it isn't. You add a decorator, a 'from_' class, and a 'return_' > function, and there you go. (See my

Re: [Python-Dev] EuroPython Language Summit report

2011-06-25 Thread P.J. Eby
At 10:46 AM 6/25/2011 +1000, Nick Coghlan wrote: Indeed, PEP 380 is *really* hard to do properly without language support. No, it isn't. You add a decorator, a 'from_' class, and a 'return_' function, and there you go. (See my previous code sketches here in early PEP 380 discussions.) Pyt

Re: [Python-Dev] EuroPython Language Summit report

2011-06-25 Thread Nick Coghlan
On Sat, Jun 25, 2011 at 9:27 PM, Greg Ewing wrote: > Nick Coghlan wrote: > >> Indeed, PEP 380 is *really* hard to do properly without language >> support. The language moratorium and lack of a Python 3 compatible >> patch > > Pardon? My original patch was for 3.1.2. My mistake. We must have chang

Re: [Python-Dev] EuroPython Language Summit report

2011-06-25 Thread Greg Ewing
Nick Coghlan wrote: Indeed, PEP 380 is *really* hard to do properly without language support. The language moratorium and lack of a Python 3 compatible patch Pardon? My original patch was for 3.1.2. -- Greg ___ Python-Dev mailing list Python-Dev@pyt

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Nick Coghlan
On Sat, Jun 25, 2011 at 12:55 AM, R. David Murray wrote: [quoting VM summit notes] >> PEP 0380: Syntax for delegating to a subgenerator. >> >> PEP 3150: Statement local namespaces. >> >> PEP 3152: Cofunctions. >> >> For all three of the above PEPs, there was some feeling that additional >> synta

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Victor Stinner
Le vendredi 24 juin 2011 à 16:30 -0400, Terry Reedy a écrit : > > I see two options to improve the situation. > > The third is to make utf-8 the default. I believe this *is* the proper > long term solution and both options are contrary to this. Oh yes, I also prefer this option, but I suspect th

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Glenn Linderman
On 6/24/2011 1:30 PM, Terry Reedy wrote: The third is to make utf-8 the default. I believe this *is* the proper long term solution and both options are contrary to this. +1 ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Terry Reedy
On 6/24/2011 7:18 AM, Victor Stinner wrote: Le vendredi 24 juin 2011 à 10:52 +0200, Mark Dickinson a écrit : One example: when opening a text file for reading and writing, the default encoding used depends on the platform and on various environment variables. ... oh, I agree. This cho

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread R. David Murray
On Fri, 24 Jun 2011 10:52:40 +0200, Mark Dickinson wrote: > EuroPython 2011 Language Summit > === [...] > Unicode character classes is a particular need). [Subtopic: what needs > to be done to get the new regex module into Python? Should it replace > the

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Vinay Sajip
Mark Dickinson gmail.com> writes: > virtualenv in Python 3.3? > - > > Apparently there was some discussion at the last PyCon about the possibility > of virtualenv going into Python 3.3. As far as I know there's currently no > open tracker item or PEP for this. Larry Has

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Nick Coghlan
On Fri, Jun 24, 2011 at 6:52 PM, Mark Dickinson wrote: > PEP 3118: (Not open, but ...)  Revising the buffer protocol.  The buffer >    protocol implementation is still buggy and incomplete.  (Mostly okay for 1d >    buffers, not even close for higher-dimensional work.) Issue 10181 is the place to

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Victor Stinner
Le vendredi 24 juin 2011 à 10:52 +0200, Mark Dickinson a écrit : > - [Armin Ronacher] Python 3's Unicode support still has some dark areas. What? Unicode support is perfect in Python 3! > One example: when opening a text file for reading and writing, the default > encoding used depends o

[Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Mark Dickinson
EuroPython 2011 Language Summit === Here's a brief report on the EuroPython 2011 Language Summit, held on Sunday 19 June, 2011 in Florence. It was a fairly small meeting, with a lot of informal and loosely-focused discussion and few conclusions reached. I've outlined