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 Dickinsondicki...@gmail.com wrote: EuroPython 2011 Language Summit === [...] Unicode character classes is a particular need). [Subtopic: what needs to be done to get

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 Dickinsondicki...@gmail.com wrote: EuroPython 2011 Language Summit === [...] Unicode character classes

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Bill Janssen
Michael Foord fuzzy...@voidspace.org.uk 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

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Michael Foord
On 28/06/2011 18:08, Bill Janssen wrote: Michael Foordfuzzy...@voidspace.org.uk 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

Re: [Python-Dev] EuroPython Language Summit report

2011-06-28 Thread Bill Janssen
Michael Foord fuzzy...@voidspace.org.uk 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

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 Dickinsondicki...@gmail.com wrote: EuroPython 2011 Language Summit

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
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

Re: [Python-Dev] EuroPython Language Summit report

2011-06-25 Thread Nick Coghlan
On Sat, Jun 25, 2011 at 9:27 PM, Greg Ewing greg.ew...@canterbury.ac.nz 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.

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.)

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 p...@telecommunity.com 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

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 rdmur...@bitdance.com wrote: On Sat, 25 Jun 2011 11:31:42 -0400, P.J. Eby p...@telecommunity.com 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.  

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

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 on

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Nick Coghlan
On Fri, Jun 24, 2011 at 6:52 PM, Mark Dickinson dicki...@gmail.com 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

Re: [Python-Dev] EuroPython Language Summit report

2011-06-24 Thread Vinay Sajip
Mark Dickinson dickinsm at 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.

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 dicki...@gmail.com 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

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

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

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 that

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 rdmur...@bitdance.com 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