[SciPy-user] OpenOpt svn broken on Windows
Matthieu Brucher
matthieu.brucher at gmail.com
Thu Jul 17 02:31:44 EDT 2008
>> Try and get the type of ooMisc.__solverPaths__. It will always be
>> None. Why ? Because you import the variable None as __solverPaths__ in
>> rPS. Then you modify the reference, but not the underlying variable.
>>
> Do you want to inform me something is wrong with my code?
Yes...
> I have no needs to import ooMisc.__solverPaths__ each time. It is
> imported only once per Python session, no matter how many solvers were
> called, as well as it is redefined in rPS.py to dictionary just a single
> time per session.
What is the purpose of ooMisc.__solverPaths__ ? If it should be a
dictionary once scikits.openopt is imported, you have an error in your
program. If it is not, you have some junk code that can be deleted.
Matthieu
--
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
More information about the SciPy-User
mailing list