R. David Murray <rdmur...@bitdance.com> added the comment:

OK.  So he is saying that when the spec says "an object of type str" he means 
'type(x) is str' as opposed to 'isinstance(x, str)'.  I would naively have 
expected the latter, as other people clearly do as well.  I didn't participate 
in any of the discussions that led to this decision, so I won't pursue it 
further, but it does break the expectation that many people have about how 
python programs work, so I expect we'll be seeing this bug report again 
sometime :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10935>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to