[Numpy-discussion] typecasting of single values form an array: Bug or feature?

Konrad Hinsen hinsen at cnrs-orleans.fr
Fri Jul 20 08:28:35 EDT 2001


>  Feature, I think.

Right, but a relatively recent one. In the first NumPy releases, the
result was a scalar Integer object. There are good arguments for both
variants.

Konrad.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at 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
-------------------------------------------------------------------------------




More information about the NumPy-Discussion mailing list