On Jan 17, 2006, at 2:48 AM, Fredrik Lundh wrote: > Bob Ippolito wrote: > >> I want binary all the time when I'm dealing with bitflags and such. >> Of course, I'm trained to be able to read bits in hex format, but it >> would be nicer to see the flags as-is. Even worse when you have to >> deal with some kind of file format where fields are N bits long, >> where N is not a multiple of 8. > > so you want flags for bit order and fill order too, I assume ?
Not really, big endian covers almost everything I need.. and when it doesn't, then I can just flip and/or pad the string accordingly. -bob _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com