
Hello, Is there any reason why Numeric never became a "New" Python package with a __init__.py ? -Michel PS: I have been adding __init__.py to my installation for a long time now and it works just fine. For those who want to be able to import directly we could extend the python path in __init__ so that after an import Numeric all .so would be directly loadable -- -----------------------------------------------------------------------
>>>> AREA CODE CHANGE <<<<<<<<< we are now 858 !!!!!!!
Michel F. Sanner Ph.D. The Scripps Research Institute Assistant Professor Department of Molecular Biology 10550 North Torrey Pines Road Tel. (858) 784-2341 La Jolla, CA 92037 Fax. (858) 784-2860 sanner@scripps.edu http://www.scripps.edu/sanner -----------------------------------------------------------------------

Well, we talked about it some but didn't want to break existing code. To my recollection nobody has suggested the trick you suggest here. I think it would work, although there are cases where people import Precision in a given module but not Numeric (the numeric objects they deal with get returned by C or Fortran calls). Anybody see any real downside here? -----Original Message----- Is there any reason why Numeric never became a "New" Python package with a __init__.py ? -Michel PS: I have been adding __init__.py to my installation for a long time now and it works just fine. For those who want to be able to import directly we could extend the python path in __init__ so that after an import Numeric all .so would be directly loadable -- -----------------------------------------------------------------------
>>>> AREA CODE CHANGE <<<<<<<<< we are now 858 !!!!!!!
Michel F. Sanner Ph.D. The Scripps Research Institute Assistant Professor Department of Molecular Biology 10550 North Torrey Pines Road Tel. (858) 784-2341 La Jolla, CA 92037 Fax. (858) 784-2860 sanner@scripps.edu http://www.scripps.edu/sanner ----------------------------------------------------------------------- _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/numpy-discussion

At least not immediately. Importing Numeric involves almost no overhead when you use array-generating modules anyway (they need to import at least multiarray). I'll make this modification to my installation and see if I get any bad surprises. Konrad. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------

Well, we talked about it some but didn't want to break existing code. To my recollection nobody has suggested the trick you suggest here. I think it would work, although there are cases where people import Precision in a given module but not Numeric (the numeric objects they deal with get returned by C or Fortran calls). Anybody see any real downside here? -----Original Message----- Is there any reason why Numeric never became a "New" Python package with a __init__.py ? -Michel PS: I have been adding __init__.py to my installation for a long time now and it works just fine. For those who want to be able to import directly we could extend the python path in __init__ so that after an import Numeric all .so would be directly loadable -- -----------------------------------------------------------------------
>>>> AREA CODE CHANGE <<<<<<<<< we are now 858 !!!!!!!
Michel F. Sanner Ph.D. The Scripps Research Institute Assistant Professor Department of Molecular Biology 10550 North Torrey Pines Road Tel. (858) 784-2341 La Jolla, CA 92037 Fax. (858) 784-2860 sanner@scripps.edu http://www.scripps.edu/sanner ----------------------------------------------------------------------- _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/numpy-discussion

At least not immediately. Importing Numeric involves almost no overhead when you use array-generating modules anyway (they need to import at least multiarray). I'll make this modification to my installation and see if I get any bad surprises. Konrad. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------
participants (3)
-
Konrad Hinsen
-
Michel Sanner
-
Paul F. Dubois