Distribution metadata for Python packages is commonly stored in an email-header format. Parsing such…
Distribution metadata for Python packages is commonly stored in an email-header format. Parsing such…: a task in repo2rlenv-swe-flow (Harbor dataset). 2.1 Input handling - Accept both str and bytes input. - Parse str input with email.parser.Parser and bytes input with email.parser.BytesParser …
The task
**2.1 Input handling** - Accept both `str` and `bytes` input. - Parse `str` input with `email.parser.Parser` and `bytes` input with `email.parser.BytesParser`, both using `email.policy.compat32`.
Part of FineEnvs/repo2rlenv-swe-flow.