#ifdef like question.

Roman Yakovenko romany at actimize.com
Mon May 13 14:42:53 EDT 2002


Hi. I have 2 different implementation of the same class \ function.
I'd like to use implementation according to some future existence.
(For example generators). 
How can I choose between 2 implementations in run time( not in install time )?
 
 
Thanks. Roman
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20020513/2e18c026/attachment.html>


More information about the Python-list mailing list