bigchaindb / bigchaindb/python-rapidjson-schema

Deallocation of schema

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

@lelit pointed out that the SchemaDocument is never deallocated, which may be neccesary for some use cases (not all). Implement a `tp_dealloc` method in the python object definition to take care of this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Python object definition that owns the SchemaDocument and read how its lifetime is managed. Implement the requested tp_dealloc method there, then verify that SchemaDocument is released when the Python object is deallocated.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.