Skip to content

Keep alive policy not set up #91

@kyamagu

Description

@kyamagu

Describe the bug
Some iterators and enter-exit context manager does not implement keep alive policy to bindings.
https://pybind11.readthedocs.io/en/stable/advanced/functions.html?highlight=keep_alive#keep-alive

To Reproduce
See Path.Iter implementation for example.

Expected behavior
There should be py::keep_alive<0, 1>() policy.

Desktop (please complete the following information):

  • OS: macOS 10.15.5
  • Architecture x86_64
  • Python 3.7
  • skia-python version v0.0.5

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions