Марк Коренберг <[email protected]> added the comment:
Well, __class_ = list is my problem, but python's problem is that it uses
different approaches in C and python implementation.
P.S.
I don't want to subclass list, as I don't want things like this:
x = pseudo_list(iter(xrange(10))
x.append('test')
print len(x)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com