[Python-Dev] Re: [Python-checkins] python/dist/src/Lib types.py,1.26,1.27

Guido van Rossum guido@python.org
Thu, 23 May 2002 14:41:40 -0400


Specific tasks, by the way:

- Add a 'string' built-in type that's the common base class for str
  and unicode.

- Make buffer, xrange, and slice into new-stype types.

- Figure out which type names are commonly tested for that aren't yet
  built-ins, and propose a way to expose their names.

- The 'new' module may also become deprecated; its functions
  (instance, instancemethod, function, code, module, and classobj)
  should be implementable by calling the appropriate types (not all of
  these are their own factories yet, so that's another task).  Then
  for compatibility, a module "new.py" may be provided that implements
  the interfaces in a backward-compatible way.

--Guido van Rossum (home page: http://www.python.org/~guido/)