email.mime.image.MIMEImage
's policy
argument doesn't take effect
#133311
Labels
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
I'm comparing the creation of two MIME parts, one using
MIMEImage
and one usingMIMEPart
, with the samepolicy
object, which asks formax_line_length=35
.the
MIMEImage
does not respect themax_line_length
when base64-encoding, but theMIMEPart
does:The output is:
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: