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

Collin Winter collinw at gmail.com
Fri Mar 9 23:59:30 CET 2007


On 3/9/07, Guido van Rossum <guido at python.org> wrote:
> On 3/9/07, Tony Lownds <tony at pagedna.com> wrote:
> >
> > On Mar 9, 2007, at 11:36 AM, Talin wrote:
> > > 2) Backport the argument annotations patch to the 2.X series and
> > > get it
> > > out to the public as quickly as possible. (According to the
> > > conversation
> > > I had with Guido, this should be relatively easy since the annotations
> > > patch was one of the first patches to diverge between 2.X and 3.0).
> >
> > Do you think that there will be support for this? Annotations seem
> > like a
> > big new feature for Python, more suited to Python 3.X.
> >
> > With tuple parameters removed, there would still be divergence in 2.X.
>
> But not much; we could drop the annotation feature for tuple
> parameters (since it won't survive in 3.0) and warn about tuple params
> if the -Wpy3k flag is given.

This sounds right to me.

Collin Winter


More information about the Python-3000 mailing list