Keith Brafford added the comment:
Serge, I wrote this awhile back, before I learned you aren't supposed to
subclass built-in types. Is this the type of effect you're looking for?
https://gist.github.com/kbrafford/da39e06d18b6df2a0eecb4493699
Here's an example using it:
https
Keith Brafford keith.braff...@gmail.com added the comment:
Ok, let's zero in on how this should work. I'll start the concrete proposal
discussion in terms of how it would have worked with the old-style specifiers
(since I am more familiar with that method) and we can bring it up to Py3K