segfault on type(obj)
, __class__
attribute missing #68
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
Refactoring & Cleanup
Tiny Feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 2 hours 30 minutes
Due Date
john
2 hours 30 minutes
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#68
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue time tracking - see my thread here https://discuss.python.org/t/instantiating-python-objects-from-c-segfault-on-type-obj-class-attribute-missing/50432
Pretty perplexing - it seems connected to type objects not being usable interchangeably with the interpreter's final versions. The fix is to import the completed module and fetch type objects from that rather than using the
mcrfpydef
namespace variables.solved by
a19781b56a
As a small bonus, it means the mcrfpydef namespace isn't necessary for C++ users of the Python types: just use
McRFPy_API::mcrf_module
as the resource for all access.