PEP 246 revision
boisgera
Sebastien.Boisgerault at gmail.com
Sun Mar 13 14:23:19 EST 2005
> >Have you read the BDFL's "Python Optional Typechecking Redux" ?
>
> Yes.
>
> >(http://www.artima.com/weblogs/viewpost.jsp?thread=89161)
> >It's usage of adapt assumes that "a class is a protocol", so I
> >guess that it does not work with the new version of PEP 246.
>
> Why not? There's nothing wrong with classes (or anything else) being
> protocols...? AFAIK, the current version of the PEP was specifically
> rewritten in order to fit the BDFL blog (as stated in the PEP).
>
> [snip]
>
> I don't quite see the conflict (between the blog and the PEP) here...
There is no conflict, I was wrong ! I guess that I should stop
drinking so much ;). Thanks for your help.
Regards,
S.B.
More information about the Python-list
mailing list