[Python-3000] Fix imghdr module for bytes

Joel Bender jjb5 at cornell.edu
Wed Aug 15 19:44:04 CEST 2007


Greg Ewing wrote:
> I'm wondering whether we want a "byte character literal"
> to go along with "byte string literals":
>> h[0] == c"P"
>> After all, if it makes sense to write an array of bytes
> as though they were ASCII characters, it must make sense
> to write a single byte that way as well.

Would you propose these to be mutable as well? Ugh. :-)
Joel


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /