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

Open functions in dbm submodule should support path-like objects #89296

Closed
DavidMertz mannequin opened this issue Sep 7, 2021 · 2 comments
Closed

Open functions in dbm submodule should support path-like objects #89296

DavidMertz mannequin opened this issue Sep 7, 2021 · 2 comments
Labels
3.11 only security fixes stdlib Python modules in the Lib dir tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@DavidMertz
Copy link
Mannequin

DavidMertz mannequin commented Sep 7, 2021

BPO 45133
Nosy @DavidMertz, @hakancelik96
PRs
  • bpo-40563: Support pathlike objects on dbm/shelve #20274
  • 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 2021-09-08.00:55:10.069>
    created_at = <Date 2021-09-07.19:26:31.026>
    labels = ['tests', 'type-feature', 'library', '3.11']
    title = 'Open functions in dbm submodule should support path-like objects'
    updated_at = <Date 2021-09-09.00:41:00.030>
    user = 'https://github.com/DavidMertz'

    bugs.python.org fields:

    activity = <Date 2021-09-09.00:41:00.030>
    actor = 'hakancelik'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-08.00:55:10.069>
    closer = 'ethan.furman'
    components = ['Library (Lib)', 'Tests']
    creation = <Date 2021-09-07.19:26:31.026>
    creator = 'DavidMertz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45133
    keywords = []
    message_count = 2.0
    messages = ['401334', '401337']
    nosy_count = 2.0
    nosy_names = ['DavidMertz', 'hakancelik']
    pr_nums = ['20274']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue45133'
    versions = ['Python 3.11']

    @DavidMertz
    Copy link
    Mannequin Author

    DavidMertz mannequin commented Sep 7, 2021

    Evan Greenup via Python-ideas

    Currently, in Python 3.9, dbm.open(), dbm.gnu.open() and dbm.ndbm.open() doesn't support path-like object, class defined in pathlib.

    It would be nice to add support with it.

    @DavidMertz DavidMertz mannequin added 3.11 only security fixes stdlib Python modules in the Lib dir tests Tests in the Lib/test dir type-feature A feature request or enhancement labels Sep 7, 2021
    @DavidMertz
    Copy link
    Mannequin Author

    DavidMertz mannequin commented Sep 7, 2021

    Oops... I missed prior closely related or identical issue at: https://bugs.python.org/issue40563

    @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.11 only security fixes stdlib Python modules in the Lib dir tests Tests in the Lib/test dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant