Skip to content

[hold] Use time.sleep instead of asyncio for py2 compat#1

Open
sloria wants to merge 1 commit into
masterfrom
py2compat
Open

[hold] Use time.sleep instead of asyncio for py2 compat#1
sloria wants to merge 1 commit into
masterfrom
py2compat

Conversation

@sloria

@sloria sloria commented May 22, 2016

Copy link
Copy Markdown
Collaborator

We are currently bound to Python 2 until scapy supports Python 3. This removed usage of asyncio from lights.py.

We are currently bound to Python 2 until scapy supports Python3
@sloria

sloria commented May 22, 2016

Copy link
Copy Markdown
Collaborator Author

As an alternative to this PR, there's a Py3-compatible fork of scapy: https://github.com/phaethon/scapy . Might be worth a shot.

@sloria

sloria commented May 22, 2016

Copy link
Copy Markdown
Collaborator Author

Ah, looks like pypcap is also py2-only..But there's a PR for Py3 support: pynetwork/pypcap#18

@sloria

sloria commented May 22, 2016

Copy link
Copy Markdown
Collaborator Author

Wait...it looks like we're not using pypcap anyway...

@sloria sloria changed the title Use time.sleep instead of asyncio for py2 compat [hold] Use time.sleep instead of asyncio for py2 compat May 22, 2016
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