2009/5/9 Greg Ewing <greg.ewing at canterbury.ac.nz>: > Are we solving an actual problem by changing the > behaviour here, or is it just a case of foolish > consistency? "No implementation detail is obscure enough." For example, Maciek Fijalkowski of PyPy told me that he cares about this because someone is bound to eventually rely on it, and PyPy will have to follow CPython. > > Seems to me that trying to pin down exactly what > constitutes a "special method" is a fool's errand, > especially if you want it to include __enter__ and > __exit__ but not __reduce__, etc. IMO, if it's a callable that begins with __ and ends with __, it's a special method. -- Regards, Benjamin
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