This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Keith.Brafford
Recipients Keith.Brafford, eric.smith, ezio.melotti, facundobatista, mark.dickinson, rhettinger, serge.stroobandt, skrah, tim.peters, ztane
Date 2016-08-12.21:15:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471036501.0.0.670210268349.issue26223@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-08-12 21:15:01Keith.Braffordsetrecipients: + Keith.Brafford, tim.peters, rhettinger, facundobatista, mark.dickinson, eric.smith, ezio.melotti, skrah, ztane, serge.stroobandt
2016-08-12 21:15:01Keith.Braffordsetmessageid: <1471036501.0.0.670210268349.issue26223@psf.upfronthosting.co.za>
2016-08-12 21:15:00Keith.Braffordlinkissue26223 messages
2016-08-12 21:15:00Keith.Braffordcreate