Stefan van der Walt
Stefan van der Walt
I missed out on all the fun :) Why are we providing rectangle and square in the first place? Can't those trivially be created using ones? The others seem not...
(We may have to enforce size odd in most cases.)
> > So, can we use size, and always generate square selems? Non-square selems seem like odd constructs anyway. > > Non-square selems are necessary for lots of applications (e.g.,...
Any insights into how to address this issue?
@adnanmuttaleb Yes, we would like to work the higher level patterns for implementing parallelism before jumping in. Ray, dask, etc. are all suitable implementations of execution engines. The hope is...
NumPy side resolved by @dschult in https://github.com/numpy/numpy/pull/22045
In case anyone else was wondering, from https://devblogs.microsoft.com/python/idiomatic-python-eafp-versus-lbyl/: > EAFP: “it’s easier to ask for forgiveness than permission”. Quickly, EAFP means that you should just do what you expect to...
@NeilGirdhar I'm also getting up to speed with typing. Could you explain to me the following: > I made Graph a generic class of Node so that a user has...
For other following along, Generics are [documented by MyPy](https://mypy.readthedocs.io/en/stable/generics.html) (this is not a Python concept, for now). EDIT: No, this *does* seem to be a Python concept: https://docs.python.org/3.8/library/typing.html#typing.Generic
The way it is right now seems to be: ``` In [22]: class X: ...: ...: x = dict ...: ...: ...: ...: def __init__(self): ...: ...: self.y = self.x...