chopin
chopin
Is math.copysign() missing in Transcrypt? in Python3.9.18: ``` >>> import math >>> math.copysign(1, 434) 1.0 >>> math.copysign(1, -434) -1.0 ``` Transcrypted: ` Uncaught TypeError: math.copysign is not a function `
x.sort() modifies x, but sorted(x) doesn't modify the argument x in Python as following: ``` >>> l=[2,1,3] >>> sorted(l) [1, 2, 3] >>> l [2, 1, 3] ``` But, I...
Hi. I want to check whether a given callback is a specific method in a class. I found that comparing two methods failed. Following is the test code: ``` class...
Hi again. I encountered an error during minification when running Transcrypt without -n option. Following is the corresponding source line: ``` del handlers[id(xmlHttp)] ``` Following is the error message: ```...
Hi. I found that a method in the second base class was not called when there was another base class in front of the second one. It seems that the...
I found that Python boolean operator '|=' was translated to '|=' in Javascript. They look the same, but they are not the same. In Javascript, '|=' is a bitwise operator...
I am happy to use Transcrypt. It seems that the early developers were using Transcrypt for a small project with small number of source files. So, they had no problem...
Index error is thrown correctly in list[idx]. But, not in list.pop(idx). In Python, pop() also can have an index as an argument. Following is test code I tried: ``` def...
Thanks for sharing a great library for DRL trading. I am trying to find a way to do Crypto trading with DRL, but all my trials failed so far. Firstly,...
1. Where is 'processed_full' defined? ``` ----> 1 data_risk_indicator = processed_full[(processed_full.date=TRAIN_START_DATE)] 2 insample_risk_indicator = data_risk_indicator.drop_duplicates(subset=['date']) NameError: name 'processed_full' is not defined ``` 2. Where is the file 'agent_a2c.zip'? ``` ---->...