HF RL Explorer

imp.load source() breaks with hash-based .pyc files

imp.load source() breaks with hash-based .pyc files: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). imp.load source() breaks with hash-based .pyc files I'm maintaining some older code that still uses imp.load source() to pull in a Python file by path. It used to work fine…

The task

imp.load_source() breaks with hash-based .pyc files I'm maintaining some older code that still uses imp.load_source() to pull in a Python file by path. It used to work fine, but after switching to hash-based bytecode caches (PEP 552) on 3.7, it blows up during the load. Minimal…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.