Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove global configuration variable Py_UseClassExceptionsFlag #76306

Closed
vstinner opened this issue Nov 24, 2017 · 2 comments
Closed

Remove global configuration variable Py_UseClassExceptionsFlag #76306

vstinner opened this issue Nov 24, 2017 · 2 comments
Labels
3.7 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@vstinner
Copy link
Member

BPO 32125
Nosy @vstinner
PRs
  • bpo-32125: Remove Py_UseClassExceptionsFlag flag #4544
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-11-24.21:37:21.751>
    created_at = <Date 2017-11-24.15:20:05.699>
    labels = ['interpreter-core', '3.7']
    title = 'Remove global configuration variable Py_UseClassExceptionsFlag'
    updated_at = <Date 2017-11-24.21:37:21.750>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-11-24.21:37:21.750>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-11-24.21:37:21.751>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2017-11-24.15:20:05.699>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32125
    keywords = ['patch']
    message_count = 2.0
    messages = ['306900', '306918']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['4544']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32125'
    versions = ['Python 3.7']

    @vstinner
    Copy link
    Member Author

    The Py_UseClassExceptionsFlag flag was added by the commit 035574d.

    The commit 757af0e started to use this flag:

    + /* if Python was started with -X, initialize the class exceptions */
    + if (Py_UseClassExceptionsFlag)
    + init_class_exc(dict);

    Later followed by commit 98b6246.

    The flag was finally deprecated in the commit 3ce0964 in 2000.

    All these changes are older than Python 2.0.

    In Python 2.7 and 3.6, the flag is not used at all.

    I think that it's time to remove it :-)

    @vstinner vstinner added 3.7 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Nov 24, 2017
    @vstinner
    Copy link
    Member Author

    New changeset da9c8c3 by Victor Stinner in branch 'master':
    bpo-32125: Remove Py_UseClassExceptionsFlag flag (bpo-4544)
    da9c8c3

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant