Fix testwheel to no longer inspect a module __dict__


The __all__ variable has been made lazy to compute it on-demand.
When using the variable normally like module.__all__ everything
is fine.

Direct access to a modules __dict__ circumvents every enhancement
made through __getattr__, because __getitem__ is directly used.

Change-Id: I3b930685098391ccff569003bd2b585eda8f5a26
Pick-to: master
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
commit9626b701cb83fc1df25f310984eb43ed4f52a604
parentce1bdfba391c385aa5213a81bbcd1d60e7ecbbf5
authorChristian Tismer <tismer@stackless.com>
committerFriedemann Kleint <Friedemann.Kleint@qt.io>
commit timeThu, 24 Oct 2024 12:45:50 +0000