We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of current master, importing netfilterqueue fails:
ImportError: .../lib/python3.4/site-packages/netfilterqueue.cpython-34.so: undefined symbol: PyString_FromStringAndSize
Issue #9 reports the same problem, but it was closed some time ago, and since then Python 3 support was supposedly merge into master.
So it seems that the problem reappeared again.
The text was updated successfully, but these errors were encountered:
use elf.payload[:self.payload_len] for getting python string
dcc2008
Fixes oremanj#17
use self.payload[:self.payload_len] for getting python string
949f894
This is more Cythonic way, documented here http://cython.readthedocs.io/en/latest/src/tutorial/strings.html#passing-byte-strings It compiles to __Pyx_PyBytes_FromStringAndSize( __pyx_v_self->payload + 0, __pyx_v_self->payload_len - 0) Which is the Cython macro wrapper which handles both Python 2 and Python3. Fixes oremanj#17
No branches or pull requests
As of current master, importing netfilterqueue fails:
Issue #9 reports the same problem, but it was closed some time ago, and since then Python 3 support was supposedly merge into master.
So it seems that the problem reappeared again.
The text was updated successfully, but these errors were encountered: