dmeranda / demjson

Python module for JSON data encoding, including jsonlint. See the project Wiki here on Github. Also read the README at the bottom of this page, or the project homepage at
http://deron.meranda.us/python/demjson/
Other
302 stars 76 forks source link

syntax error #38

Closed Warter21 closed 3 years ago

Warter21 commented 3 years ago

Hi!

I tried to import demjson and I got this error. It is working fine with python3.7.

`Python 3.8.6 (default, Oct 11 2020, 14:34:16) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import demjson Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.8/dist-packages/demjson.py", line 645 class json_int( (1L).class ): # Have to specify base this way to satisfy 2to3 ^ SyntaxError: invalid syntax

`

OS: Debian Buster on arm with backport python3.8 package.

Please advise.

Thanks, Warter