[Numpy-discussion] function name as parameter
Robert Kern
robert.kern at gmail.com
Wed Oct 20 17:10:46 EDT 2010
On Wed, Oct 20, 2010 at 15:58, Johann Cohen-Tanugi <cohen at lpta.in2p3.fr> wrote:
> On 10/20/2010 10:35 PM, Nathaniel Smith wrote:
>> IMPORTANT USAGE NOTE: never do this :-)
>>
> What would you recommand? I do encounter situations where I need
> instantiation based on the name of the thing to instantiate, typically
> passed as an argument by the client code/user.....
Example?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list