Dan Sugalski <[EMAIL PROTECTED]> wrote:
We need the ability to layer PMCs. Nothing new, we need something of the sort for transparent read-only-ness and probably thread-safety
What about the current implementation [1]:
Leo, you're missing the point pretty badly here--the read-only bit was an example, though I really don't want to have to reimplement read-only checking in every PMC class that ever gets written.
What I want to try and deal with is layering vtables. Whether we use them for read-only things (which, FWIW, is *not* the same thing as constant-ness--constant PMCs are certainly read-only, but read-only PMCs aren't necessarily constant, since the read-only marker can be added and removed from a PMC at runtime if it's not a constant PMC)
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk