Open CodyKochmann opened 5 years ago
what about more subtle differences like list
or array
vs deque(N)
or dict
vs DefaultDict
?
The lack of the collections
library was on purpose. once the basic types are working well, a custom additional types interface will be added. This is because up until now, all type handling is very... Hand jam? Which is fine to a certain degree, but eventually needs to be automated so it can intelligently extend itself for the users the same way generators.Generator.add_method
can.
Ideally collections
will be a solid base test dataset to get that functionality working.
Let BT theorize what types would get through functions by comparing builtin structures with attribute interactions in the functions ast. The snippet below is a start to the mappings of attributes so they can be later crossed with ast tree analysis.