[Python-3000] generics [was: Discussions with no PEPs]

Collin Winter collinw at gmail.com
Mon Mar 12 22:24:06 CET 2007


On 3/12/07, Guido van Rossum <guido at python.org> wrote:
> On 3/12/07, Collin Winter <collinw at gmail.com> wrote:
> > On 3/12/07, Tony Lownds <tony at pagedna.com> wrote:
> > > Cool. Out of curiosity, what versions of Python should 2to3 need to
> > > run? I know that 2to3/refactor.py needs 2.3 < Python < 3.0. Guess which
> > > versions I have handy :)
> >
> > I use 2.5. 2.3 and 2.4 both fail the test suite, bailing out with
> > SyntaxErrors in various places.
>
> I think that if it becomes a requirement it shouldn't be too hard to
> make the refactoring tool work with older versions though, up to 2.2.
> but we should determine need first.

As of r54311, 2to3 now works with Python 2.4. I tried making it work
with Python 2.3, but it's going to require changes wrt. how 2to3
interacts with the logging module, and I don't know enough about
logging to know what needs to change.

> > > Also, since I believe sys.exc_info() is staying, fix_sysexcinfo
> > > should change...
> >
> > Right. It's already on my todo list.
>
> I must've missed that. What happened?

I thought the decision had been made (or at least, the consensus
reached) that sys.exc_info() would stick around in Python 3.

Collin Winter


More information about the Python-3000 mailing list