[Python-ideas] __before__ and __after__ attributes for functions

Ethan Furman ethan at stoneleaf.us
Fri Jan 24 06:09:02 CET 2014


On 01/23/2014 08:09 PM, Suresh V. wrote:
>
> Also it would mean that the client code imports from this package.
> I would like client code to remain exactly as it is (continue to
> import from its original package) but the behavior is enhanced
>  once this package is imported on startup.

/Something/ has to adjust the pre and post conditions -- if not the client code, then what?


--
~Ethan~


More information about the Python-ideas mailing list