We need more vtables.
* INTVAL hash()
To properly support Python, we need:
- a hash PMC that isn't restricted to STRING* keys - low level hash code has AFAIK already all the necessary stuff, or mostly. I don't know, how much Python specific it really is, but Perl5's "hashing objects as strings" isn't really what we want AFAIK.
Anyway, every hashable PMC should have such a vtable slot to produce a unique and reproducable hash value according to the - well value - of that PMC. UT python SL.
* void finalize()
First (if your name's not Dan, or you haven't already ;) read Dan's recent blog entry (+ comments), then various threads with that keyword, including "timely destruction", which is finalization actually.
We should separate finalize() from the destroy() vtable.
Currently only closing PIOs and shutting down timer PMCs is concerned. but these are good examples of already existing code to investigate some of the implications, which are no fun - thanks Dan for the blog.
leo
http://sidhe.org/~dan/blog/