Commit Graph
1 Commits
Author SHA1 Message Date
Theo Belaire 73ec67587c Replace str with bytes for imaplib append and ParseFlags (#8130)
Last Argument of APPEND
https://github.com/python/cpython/blob/main/Lib/imaplib.py#L1497
https://github.com/python/cpython/blob/main/Lib/imaplib.py#L413
You can see it's parsed with the bytes regex MapCLRF re.compile(br'\r\n|\r|\n')

https://github.com/python/cpython/blob/main/Lib/imaplib.py#L1497
You can see it's parsed with the bytes regex Flags
re.compile(br'.*FLAGS \((?P<flags>[^\)]*)\)')
2022-06-21 12:16:36 -07:00