Skip to content

Promote difflib._mdiff() to public API #129922

@kesara

Description

@kesara

Feature or enhancement

Proposal:

Using _mdiff() method in difflib is useful to crate a custom HTML table different to what make_table() generates.
The _mdiff() method was last changed 9 years ago1. So the method seems to be stable.
Consider promoting this method to the public API.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

Footnotes

  1. https://github.com/python/cpython/blame/main/Lib/difflib.py#L1344

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions