[pypy-issue] [issue1138] in numpypy, strings fundamentally don't work

Fijal tracker at bugs.pypy.org
Sat Apr 28 10:10:00 CEST 2012

Fijal <fijall at gmail.com> added the comment:

The problem really is slightly deeper - numpy string shares string methods by 
having the same memory layout. We can't do that, but we can try to do something 
else, like reuse string methods. This requires refactoring of the string stuff, 
because it's a mess.

The reason why npp.array("foo") is an infinite loop is that s[0][0][0][0][0]... 
will always be iterable. Not sure what to do, we should probably "just" 
specialcase string and unicode

nosy: +fijal
status: unread -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list