This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Date 2004-09-27.11:23:21
SpamBayes Score
Marked as misclassified
Logged In: YES 

Although, now that I look at the relevant py-dev threads,
I'm not entirely sure what needs to be standardised.

Consider the following:
<type 'array.array'>
<type 'dict'>
< instance at 0xf6f8baac>
<unbound method foo.x>
<bound method foo.x of < instance at 0xf6f8bacc>>
<class ''>
< object at 0xf6f8baec>
<unbound method bar.x>
<bound method bar.x of < object at 0xf6f8bb0c>>
<function func at 0xf6f87294>

Which is the result of:
from array import array
class foo:
  def x(): pass
class bar(object):
  def x(): pass

def func(): pass

for obj in array, dict, foo, foo(), foo.x, foo().x, bar,
bar(), bar.x, bar().x, func:
    print obj

Date User Action Args
2008-01-20 09:56:38adminlinkissue868845 messages
2008-01-20 09:56:38admincreate