On 04/07/2013 20:50, Benjamin Peterson wrote: > 2013/7/4 Eric Snow <ericsnowcurrently at gmail.com>: >> >> You could always monkeypatch builtins.__build_class__ to add an attribute to >> every "unbound method" pointing to the class. > > I would not reccomend that. __build_class__ is very internal and it's > contract may change between versions. Right, not to mention the fact that there's no way a library can ensure it monkeypatches that before the users of the library have created any classes. cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4