Ousret / pyTeliumManager

Python library to manipulate Ingenico mobile payment device like iCT220 or iWL220 equipped with Telium Manager. RS232/USB.
http://pyteliummanager.readthedocs.io
MIT License
104 stars 20 forks source link

abc abstract method doesn't work with Cython compiled module #1

Closed Ousret closed 7 years ago

Ousret commented 7 years ago

Python 3.5.1 with Cython installed.

  File "telium/payment.py", line 111, in init telium.payment (telium/payment.c:9429)
  File "/usr/lib64/python3.5/abc.py", line 25, in abstractmethod
    funcobj.__isabstractmethod__ = True

AttributeError: attribute '__isabstractmethod__' of 'staticmethod' objects is not writable
Ousret commented 7 years ago

Fixed with commit 726a6228a179b793f26308188bdedb4517cf4300