kokke / tiny-bignum-c

Small portable multiple-precision unsigned integer arithmetic in C
The Unlicense
424 stars 85 forks source link

Tests fail: TabError: inconsistent use of tabs and spaces in indentation #29

Open yurivict opened 3 years ago

yurivict commented 3 years ago
  File "./scripts/test_rand.py", line 123
    expected = int(math.sqrt(oper1));
                                    ^
TabError: inconsistent use of tabs and spaces in indentation
*** Error code 1

Python-3.8

kokke commented 2 years ago

Hi @yurivict and thanks for reporting! It seem the Python-code is not Python3 compatible. It works with 2.7, but should probably be ported to 3.x (2.x was sunset in 2020 AFAIK).

kokke commented 2 years ago

There are more than just this incompatibility I think - but it should be a fairly quick task to make the code python3-compatible.

I will give it a shot once I have the time, but if you (or anyone else) makes a PR with that, I'd be inclined to accept 😉 😃