◐ Shell
clean mode source ↗

Add correct `__origname__` metadata for frozen modules by Copilot · Pull Request #6523 · RustPython/RustPython

  • Inspect current frozen module origname handling
  • Implement correct origname population for frozen modules
  • Add targeted tests for frozen module origname
  • Run targeted tests and verify results
  • Fix clippy warnings
Original prompt

This section details on the original issue you should resolve

<issue_title>Add proper origname to frozen module</issue_title>
<issue_description>## Feature

#4559 added __origname__ property but it doesn't contain actual origname.
</issue_description>

<agent_instructions>Correctly implement one. Reference for previous work: f53c686
</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.