Skip to content

python 3.12 compilation fails on "except" syntax #1129

@nkadel

Description

@nkadel

Compilation of nose 1.3.7 on fails on python 3.12 due to changes in syntax of "except" statements. See: https://stackoverflow.com/questions/70648404/syntaxerror-multiple-exception-types-must-be-parenthesized

All statements with this syntax:

except  NameError, nameerror:

Need to be reset as:

except NameError(nameerror):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions