cocagne / pysrp

Python implementation of the Secure Remote Password protocol (SRP)
MIT License
113 stars 42 forks source link

SyntaxError: invalid syntax with python2.7 #33

Closed MeisterP closed 6 years ago

MeisterP commented 6 years ago

with python2.7:

byte-compiling /var/tmp/portage/dev-python/srp-1.0.10/image/_python2.7/usr/lib64/python2.7/site-packages/srp/_pysrp.py to _pysrp.pyc
  File "/usr/lib64/python2.7/site-packages/srp/_pysrp.py", line 176
    def H( hash_class, *args, width=None, **kwargs ):
                                  ^
SyntaxError: invalid syntax

with python3.5:

byte-compiling /var/tmp/portage/dev-python/srp-1.0.10/image/_python3.5/usr/lib64/python3.5/site-packages/srp/_pysrp.py to _pysrp.cpython-35.pyc
cocagne commented 6 years ago

Fixed in 1.0.11. Thanks for letting me know.