[Python-3000] Thoughts on new I/O library and bytecode

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Feb 24 00:40:10 CET 2007


Blake Winton wrote:

> What would:
> b"""abc
> def"""
> translate into, exactly?
> [ 97, 98, 99, 10, 100, 101, 102 ]?
> [ 97, 98, 99, 13, 10, 100, 101, 102 ]?
> Platform-dependent?  (Ewwww!)

No, presumably it would always translate the newline
into "\n" regardless of platform, as with current strings.

--
Greg


More information about the Python-3000 mailing list