need design suggestions: local namespace problem

Jason R. Mastaler jason-dated-1002774146.2399ad at mastaler.com
Wed Oct 3 00:22:23 EDT 2001


John Roth <johnroth at ameritech.net> writes:

> Wrap the whole thing in a proxy class. Then  you just import the
> proper module, and away you go. If you want to add another
> mail program later, you just have to add an appropriate proxy
> with the same interface.

Can you give me an example of what you mean by a "proxy class"?
I'm not familiar with that terminology.




More information about the Python-list mailing list