Open ghost opened 4 years ago
Hello, the first problem is caused due to random.random()
depending on the broken hashlib
module. This is a known issue and a corresponding fix has already been supplied to my fork of CPython, which is going to be used in the WIP rewrite of 3DS.py.
For the time.sleep
error, the issue is known as well, but I haven't found the time to look deeper into it yet. That's why I'm going to leave this issue open as some sort of progress tracker until a patch has been supplied to my Python fork.
I use this instead of time.sleep:
def sleep(seconds):
start = time.monotonic()
while(time.monotonic() < start + seconds):
pass
Here is the code that I put in main.py:
While this works in the normal Python interpreter on my PC, 3DS.py throws this error:![20200428_195406](https://user-images.githubusercontent.com/58488365/80556969-366fa500-898a-11ea-8dda-cfe50e324398.jpg)