Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mbdyn mbdyn
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DAER
  • mbdynmbdyn
  • Issues
  • #37

Closed
Open
Created Mar 16, 2020 by Andrea Zanoni@10260632Maintainer

Python interface compatibility updates

The Python interface, as it stands, is not compatible with Python3 and with the recent versions of the Numpy API.

I've committed, for the moment in the branch py3fixes, a small set of improvements:

  • numpy now gets detected correctly in both Python2 and Python3 environments (932e1a00);
  • calls to the deprecated PyArray_FromDimsAndData() have been replaces with calls to PyArray_SimpleNewFromData() (932e1a00)
  • other small compatibility fixes

If anyone can test and report, it will be greatly appreciated.

Cheers, Andrea

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking