Skip to content
New issue

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

Deprecation warnings w/ cffi 1.8.3 #16

Open
OverlordQ opened this issue Oct 5, 2016 · 2 comments · May be fixed by #17
Open

Deprecation warnings w/ cffi 1.8.3 #16

OverlordQ opened this issue Oct 5, 2016 · 2 comments · May be fixed by #17

Comments

@OverlordQ
Copy link

/usr/local/lib/python2.7/dist-packages/secp256k1/__init__.py:228: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  self.ctx, res_compressed, outlen, self.public_key, compflag)
/usr/local/lib/python2.7/dist-packages/secp256k1/__init__.py:506: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  res = func(inst.ctx, key, scalar)
@OverlordQ
Copy link
Author

Sorry wrong traces, thought I installed right version. Corrected:

/usr/local/lib/python2.7/dist-packages/secp256k1-0.13.2-py2.7-linux-x86_64.egg/secp256k1/__init__.py:228: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  self.ctx, res_compressed, outlen, self.public_key, compflag)
/usr/local/lib/python2.7/dist-packages/secp256k1-0.13.2-py2.7-linux-x86_64.egg/secp256k1/__init__.py:506: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  res = func(inst.ctx, key, scalar)

@OverlordQ OverlordQ linked a pull request Oct 6, 2016 that will close this issue
@carlcrott
Copy link

/Users/carlcrott/.virtualenvs/btcdev/lib/python2.7/site-packages/secp256k1/__init__.py:228: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  self.ctx, res_compressed, outlen, self.public_key, compflag)
/Users/carlcrott/.virtualenvs/btcdev/lib/python2.7/site-packages/secp256k1/__init__.py:506: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  res = func(inst.ctx, key, scalar)

Just confirming I get the same error.

Will update when new pip module becomes available =]

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants