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

Guido van Rossum guido at python.org
Fri Mar 9 23:35:29 CET 2007


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.

> By the way, I would like to work on either removing tuple parameters
> in 3.0

That would be great!

> or fixing the assertion failure currently in CVS.

Perhaps you should switch to SVN? :-)

More seriously, what assertion failure?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list