In Python, you can give the name of a class as an argument to map in order to create instances of that class:
map
class Point(object): def __init__(
I think your conclusion is correct: init isn't being treated as a conventional func. You might want to report this as a bug; I'm not sure if this is intended behavior or not.
init
BTW, a more concise way to achieve what you want is:
coords.map{ p => Point(x: p[0], y: p[1]) }