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

Errno checking replaced by concrete classes inherited from OSError #61851

Closed
atykhonov mannequin opened this issue Apr 7, 2013 · 5 comments
Closed

Errno checking replaced by concrete classes inherited from OSError #61851

atykhonov mannequin opened this issue Apr 7, 2013 · 5 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@atykhonov
Copy link
Mannequin

atykhonov mannequin commented Apr 7, 2013

BPO 17651
Nosy @birkenfeld, @vstinner, @asvetlov
Files
  • issue17651.diff
  • 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 2018-01-29.13:48:10.230>
    created_at = <Date 2013-04-07.13:42:24.896>
    labels = ['type-feature', 'library']
    title = 'Errno checking replaced by concrete classes inherited from OSError'
    updated_at = <Date 2018-01-29.13:48:10.230>
    user = 'https://bugs.python.org/atykhonov'

    bugs.python.org fields:

    activity = <Date 2018-01-29.13:48:10.230>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-29.13:48:10.230>
    closer = 'asvetlov'
    components = ['Library (Lib)']
    creation = <Date 2013-04-07.13:42:24.896>
    creator = 'atykhonov'
    dependencies = []
    files = ['29716']
    hgrepos = []
    issue_num = 17651
    keywords = ['patch']
    message_count = 5.0
    messages = ['186227', '186303', '186565', '186566', '311134']
    nosy_count = 4.0
    nosy_names = ['georg.brandl', 'vstinner', 'asvetlov', 'atykhonov']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17651'
    versions = ['Python 3.5']

    @atykhonov atykhonov mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Apr 7, 2013
    @birkenfeld
    Copy link
    Member

    Why not attach this to bpo-16705 directly?

    @asvetlov
    Copy link
    Contributor

    asvetlov commented Apr 8, 2013

    I've asked atykhonov for that because we have two sets:

    1. Can be done with current exception classes
    2. errno values doesn't have concrete OSError inherited exception and we have to make decision: add new exceptions or use errno check.

    This issue don't require external changes and can be closed quickly.

    @asvetlov
    Copy link
    Contributor

    Looks like the patch is out-of-date and tests doesn't pass.
    Would you push updated version?

    @atykhonov
    Copy link
    Mannequin Author

    atykhonov mannequin commented Apr 11, 2013

    Sure!

    @asvetlov
    Copy link
    Contributor

    The issue is outdated and mostly fixed.

    Feel free to open a new one if needed.

    @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
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants