Message316315
"yield" in comprehensions is deprecated in 3.7:
../issue6673.py:22: DeprecationWarning: 'yield' inside list comprehension
target.send([ (yield) for i in range(chunk_size) ])
and an error in 3.8:
File "../issue6673.py", line 22
target.send([ (yield) for i in range(chunk_size) ])
^
SyntaxError: 'yield' inside list comprehension |
|
Date |
User |
Action |
Args |
2018-05-09 08:40:47 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, terry.reedy, ncoghlan, scoder, docs@python, BreamoreBoy |
2018-05-09 08:40:47 | serhiy.storchaka | set | messageid: <1525855247.65.0.682650639539.issue6673@psf.upfronthosting.co.za> |
2018-05-09 08:40:47 | serhiy.storchaka | link | issue6673 messages |
2018-05-09 08:40:47 | serhiy.storchaka | create | |
|