Serhiy Storchaka added the comment:
compile() always required a string without null bytes. If it accepted a string
with null bytes in 2.7.10 (I don't see the confirmation on this in the source
code), it was a bug and is fixed.
--
nosy: +serhiy.storchaka
resolution: -> not a bug
stage:
New submission from 周伟阳:
"compile() expected string without null bytes"
I met this in python2.7.11, and python2.7.10 is fine.
ENV: DOCKER:2.7.11-alpine, pecan, ceph/pulpito
--
components: IO
messages: 264894
nosy: 周伟阳
priority: normal
severity: normal
status: open
title: compile() expect