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

return-value of filecmp.dircmp.report_* #75153

Closed
picibucor mannequin opened this issue Jul 19, 2017 · 2 comments
Closed

return-value of filecmp.dircmp.report_* #75153

picibucor mannequin opened this issue Jul 19, 2017 · 2 comments
Labels
3.7 (EOL) end of life type-feature A feature request or enhancement

Comments

@picibucor
Copy link
Mannequin

picibucor mannequin commented Jul 19, 2017

BPO 30970
Nosy @bitdancer, @picibucor
PRs
  • return-value of filecmp.dircmp.report_* #2762
  • 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-07-19.14:16:04.816>
    created_at = <Date 2017-07-19.12:58:48.870>
    labels = ['type-feature', '3.7']
    title = 'return-value of filecmp.dircmp.report_*'
    updated_at = <Date 2017-07-19.14:16:04.814>
    user = 'https://github.com/picibucor'

    bugs.python.org fields:

    activity = <Date 2017-07-19.14:16:04.814>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-07-19.14:16:04.816>
    closer = 'r.david.murray'
    components = []
    creation = <Date 2017-07-19.12:58:48.870>
    creator = 'Mih\xc3\xa1ly Mirk'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30970
    keywords = []
    message_count = 2.0
    messages = ['298673', '298677']
    nosy_count = 2.0
    nosy_names = ['r.david.murray', 'Mih\xc3\xa1ly Mirk']
    pr_nums = ['2762']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30970'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    @picibucor
    Copy link
    Mannequin Author

    picibucor mannequin commented Jul 19, 2017

    The functions:
    filecmp.dircmp.report()
    filecmp.dircmp.report_partial_closure()
    filecmp.dircmp.report_full_closure()

    do not have return values

    @picibucor picibucor mannequin added 3.7 (EOL) end of life type-feature A feature request or enhancement labels Jul 19, 2017
    @bitdancer
    Copy link
    Member

    Thanks for wanting to improve Python. However, the purpose of those function is to *print* the result. They intentionally do not have return values.

    All of the values that you would have these functions return are accessible via attributes already.

    @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 type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant