[Numpy-tickets] [NumPy] #477: isscalar give strange results

NumPy numpy-tickets@scipy....
Sun Apr 1 15:41:35 CDT 2007


#477: isscalar give strange results
---------------------+------------------------------------------------------
 Reporter:  charris  |        Owner:  somebody
     Type:  defect   |       Status:  closed  
 Priority:  normal   |    Milestone:          
Component:  Other    |      Version:          
 Severity:  normal   |   Resolution:  invalid 
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by charris):

  * status:  new => closed
  * resolution:  => invalid

Old description:

> I am not sure if a string is a scalar type or not, or if it should be. Is
> it?
>
> {{{
> In [10]: isscalar('hello world')
> Out[10]: True
> }}}

New description:

 This seems to be expected behaviour.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/477#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list