#11019: Make BytesGenerator handle Message with None body.

Bug discovery and initial patch by Victor Stinner.
3 files changed