hit9 / bitproto

The bit level data interchange format for serializing data structures (long term maintenance).
https://bitproto.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
127 stars 16 forks source link

Simple example fails Python 3.10.8 #44

Open kiwironnie opened 1 year ago

kiwironnie commented 1 year ago

The simple Pen example latest Ubuntu with Python 3.10.8 virtualenv (pen.py is main.py) fails as follows:

import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. ./pen.py: line 4: syntax error near unexpected token(' ./pen.py: line 4: `p = bp.Pen(color=bp.COLOR_RED, produced_at=1611515729966)'

Other test examples throw up a similar error. Would very much appreciate a fix. No doubt something simple. In any case thanks for all the great work.

kehrazy commented 1 year ago

bruv why are you pasting the `