On Fri, Sep 18, 2009 at 8:52 AM, René Dudfield <[email protected]> wrote:
> one more thing... > > there's also notes about porting to py3k here: > http://wiki.python.org/moin/cporting > and here: > http://wiki.python.org/moin/PortingExtensionModulesToPy3k > > Which are better than the python.org docs for cporting. That's > probably a pretty good page to store notes about porting as we go. > > > Thanks! Numpy defines a lot of extension python types, so that is what I got started on, using NPY_PY3K as the flag. Numpy also exports the numeric operations (don't ask) and I think that needs to be changed so it looks like a reqular c++ in c class with getters and setters, which will make things a bit easier with the major changes that happened there. IIRC, there is an include file that provides the old conversions between python numeric types and c types. Did you use that? We could give you commit privileges for this work, or we could work offline with git, i.e., you could use git svn and I would pull from you to make the commits. Chuck
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
