Proposed PEP: Treating Builtins as Constants in the Standard
Daniel 'Dang' Griffith
noemail at noemail4u.com
Tue Apr 20 08:04:30 EDT 2004
On Mon, 19 Apr 2004 08:09:56 -0400, Peter Hansen <peter at engcorp.com>
wrote:
[snip]
...
>automated testing. The most easily demonstrated one is where
>the builtin open/file calls are replaced with a simulated ("mock")
>file system which applies to *all* modules, not just a single
>module under test. This functionality is critical to some people
>using Python with the Test-Driven Development approach to software.
Isn't this the use case for AOP you were looking for?
--dang
More information about the Python-list
mailing list