-
Notifications
You must be signed in to change notification settings - Fork 422
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
Initial commit of the async version #41
Conversation
Not fully working yet. Some features missing, not tested. A lot of things were changed, mainly the threads and generators were changed to coroutines, but the old interface was kept to be backwards compatible.
Code should now basically work both async and sync.
Currently only requires further testing. |
Changed fixture + repr fix in FileCapture.
+ psml reading fix according to tests
I don't think I had a problem with the version of subprocess I was using (Py3k+) - maybe try with subprocess32 on Py2.7? Also look at the |
Trollius already uses its own subprocess version. I'll check some other things out and otherwise will just use -Q as you suggested. I think that while the code may be difficult to understand for someone who hasn't done any async programming, it works out rather well while working both asyncly and syncly depending on the situation-- and still allow interactivity. |
Conflicts: src/pyshark/__init__.py src/pyshark/capture/capture.py src/pyshark/capture/file_capture.py src/pyshark/capture/live_capture.py
decryption support
Not fully working yet. Some features missing, not tested.
A lot of things were changed, mainly the threads and generators were
changed to coroutines, but the old interface was kept to be backwards
compatible.