Message316918
| Author | FHTMitchell |
|---|---|
| Recipients | FHTMitchell, serhiy.storchaka |
| Date | 2018-05-17.12:21:26 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1526559686.31.0.682650639539.issue33555@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Apologies if I wasn't clear. I understand that
def f():
yield 1
return
is valid python. What I'm saying, if you follow the link, is that
def f():
yield 1
return 2 # not the argument
should not be considered valid python according to PEP 255. This is implemented in python 2 but not in python 3. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-05-17 12:21:26 | FHTMitchell | set | recipients: + FHTMitchell, serhiy.storchaka |
| 2018-05-17 12:21:26 | FHTMitchell | set | messageid: <1526559686.31.0.682650639539.issue33555@psf.upfronthosting.co.za> |
| 2018-05-17 12:21:26 | FHTMitchell | link | issue33555 messages |
| 2018-05-17 12:21:26 | FHTMitchell | create | |