mjschultz / py-radix

Python radix tree implementation for IPv4 and IPv6 prefix matching.
Other
121 stars 37 forks source link

Define PY_SSIZE_T_CLEAN, use ssize_t as the index type (PEP 353) #55

Open hroncok opened 3 years ago

hroncok commented 3 years ago

Fixes https://github.com/mjschultz/py-radix/issues/54

I am pretty sure this does not support Python 2.7, hence only draft. Unfortunately, I don't have the resources to contribute Python 2 compatible code.

sebix commented 3 years ago

Is Python 2 support really still needed? Its already EOL for a while

hroncok commented 3 years ago

Is Python 2 support really still needed? Its already EOL for a while

Well, I don't need it and that's why I didn't bother with it. However, this project still lists Python 2.7 and 3.3 as supported.