Skip to content

Conversation

@ideasman42
Copy link
Contributor

PySequence_GetItem adds a reference count to the argument it returns. Use PySequence_Fast() to simplify access.

Type of change

  • Bug fix

PySequence_GetItem adds a reference count to the argument it returns.
Use PySequence_Fast() to simplify access.
Copy link
Contributor

@skef skef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tentatively approved

@skef
Copy link
Contributor

skef commented Oct 7, 2024

@iorsh any thoughts?

@iorsh
Copy link
Contributor

iorsh commented Oct 7, 2024

I'll review this and other stuff later today.

@iorsh
Copy link
Contributor

iorsh commented Oct 7, 2024

I'm not quite proficient in C-level Python reference counting. The change looks reasonable to me.

@skef
Copy link
Contributor

skef commented Oct 7, 2024

I'm just going to override the checks rather than try to get the mac build working.

@skef skef merged commit 3c403e8 into fontforge:master Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants