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/da39e06d18b6df2a07777eecb4493699

Here's an example using it:
https://gist.github.com/kbrafford/e0115e796890fcefb4f0c35248bd05f1

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26223>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to