braintree / braintree_python

Braintree Python library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
242 stars 115 forks source link

Deprecation warnings for encodestring and decodestring #92

Closed carlosfunk closed 6 years ago

carlosfunk commented 6 years ago

General information

Issue description

I've noticed some warnings when running some tests:

site-packages/braintree/webhook_notification_gateway.py:26: DeprecationWarning: decodestring() is a deprecated alias since Python 3.1, use decodebytes()
site-packages/braintree/webhook_testing_gateway.py:12: DeprecationWarning: encodestring() is a deprecated alias since 3.1, use encodebytes()
crookedneighbor commented 6 years ago

Sorry it's taken so long to respond.

Thanks for the report. We'll get this patched so the deprecation warnings don't appear.

jaypatel512 commented 6 years ago

The fix is released in 3.39.0. Please update to latest version. Thank you for pointing out the issue. 🥂