Skip to content

Raised exception in the __del__ Picobase method #180

@elechapt

Description

@elechapt

The Picoscope object raise an exception if it can't be opened (which is fine), but if catched, another one is raised straight after at the garbage collector deletion, from _lowLevelCloseUnit in the Picobase.close() method, and generate an Exception ignored message, which is annoying when printing other informative messages about an emulated one taking over. Can the OSError be catched in the close() method ?
That's not much of a big issue, but just wanted to mention it.

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