Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

2to3, 3to2: official status (was: 2.7 Release? 2.7 == last of the 2.x line?)

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


ben+python at benfinney

Nov 4, 2009, 2:23 PM

Post #1 of 7 (327 views)
Permalink
2to3, 3to2: official status (was: 2.7 Release? 2.7 == last of the 2.x line?)

"Martin v. Löwis" <martin [at] v> writes:

> Well, 3to2 would then be an option for you: use Python 3 as the source
> language.

I was under the impression that 2to3 was officially supported as part of
Python, but 3to2 was a third-party tool. What's the status of 3to2 now?
Is it an official part of Python?

--
\ “A free society is one where it is safe to be unpopular.” |
`\ —Adlai Ewing Stevenson |
_o__) |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


brett at python

Nov 4, 2009, 2:28 PM

Post #2 of 7 (308 views)
Permalink
Re: 2to3, 3to2: official status (was: 2.7 Release? 2.7 == last of the 2.x line?) [In reply to]

On Wed, Nov 4, 2009 at 14:23, Ben Finney <ben+python [at] benfinney> wrote:
> "Martin v. Löwis" <martin [at] v> writes:
>
>> Well, 3to2 would then be an option for you: use Python 3 as the source
>> language.
>
> I was under the impression that 2to3 was officially supported as part of
> Python, but 3to2 was a third-party tool. What's the status of 3to2 now?
> Is it an official part of Python?

Nope, third-party while it continues to mature.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 4, 2009, 2:41 PM

Post #3 of 7 (308 views)
Permalink
Re: 2to3, 3to2: official status [In reply to]

Ben Finney wrote:
> "Martin v. Löwis" <martin [at] v> writes:
>
>> Well, 3to2 would then be an option for you: use Python 3 as the source
>> language.
>
> I was under the impression that 2to3 was officially supported as part of
> Python, but 3to2 was a third-party tool. What's the status of 3to2 now?
> Is it an official part of Python?

No, the status is exactly as you describe it.

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ben+python at benfinney

Nov 4, 2009, 6:49 PM

Post #4 of 7 (303 views)
Permalink
Re: 2to3, 3to2: official status [In reply to]

"Martin v. Löwis" <martin [at] v> writes:

> Ben Finney wrote:
> > "Martin v. Löwis" <martin [at] v> writes:
> >
> >> Well, 3to2 would then be an option for you: use Python 3 as the
> >> source language.
> >
> > I was under the impression that 2to3 was officially supported as
> > part of Python, but 3to2 was a third-party tool. […] Is it an
> > official part of Python?
>
> No, the status is exactly as you describe it.

Okay. It's probably best for anyone with their Python developer hat on
(which, in this forum, is all the time for any Python developer) to make
the status of 3to2 clear when recommending it to people concerned about
future plans.

--
\ “Odious ideas are not entitled to hide from criticism behind |
`\ the human shield of their believers' feelings.” —Richard |
_o__) Stallman |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


collinw at gmail

Nov 4, 2009, 7:09 PM

Post #5 of 7 (304 views)
Permalink
Re: 2to3, 3to2: official status [In reply to]

Hi Ben,

On Wed, Nov 4, 2009 at 6:49 PM, Ben Finney <ben+python [at] benfinney> wrote:
> "Martin v. Lwis" <martin [at] v> writes:
>
>> Ben Finney wrote:
>> > "Martin v. Lwis" <martin [at] v> writes:
>> >
>> >> Well, 3to2 would then be an option for you: use Python 3 as the
>> >> source language.
>> >
>> > I was under the impression that 2to3 was officially supported as
>> > part of Python, but 3to2 was a third-party tool. [] Is it an
>> > official part of Python?
>>
>> No, the status is exactly as you describe it.
>
> Okay. It's probably best for anyone with their Python developer hat on
> (which, in this forum, is all the time for any Python developer) to make
> the status of 3to2 clear when recommending it to people concerned about
> future plans.

Are you implying that we shouldn't recommend 3to2 to people wanting to
develop in Py3k and back-translate to 2.x?

Thanks,
Collin Winter
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ben+python at benfinney

Nov 4, 2009, 7:20 PM

Post #6 of 7 (303 views)
Permalink
Re: 2to3, 3to2: official status [In reply to]

Collin Winter <collinw [at] gmail> writes:

> On Wed, Nov 4, 2009 at 6:49 PM, Ben Finney <ben+python [at] benfinney> wrote:
> > Okay. It's probably best for anyone with their Python developer hat
> > on (which, in this forum, is all the time for any Python developer)
> > to make the status of 3to2 clear when recommending it to people
> > concerned about future plans.
>
> Are you implying that we shouldn't recommend 3to2 to people wanting to
> develop in Py3k and back-translate to 2.x?

No, I'm implying that mentioning Python 3, 3to2, and 2to3 all together
in a discussion about how to migrate can easily give the false
impression that they're all equally supported by the Python developers.

That 3to2 is *not* supported officially is certainly something I'd want
to know if a Python core developer was recommending it to me to reassure
me about the migration path to Python 3, and I didn't get that
impression from the way it's been casually referenced in this
discussion.

--
\ “Never express yourself more clearly than you are able to |
`\ think.” —Niels Bohr |
_o__) |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ncoghlan at gmail

Nov 5, 2009, 4:10 AM

Post #7 of 7 (299 views)
Permalink
Re: 2to3, 3to2: official status [In reply to]

Ben Finney wrote:
> That 3to2 is *not* supported officially is certainly something I'd want
> to know if a Python core developer was recommending it to me to reassure
> me about the migration path to Python 3, and I didn't get that
> impression from the way it's been casually referenced in this
> discussion.

I would stick a "yet" in that sentence (i.e. "not supported officially
yet").

It's certainly an addition we should be considering for 3.2 if it is
sufficiently mature by then (and if not 3.2, then we can take another
look for 3.3).

Cheers,
Nick.

--
Nick Coghlan | ncoghlan [at] gmail | Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.