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

Make pcsc-spy python3-ready #19

Closed
xmj opened this issue Apr 18, 2017 · 1 comment
Closed

Make pcsc-spy python3-ready #19

xmj opened this issue Apr 18, 2017 · 1 comment

Comments

@xmj
Copy link

xmj commented Apr 18, 2017

Using FreeBSD 12.0-CURRENT with Python3 as default python, I noticed that the amount of changes to pcsc-spy for adding python3 compatibility are quite trivial.

  1. Use parentheses around all print statements
  2. Queue becomes queue, so this would work:
try:
    from Queue import Queue
except ImportError:
    from queue import Queue

That's it really.

LudovicRousseau added a commit that referenced this issue Apr 20, 2017
On Python3 the Queue module is called queue.

The program now works with Python 2.7 and Python 3.4.

Thanks to Johannes Meixner for the bug report
"Make pcsc-spy python3-ready"
#19
@LudovicRousseau
Copy link
Owner

Fixed in 5948954

Thanks

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

No branches or pull requests

2 participants