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

Using sys.exc_clear should raise a Py3K warning #46611

Closed
brettcannon opened this issue Mar 17, 2008 · 4 comments
Closed

Using sys.exc_clear should raise a Py3K warning #46611

brettcannon opened this issue Mar 17, 2008 · 4 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@brettcannon
Copy link
Member

BPO 2358
Nosy @brettcannon, @birkenfeld
Files
  • issue2358.diff: diff against r61467
  • 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 2008-03-21.20:12:00.471>
    created_at = <Date 2008-03-17.19:39:30.502>
    labels = ['interpreter-core']
    title = 'Using sys.exc_clear should raise a Py3K warning'
    updated_at = <Date 2008-03-21.20:12:00.310>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2008-03-21.20:12:00.310>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-03-21.20:12:00.471>
    closer = 'georg.brandl'
    components = ['Interpreter Core']
    creation = <Date 2008-03-17.19:39:30.502>
    creator = 'brett.cannon'
    dependencies = []
    files = ['9708']
    hgrepos = []
    issue_num = 2358
    keywords = ['patch', '26backport']
    message_count = 4.0
    messages = ['63733', '63804', '63811', '64269']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'georg.brandl', 'jeff.balogh']
    pr_nums = []
    priority = 'critical'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue2358'
    versions = ['Python 2.6']

    @brettcannon
    Copy link
    Member Author

    Using sys.exc_clear should raise a Py3K warning.

    @brettcannon brettcannon added release-blocker interpreter-core (Objects, Python, Grammar, and Parser dirs) and removed release-blocker labels Mar 17, 2008
    @jeffbalogh
    Copy link
    Mannequin

    jeffbalogh mannequin commented Mar 17, 2008

    Attaching a patch that raises the warning.

    Should the method documentation metion the deprecation as well?

    @jeffbalogh
    Copy link
    Mannequin

    jeffbalogh mannequin commented Mar 18, 2008

    Attaching a fixed patch that follows PEP-7 and updates Misc/NEWS.

    @birkenfeld
    Copy link
    Member

    Reformatted, added test case and committed in r61714.

    @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
    interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants