On Friday, March 2, 2012 6:49:39 PM UTC-5, Ethan Furman wrote:
> Jeff Beardsley wrote:
> > HISTORY:  
...
> 
> What you should be doing is:
> 
>    import decimal
>    from decimal import Decimal
> 
>    reload(decimal)
>    Decimal = decimal.Decimal   # (rebind 'Decimal' to the reloaded code)
> 
> ~Ethan~

Agree that's how the import should be done. On the other hand, removing 
gratuitous use of isinstance() is generally a Good Thing.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to