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

virtual_memory() on NetBSD #823

Closed
khanzf opened this issue May 23, 2016 · 2 comments
Closed

virtual_memory() on NetBSD #823

khanzf opened this issue May 23, 2016 · 2 comments
Labels

Comments

@khanzf
Copy link
Contributor

khanzf commented May 23, 2016

virtual_memory() opened the /proc/meminfo file as a binary. As such, each line was a binary, but lines 135 and 137 were checking against a string type. This caused str.startswith() to raise a TypeError and fail.

@giampaolo
Copy link
Owner

Please add something like "#XXX [NetBSD]: virtual_memory() raises TypeError on Python 3." in HISTORY.rst

@khanzf
Copy link
Contributor Author

khanzf commented Jun 4, 2016

This item was resolved with commit e98db38. Closing ticket.

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

No branches or pull requests

2 participants