Re: [Python-Dev] Python "2migr8"

2014-04-15 Thread Nick Coghlan
On 15 Apr 2014 18:56, "Steve Dower" wrote: > From Eric: > > This should be doable with an import hook. For that matter it would be pretty straight-forward to provide a script around the Python binary that installs the import hook. All this could be bundled up and distributed through the cheesesh

Re: [Python-Dev] Python "2migr8"

2014-04-15 Thread Barry Warsaw
On Apr 15, 2014, at 10:55 PM, Steve Dower wrote: >Really, I'd expect the name to be pretty boring - "Python Straddle", "Python >2 Strict" or "Python Migration Edition" (if anyone can live with Python ME >;-) ) We often call code that works in both Python 2 and 3 from a single source "bi-lingual".

Re: [Python-Dev] Python "2migr8"

2014-04-15 Thread Steve Dower
Apologies for the slow reply, I was travelling back from PyCon. >From Guido: > - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) I didn't really expect the name to stick, but Nick and I had such a good laugh that it would have been unfair not to share it :-) (though I laughed even more

Re: [Python-Dev] Python "2migr8"

2014-04-15 Thread Nick Coghlan
On 14 Apr 2014 17:17, "Donald Stufft" wrote: > > Now I will admit I personally have probably had a harder time than some others because of the nature of the things I was trying to work on, and lately it’s gotten better (although I think that’s partially because I’m more known now, and I think in g

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Stephen J. Turnbull
Guido van Rossum writes: > On Mon, Apr 14, 2014 at 4:02 PM, Donald Stufft wrote: >> As someone who *has* given back, I can certainly understand why >> someone would feel that way. It often times *does* feel like >> CPython doesn’t want contributions. Sure, but most of the time that feeling

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Alexander Belopolsky
On Mon, Apr 14, 2014 at 10:03 PM, Chris Angelico wrote: > > How about mirg2**3 (pronounced "migrate") ? > > > > ;-) > > > > Just read this, and laughed so loudly and suddenly that my brother's > cat jumped in fright. > > Spelled 2**3 and pronounced 8 makes perfect sense, same as spelling > "Mercu

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Ryan Gonzalez
On Mon, Apr 14, 2014 at 9:03 PM, Chris Angelico wrote: > On Tue, Apr 15, 2014 at 7:17 AM, Chris Barker > wrote: > > On Mon, Apr 14, 2014 at 1:26 PM, Guido van Rossum > wrote: > > > >> > >> >> - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) > > > > How about mirg2**3 (pronounced "mig

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Chris Angelico
On Tue, Apr 15, 2014 at 7:17 AM, Chris Barker wrote: > On Mon, Apr 14, 2014 at 1:26 PM, Guido van Rossum wrote: > >> >> >> - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) > > How about mirg2**3 (pronounced "migrate") ? > > ;-) > Just read this, and laughed so loudly and suddenly that

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Terry Reedy
On 4/14/2014 5:00 PM, Guido van Rossum wrote: On Mon, Apr 14, 2014 at 3:53 PM, Terry Reedy mailto:tjre...@udel.edu>> wrote: If the company is profitable, it could afford to fund a half- to full-time developer. By using the vague 'fund' I meant either hire themselves or donate to PSF

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Terry Reedy
On 4/14/2014 5:16 PM, Donald Stufft wrote: On Apr 14, 2014, at 4:39 PM, Guido van Rossum mailto:gu...@python.org>> wrote: On Mon, Apr 14, 2014 at 4:02 PM, Donald Stufft mailto:don...@stufft.io>> wrote: On Apr 14, 2014, at 3:53 PM, Terry Reedy mailto:tjre...@udel.edu>> wrote: > O

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Greg Ewing
Guido van Rossum wrote: Some quick thoughts: - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) Python Twee? Or maybe Python Tween, as in "between 2 and 3". -- Greg ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Eric Snow
On Mon, Apr 14, 2014 at 9:32 AM, Steve Dower wrote: [snip] > The two important components of Python 2migr8 would be the ability to disable > 2.7-only features, and to do so on a module-by-module basis. This should be doable with an import hook. For that matter it would be pretty straight-forwar

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Mark Lawrence
On 14/04/2014 22:17, Chris Barker wrote: On Mon, Apr 14, 2014 at 1:26 PM, Guido van Rossum mailto:gu...@python.org>> wrote: >> - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) How about mirg2**3 (pronounced "migrate") ? ;-) -Chris I agree with the grate part. Failing that

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Chris Barker
On Mon, Apr 14, 2014 at 1:26 PM, Guido van Rossum wrote: > >> - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) > How about mirg2**3 (pronounced "migrate") ? ;-) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-695

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Donald Stufft
On Apr 14, 2014, at 4:39 PM, Guido van Rossum wrote: > On Mon, Apr 14, 2014 at 4:02 PM, Donald Stufft wrote: > > On Apr 14, 2014, at 3:53 PM, Terry Reedy wrote: > > > On 4/14/2014 11:32 AM, Steve Dower wrote: > [...] > >> However unfair > >> and incorrect it may be, there is a perception in

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Guido van Rossum
On Mon, Apr 14, 2014 at 3:53 PM, Terry Reedy wrote: > On 4/14/2014 11:32 AM, Steve Dower wrote: > [...] > The main trigger was a conversation I had with two employees of a >> very large bank that has about 3000 Python users (not developers - >> mostly financial analysts) and 16 million lines of

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Guido van Rossum
On Mon, Apr 14, 2014 at 4:02 PM, Donald Stufft wrote: > > On Apr 14, 2014, at 3:53 PM, Terry Reedy wrote: > > > On 4/14/2014 11:32 AM, Steve Dower wrote: > [...] > >> However unfair > >> and incorrect it may be, there is a perception in some businesses > >> that open-source projects do not want

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Guido van Rossum
On Apr 14, 2014 2:42 PM, "Terry Reedy" wrote: > > On 4/14/2014 1:19 PM, Guido van Rossum wrote: >> >> Some quick thoughts: >> >> - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) >> >> - Are you sure this isn't better directed to python-ideas first? Most >> ideas have to prove their wort

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Donald Stufft
On Apr 14, 2014, at 3:53 PM, Terry Reedy wrote: > On 4/14/2014 11:32 AM, Steve Dower wrote: > >> To put it up front, I'm totally against "CPython 2.8" ever becoming a >> real thing. Anything that comes out should be seen as a migration >> path, not an upgrade path. I'll also admit I'm not heavi

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Terry Reedy
On 4/14/2014 11:32 AM, Steve Dower wrote: To put it up front, I'm totally against "CPython 2.8" ever becoming a real thing. Anything that comes out should be seen as a migration path, not an upgrade path. I'll also admit I'm not heavily invested in working on it myself, but I had a number of con

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Terry Reedy
On 4/14/2014 1:19 PM, Guido van Rossum wrote: Some quick thoughts: - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) - Are you sure this isn't better directed to python-ideas first? Most ideas have to prove their worth in that list before python-dev will give them the light of day. -

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Guido van Rossum
Some quick thoughts: - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) - Are you sure this isn't better directed to python-ideas first? Most ideas have to prove their worth in that list before python-dev will give them the light of day. - When it comes to purely syntactic issues (e.g.

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Chris Angelico
On Tue, Apr 15, 2014 at 1:32 AM, Steve Dower wrote: > My best idea so far would be to have a magic comment (to ensure 2.7 > compatibility better than a "from __future__ ...") near the top of the file > that marks that file as "must straddle 2.7 and 3.3". Adding this comment > causes (for exampl

[Python-Dev] Python "2migr8"

2014-04-14 Thread Steve Dower
Just in case there's anyone out there who isn't yet sick of discussing how to proceed with Python 2.7, I have some more inputs to contribute. To put it up front, I'm totally against "CPython 2.8" ever becoming a real thing. Anything that comes out should be seen as a migration path, not an upg