[Python-3000] Thoughts on new I/O library and bytecode (original) (raw)
Gareth McCaughan gareth.mccaughan at pobox.com
Sat Mar 3 23:58:53 CET 2007
- Previous message: [Python-3000] Thoughts on new I/O library and bytecode
- Next message: [Python-3000] Thoughts on new I/O library and bytecode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Saturday 03 March 2007 16:02, I wrote:
Here's an ugly, impure, but possibly practical answer: give each bytes object a single-bit flag meaning something like "mostly textual"; ... Obviously the flag wouldn't affect comparisons or hashing.
Josiah Carlson mailed me to point out that, duh, obviously the flag wouldn't affect hashing since bytes objects are mutable and therefore unhashable. :-)
-- g
- Previous message: [Python-3000] Thoughts on new I/O library and bytecode
- Next message: [Python-3000] Thoughts on new I/O library and bytecode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]