On 7/27/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 7/26/07, Jeffrey Yasskin <[EMAIL PROTECTED]> wrote: > > On 7/26/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > (Personally > > > I'd like to use strings for the keys since {'TEXT': 'stuff'} is a lot > > > clearer than {1413830740: 'stuff'} when encountered in a debugging > > > session.) > > > > Good argument. You now have a patch that uses str() instead of b2i(). > > Hmm... That only works as long as the bytes are ASCII. Is that a > problem for aepack? Or are all its 4CCs chosen from a well-known set > that's all-ASCII?
4CCs are not all ASCII, they're Mac OS Roman. This is why in some of the C header files the constants turned into integers. -bob _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com