Skip to content

Conversation

@ericsnowcurrently
Copy link

(see issue #20)

Locks need to be initialized before objects become available for mutation in Python. That means doing so in new(). A number of types current have tp_new set to PyType_GenericNew. Others have their own tp_new implementation. In both cases the respective locks must be initialized in whatever is set in tp_new.

Note on WIP: This PR will grow as more and more types are fixed.

@larryhastings
Copy link
Owner

I apologize for introducing conflicts into your merge request. But the whole platform abstraction was icky cubed.

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.

2 participants