On 6/24/2010 2:29 AM, John Nagle wrote:
Does the "types" module go away in 3.x, then?
No, but all the duplication (IntType is int, etc) is removed.
>>> dir(types)
['BuiltinFunctionType', 'BuiltinMethodType', 'CodeType', 'FrameType',
'FunctionType', 'GeneratorType', 'GetSetDescriptorType', 'LambdaType',
'MemberDescriptorType', 'MethodType', 'ModuleType', 'TracebackType',
'__builtins__', '__doc__', '__file__', '__name__', '__package__']
--
Terry Jan Reedy
--
http://mail.python.org/mailman/listinfo/python-list