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

Your test passes in 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 [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to