Skip to content

pickle and pickletools cli interface doesn't close input and output file. #85567

Description

@tirkarthi
BPO41395
Nosy@avassalotti, @serhiy-storchaka, @corona10, @tirkarthi, @amiremohamadi, @Foxyblue, @achhina
PRs
  • bpo-41395: Close file objects in pickle and pickletools #21676
  • bpo-41395: use context manager to close filetype objects #21702
  • gh-85567: Register a cleanup function to close files for FileType objects in argparse #32257
  • 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=Noneclosed_at=Nonecreated_at=<Date2020-07-25.14:12:10.580>labels= ['easy', 'type-bug', '3.8', '3.9', '3.10', 'library']
    title="pickle and pickletools cli interface doesn't close input and output file."updated_at=<Date2022-04-05.13:05:47.595>user='https://github.com/tirkarthi'

    bugs.python.org fields:

    activity=<Date2022-04-05.13:05:47.595>actor='achhina'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)']
    creation=<Date2020-07-25.14:12:10.580>creator='xtreak'dependencies= []
    files= []
    hgrepos= []
    issue_num=41395keywords= ['patch', 'easy']
    message_count=2.0messages= ['374269', '416776']
    nosy_count=8.0nosy_names= ['alexandre.vassalotti', 'python-dev', 'serhiy.storchaka', 'corona10', 'xtreak', 'Amir', 's.williams-wynn', 'achhina']
    pr_nums= ['21676', '21702', '32257']
    priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue41395'versions= ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Linked PRs

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeeasystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions