Skip to content
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

Add weakref support for pyjlwrap types #606

Merged
merged 1 commit into from
Nov 4, 2018

Commits on Oct 30, 2018

  1. Add weakref support for pyjlwrap types

    I have added [weak reference support][1] for `pyjlwrap` types, following the
    documentation for Python 3+. Adding weak reference support for Python 2.x seems
    much the same as in 3.x, however 3.x does not use Py_TPFLAGS_HAVE_WEAKREFS,
    which also does not seem necessary for 2.x. Simple testing suggests that this is
    working as expected.
    
    Closes JuliaPy#21, JuliaPy#158
    
    [1]: https://docs.python.org/3/extending/newtypes.html#weak-reference-support
    galenlynch committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    5a5d90c View commit details
    Browse the repository at this point in the history