pypa / pyproject-metadata

PEP 621 metadata parsing
https://pep621.readthedocs.io
MIT License
37 stars 17 forks source link

refactor: prepare for EmailMessage #143

Closed henryiii closed 1 month ago

henryiii commented 1 month ago

This is the beginning part of #142, without the move to email.message.EmailMessage.

Moving consumed API to only what is provided by EmailMessage.

We can restore .headers or .body if anyone is using them with a deprecation warning instead, but I didn't see anything beyond bytes() and str() from light searching.