====== 2024-W09 reading notes ====== ===== Python email parser issue ===== - Bug [[https://github.com/python/cpython/issues/86650|#86650]]: get_obs_local_part fails to handle empty local part - Two competing PRs to fix it: - [[https://github.com/python/cpython/pull/24669|#24669]]: gh-86650:get_obs_local_part() fails to handle empty local part (Feb. 2021) - [[https://github.com/python/cpython/pull/108133|#108133: gh-105802]]: email._header_value_parser: prevent IndexError in get_obs_local_part (Aug. 2023) - Not much is happening around this bug, which is a pity because Microsoft //really sends// messages with weird ''Message-Id'' headers like the one seen in the bug report.