On Sun, 2004-09-05 at 00:32, Tim Peters wrote: > You'll rarely hear me say this <wink>, but fiddling classes at class > creation time is exactly what metaclasses are for. For example, > suppose you said a Template subclass could define a class variable > `idpat`, containing a regexp matching that subclass's idea of "an > identifier". Very cool idea, thanks Tim! I like that much more than forcing users to specify the entire pattern. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20040905/b6b0bbb3/attachment.pgp
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