Skip to content

Cannot catch ImportError #244

@kj7rrv

Description

@kj7rrv

I'm trying to make a Python program that works in both CPython and RapydScript. The code itself works in both, but it currently needs shlex. If I could catch ImportError, I would just wrap "import shlex" in a try-catch and use a custom shlex.split() if that failed, but "try: ... except ImportError: ..." appears to have no effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions