You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviour would be for the second call to match the third.
Coming from a python background, I wasn't aware of a distinction between Array and Float64Array, so this caught me off guard. For a workaround, I casted the Float64Array to an Array using [].slice.call(float_arr) before the list comprehension.
@nathanielatom commented on Sat Aug 26 2017
Firstly, I'd like to say thank you because PyScript is a wonderful package and has helped boost my productivity quite often.
Observed behaviour:
Expected behaviour would be for the second call to match the third.
Coming from a python background, I wasn't aware of a distinction between
Array
andFloat64Array
, so this caught me off guard. For a workaround, I casted theFloat64Array
to anArray
using[].slice.call(float_arr)
before the list comprehension.Python 3.6
Flexx 0.4.1
@almarklein commented on Tue Sep 05 2017
Thanks for reporting this. It is known behavior, at least by me :) but I can see how it can be unexpected. This is part of #332, I think.
@jburgy commented on Wed Feb 28 2018
FWIW, here's a slightly different broke-around:
The text was updated successfully, but these errors were encountered: