Thanks for the answer! I don't know if I'm missing something, but initializing arrays with dtype=object seems to fail. I'm using PyPy 2.5.1 on OS X 10.10 and Numpy from the PyPy's Numpy fork. I'm assuming the "master [MAIN BRANCH]" is the same as the "default branch".
Initializing the arrays fails like this: >>>> import numpy >>>> numpy.zeros(2, dtype=object) Traceback (most recent call last): File "<stdin>", line 1, in <module> NotImplementedError: cannot create dtype with type 'object' Numpy was installed like this: git clone https://bitbucket.org/pypy/numpy.git; cd numpy; pypy setup.py install > On 22 May 2015, at 02:22, Ronan Lamy <ronan.l...@gmail.com> wrote: > > Le 21/05/15 09:40, Antti Mäkinen a écrit : >> Is there any estimate on when NumPyPy will support datetime.date objects >> in arrays? > > Well, the object dtype is already supported in the default branch, so you can > put datetime.date objects in arrays. If you were thinking of the > np.datetime64 and np.timedelta64 dtypes, they aren't supported yet, and we're > not planning on adding them in the immediate future unless there's a > compelling use case. > > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev