Message 234493 - Python tracker (original) (raw)

I've looked at BUILD_MAP(n). It seems to work and has speed improvements but:

This could be used by BUILD_MAP rather than falling back to BUILD_MAP_UNPACK.

Also, if we limit BUILD_MAP_MERGE to 255 dictionaries, this will also apply to the {**a, **b, **c, ...} syntax, although I really can't see it being a problem.