[issue38349] Email example using imaginary library installation error.

Abhilash Raj report at bugs.python.org
Sat Oct 5 11:46:08 EDT 2019


Abhilash Raj <raj.abhilash1 at gmail.com> added the comment:

The function of this imaginary method is described below:

    # The magic_html_parser has to rewrite the href="cid:...." attributes to
    # point to the filenames in partfiles.  It also has to do a safety-sanitize
    # of the html.  It could be written using html.parser.

This implementation is going to be non-trivial (more than just a wrapper around html.parser) I think, and I would like to not make the example related to email even longer due to that implementation.

And I agree with Terry, the comment should make it pretty clear, there aren't any dependencies in the examples outside of standard library.

Any other synonym that we'd choose could end up being a package in pypi someday :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38349>
_______________________________________


More information about the Python-bugs-list mailing list