This use of the word "wrong" requires that "wrong" be qualified. Python's "dir()" function produces the results it's meant to provide, and the behavior and reasons are commented in the source, but the author wanted a different outcome. That turns "wrong" from an absolute condition into an editorial comment.
There's a legacy issue here. If the Python maintainers were to respond by changing the behavior of dir(), that might break existing code, because what's being submitted is not a bug but a feature request for a different function with the same name.