Skip to content

Exception from importlib when evaling hy code that uses require #2695

@KevinMGranger

Description

@KevinMGranger

Cloneable reproducer: https://gist.github.com/KevinMGranger/78544bd6cccfde2c9b60baf3424ea87c

Partial Cause

The same-module require check in hy.macros.require winds up with target_module (coming from derive_target_module) set to None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions