Cal Hays
Cal Hays
Hey, Just gave this a quick try. removing all options but "python.analysis.extraPaths" seems to be all thats needed for setting up with pylance. Setting "python.analysis.typeShedPaths" as in the generated config...
@v923z The main point of the PR will only affect `ndarray.__init__()`, following the numpy behaviour: ```python >>> import numpy as np >>> np.ndarray([1, 2, 3]) array([[[4.63760270e-310, 0.00000000e+000, 4.63760245e-310], [6.91622088e-310, 1.92343089e-313,...
@v923z that last commit has the basic functionality of passing `shape` in, and the tests have been corrected. Sorry for dragging my feet but work and social life has been...
Ah, looks like I didn't read the spec properly for #280 :sweat_smile: I'll try to get a fix out by tomorrow.
G'day - reviving this dead issue 🧟 > I wonder if it is possible to write a typescript like transpiler for micropython, so that an extra module ([~2000 lines](https://github.com/python/cpython/blob/master/Lib/typing.py)) isn't...
@v923z I don't think it's necessary. At least for my purposes, floats are the main usecase.
@v923z I'm not well aware, but [a quick stack-overflow search reveals](https://stackoverflow.com/a/34142617/1266662) matmul differs from dot in two important ways. 1. Multiplication by scalars is not allowed. 2. Stacks of matrices...
Hey, just passing by but you should be able to get around this error with a polyfill: https://www.npmjs.com/package/es6-symbol
G'day I've given this a go with both `micropy-cli` and running `create_stubs.py` through rshell, but no stubs for ulab are created. [`ulab` itself appears to be able to generate stubs...
> Did you add ulab as a module to generate? You will need to do this manually as there is no way in micropython to get a list of available...