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

Windows + Asyncio + Python 3 #48

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

techtonik
Copy link
Contributor

These changes allowed me to get psdash running on Windows + Asyncio (because there is no gevent binaries) + Python 3 (because Asyncio is for Python 3).

This assumes that data sent to Jinja2 is unicode or ascii.
Jinja2 uses unicode internally, so it makes sense to just
feed it unicode objects instead of 'utf-8' binary strings.
iteritems() is gone, and iter() returns view object
that can not be sorted - need to convert to list.
@techtonik
Copy link
Contributor Author

I admit this one is hacky, but maybe somebody will be interested to improve on this proof of concept. Network interfaces on Windows are not shown, because netifaces return GUIDs and psdash expects names. I didn't configure logs to see if they are rendered. Load Average required stub.

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.

1 participant