Skip to content
  • Remi Rampin's avatar
    Don't search primitive when getting attribute __* · 6acb9f94
    Remi Rampin authored
    Attributes `__file__`, `__path`, and `__origin` are accessed a lot by
    the pytypes code (through inspect.getsourcefile()). There is no need to
    loop through entry points looking for a matching primitive.
    6acb9f94