[Python-ideas] check interfaces, isducktype(X, A)
Gregory Salvan
apieum at gmail.com
Mon Dec 2 17:50:57 CET 2013
Yes it can be done in python.
It's actually in C, essentially because I wanted to learn python internal,
and as it's quite similar to isinstance and issubclass.
2013/12/2 Chris Angelico <rosuav at gmail.com>
> On Tue, Dec 3, 2013 at 3:33 AM, Gregory Salvan <apieum at gmail.com> wrote:
> > Ok for pypi. (I've never tried to make python C extension, I feel it's
> going
> > to be epic :)
>
> Is there any reason this can't be implemented in pure Python? It'd be
> a lot easier to figure things out that way. Maybe a C implementation
> could come later, but for a first cut, this ought to be possible in
> Python.
>
> ChrisA
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131202/1fc1cc81/attachment.html>
More information about the Python-ideas
mailing list