[Python-Dev] Making builtins more efficient
André Malo
nd at perlig.de
Thu Mar 9 19:17:48 CET 2006
More information about the Python-Dev mailing list
Thu Mar 9 19:17:48 CET 2006
- Previous message: [Python-Dev] Making builtins more efficient
- Next message: [Python-Dev] Making builtins more efficient
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Paul Moore wrote: > If it *is* possible, I'd say it's worth implementing at least a > warning sooner rather than later - the practice seems questionable at > best, and any progress towards outlawing it would help in work on > optimising builtins. </lurk> FWIW, this practice is very handy for unit tests. For example, I often shadow builtins like ``file`` for my tests with a mock placed from the outside into the global namespace. nd <lurk> -- "Das Verhalten von Gates hatte mir bewiesen, dass ich auf ihn und seine beiden Gefährten nicht zu zählen brauchte" -- Karl May, "Winnetou III" Im Westen was neues: <http://pub.perlig.de/books.html#apache2>
- Previous message: [Python-Dev] Making builtins more efficient
- Next message: [Python-Dev] Making builtins more efficient
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list