homepage

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
Recipients
Date 2004年09月27日.11:23:21
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1038590
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'>
__main__.foo
<__main__.foo instance at 0xf6f8baac>
<unbound method foo.x>
<bound method foo.x of <__main__.foo instance at 0xf6f8bacc>>
<class '__main__.bar'>
<__main__.bar object at 0xf6f8baec>
<unbound method bar.x>
<bound method bar.x of <__main__.bar 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
History
Date User Action Args
2008年01月20日 09:56:38adminlinkissue868845 messages
2008年01月20日 09:56:38admincreate

AltStyle によって変換されたページ (->オリジナル) /