Skip to content

Windows + Asyncio + Python 3#48

Open
techtonik wants to merge 7 commits intoJahaja:masterfrom
techtonik:asyncio
Open

Windows + Asyncio + Python 3#48
techtonik wants to merge 7 commits intoJahaja:masterfrom
techtonik:asyncio

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