Message322430
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 | jfine2358 |
|---|---|
| Recipients | docs@python, jfine2358 |
| Date | 2018-07-26.14:19:36 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1532614776.63.0.56676864532.issue34237@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The title says it all. faq/design: PEP 572 adds assignment expressions https://docs.python.org/3.8/faq/design.html#why-can-t-i-use-an-assignment-in-an-expression [Can't use] this C idiom: while (line = readline(f)) { // do something with line } https://www.python.org/dev/peps/pep-0572/ while chunk := file.read(8192): process(chunk) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-07-26 14:19:36 | jfine2358 | set | recipients: + jfine2358, docs@python |
| 2018-07-26 14:19:36 | jfine2358 | set | messageid: <1532614776.63.0.56676864532.issue34237@psf.upfronthosting.co.za> |
| 2018-07-26 14:19:36 | jfine2358 | link | issue34237 messages |
| 2018-07-26 14:19:36 | jfine2358 | create | |