[pypy-dev] __builtin__ module

Nathan Heagy nathanh at zu.com
Fri Jan 24 17:34:20 CET 2003


> chr(i) vs. '%c'%i vs. '\x00\x01...\xFF'[i]:

Isn't part of this decision is whether the string type will itself be 
written in Python? If so then the chr(i) functionality will be a method 
of the String class, and even if String class is written in C chr() 
could probably still be a class method. Perhaps minimalPython does need 
a char type so that strings can be written in python and not C?
--
Nathan Heagy
phone:306.653.4747
fax:306.653.4774
http://www.zu.com



More information about the Pypy-dev mailing list