Skip to content

Promote difflib._mdiff() to public API #129922

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:

Linked PRs

Footnotes

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

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

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions