#139 reload() is not builtin in Python 3

Unstable (example)
closed-fixed
nobody
None
5
2015-08-24
2014-05-26
Artem
No

We get name 'reload' is not defined in Python 3. reload() is not in builtins anymore, it's a part of imp now. With this patch gencache.py tries to import imp.reload. If it fails, this means that reload() is in builtins (Python 2.5+).

1 Attachments

Discussion

  • Mark Hammond
    Mark Hammond
    2015-08-24

    • status: open --> closed-fixed
     
  • Mark Hammond
    Mark Hammond
    2015-08-24

    Thanks, and sorry for the delay. I pushed this fix as revision 835a071ad7bf