[Python-3000] Immutable bytes type and dbm modules

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 8 02:04:56 CEST 2007


Guido van Rossum wrote:

> On 8/7/07, Nick Coghlan <ncoghlan at gmail.com> wrote:
>
>>This would mean that the Unicode type would acquire all of the ambiquity
>>currently associated with the 8-bit str type
>
> Not necessarily, as this kind of use is typically very localized.
> Remember practicality beats purity.

Has anyone considered that, depending on the implementation,
a latin1-decoded unicode string could take 2-4 times as much
memory?

--
Greg


More information about the Python-3000 mailing list