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 serhiy.storchaka
Recipients BreamoreBoy, docs@python, georg.brandl, ncoghlan, scoder, serhiy.storchaka, terry.reedy
Date 2018-05-09.08:40:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525855247.65.0.682650639539.issue6673@psf.upfronthosting.co.za>
In-reply-to
Content
"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
History
Date User Action Args
2018-05-09 08:40:47serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, terry.reedy, ncoghlan, scoder, docs@python, BreamoreBoy
2018-05-09 08:40:47serhiy.storchakasetmessageid: <1525855247.65.0.682650639539.issue6673@psf.upfronthosting.co.za>
2018-05-09 08:40:47serhiy.storchakalinkissue6673 messages
2018-05-09 08:40:47serhiy.storchakacreate