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@gmail.com>
On Tue, Dec 3, 2013 at 3:33 AM, Gregory Salvan <apieum@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@python.org
https://mail.python.org/mailman/listinfo/python-ideas