urlyy commented on issue #2160:
URL: https://github.com/apache/fury/issues/2160#issuecomment-2893641631
@chaokunyang I wan to use pyfury (not pyx, just py) to better debug, but got
error:
```
TypeError: NoneSerializer.__init__()
Cannot convert Fury to pyfury._serialization.Fury
```
I comment some code to not import pyx version.
```python
# try:
# from pyfury._serialization import ENABLE_FURY_CYTHON_SERIALIZATION
# except ImportError:
# ENABLE_FURY_CYTHON_SERIALIZATION = False
ENABLE_FURY_CYTHON_SERIALIZATION = False
```
and my test code is:
```
from pyfury import Fury, Language
from pyfury.meta.meta_share import CompatibleMode
def test_xlang_metashare():
fury = Fury(language=Language.XLANG, ref_tracking=True,
compatible_mode=CompatibleMode.COMPATIBLE)
binary = fury.serialize(-1.0)
```
Since using Cython pyx requires recompilation every time it's updated and
makes debugging difficult, I still want to start with a simple Python version
and then switch to Cython.
Can you teach me how to run a pure Python implementation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]