Commit 701284a
Fix Cython 3 compilation: remove Python 2
In Python 3, `long` doesn't exist (unified with `int`). Cython 3
rejects `long` as a Python type identifier. Remove the `long: encode_long`
entry and route `int` to the untyped `encode_long` handler so
arbitrary-size Python integers are supported.
Co-authored-by: whtsky <876694+whtsky@users.noreply.github.com>long type from encode_func1 parent b4b4344 commit 701284a
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
| 150 | + | |
| 151 | + | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
| |||
0 commit comments