GitHub user esafak added a comment to the discussion: the pyfury demo code 
shown in the website doesn't work with pyfury :(

Your test passes in the the latest version on 3.13 without any segfault:
```
class SomeClass:
    f1: "SomeClass"
    f2: Dict[str, str]
    f3: Dict[str, str]

def test_something():
    fury = Fory(ref_tracking=True)
    fury.register_type(SomeClass)
    obj = SomeClass()
    obj.f2 = {"k1": "v1", "k2": "v2"}
    obj.f1, obj.f3 = obj, obj.f2
    data = fury.serialize(obj)
    assert data is not None
```
Do you still have a problem?

GitHub link: 
https://github.com/apache/fory/discussions/1719#discussioncomment-13713548

----
This is an automatically sent email for commits@fory.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@fory.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@fory.apache.org
For additional commands, e-mail: commits-h...@fory.apache.org

Reply via email to