> >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. -- http://mail.python.org/mailman/listinfo/python-list