Message309205
https://mail.python.org/pipermail/python-ideas/2017-December/048489.html
Guido is waiting for objection on this...
I have absolutly no idea why this decision was made.
These tests (ttps://github.com/python/cpython/blame/master/Lib/test/test_collections.py#L794):
non_col_iterables = [_test_gen(), iter(b''), iter(bytearray()),
(x for x in []), dict().values()]
for x in non_col_iterables:
self.assertNotIsInstance(x, Collection)
were written by Guido himself. |
|
Date |
User |
Action |
Args |
2017-12-29 23:08:41 | yahya-abou-imran | set | recipients:
+ yahya-abou-imran, r.david.murray |
2017-12-29 23:08:41 | yahya-abou-imran | set | messageid: <1514588921.82.0.213398074469.issue32449@psf.upfronthosting.co.za> |
2017-12-29 23:08:41 | yahya-abou-imran | link | issue32449 messages |
2017-12-29 23:08:41 | yahya-abou-imran | create | |
|