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

Py3 compatibility for plaintext Graphite reporter #23

Merged
merged 2 commits into from Aug 11, 2016

Conversation

misiek08
Copy link
Contributor

In Python 3 you need to send bytes instead string through sendall function. Check takes about 150ns and make this part of code compatible with new version of Python.

In Python 3 you need to send bytes instead string through sendall function. Check takes about 150ns and make this part of code compatible with new version of Python.
@cyberdelia cyberdelia merged commit 6b3ed59 into cyberdelia:master Aug 11, 2016
@cyberdelia
Copy link
Owner

Thanks :bowtie:

@misiek08
Copy link
Contributor Author

Same change should be made for every socket call, but I just needed this for my project :)

In free time I will change other calls too, test them so you can release new version with fixes.

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 this pull request may close these issues.

None yet

2 participants