-
Notifications
You must be signed in to change notification settings - Fork 35
Maintenance release 3.1.5 #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- cmake 3.12 is minimum required. - Fixes to Python API. strncpy can not write to `const char*`. Instead initialize with value. - Build system fixes.
need to change them everywhere.
|
|
||
| vec[currIndex].name = strdup(name.c_str()); | ||
| vec[currIndex].doc = (char*) "Destination field"; | ||
| // Dilawar: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@subhacom The clang++ compiler did not compile. Because PyGetSetDef.name is a const char* therefore the function strncpy can't write to this field. Have a look at these changes. I don't think there is a possibility of memory leak.
See https://docs.python.org/3/c-api/structures.html#c.PyGetSetDef
|
@upibhalla @hrani Please review and merge it into the After this PR is resolved, I can move on to address BhallaLab/homebrew-moose#1 |
|
@upibhalla @hrani reminder. |
…ld is being updated. These needs to be ported to branch chamcham as well.
|
Thanks @upibhalla . Please also create a tag the current |
|
Released 3.1.5, https://pypi.org/project/pymoose/ |
World has moved on since moose 3.1.4 was released. This is a maintenance release.
python3is preferred over python2.Note for maintainers
v3.1.5. I can't do it since I am no longer on maintainer list for this repo.Once this PR is resolved, we can move on to fix BhallaLab/homebrew-moose#1