[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-31 Thread Chris Angelico
Chris Angelico added the comment: BTW, sorry for sounding a bit snippy in my comment. Jonathan, in future, rather than dropping someone an email, it'd be more normal to just ping the person on the issue itself. -- ___ Python tracker

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-31 Thread Emily Morehouse
Emily Morehouse added the comment: This issue was brought to my attention -- I'm helping build the PEP 572 implementation. I'll make sure the docs get updated (and Jonathan, I didn't actually know that assignment expressions were mentioned in the FAQ, so this was still helpful!) --

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-27 Thread Jonathan Fine
Jonathan Fine added the comment: I'm sorry. I apologise. I'm being a bit stupid. Everything is fine. Nothing to do. In case you care, here's the situation. Python 3.8 is in development, and not yet released. Somehow, I'd got it into my mind that it had already been released. So the PEP

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-27 Thread Jonathan Fine
Jonathan Fine added the comment: First, I'm delighted that the current docs are in fact correct regarding assignment expressions. (I should have said this earlier.) I'm happy to wait for the implementation to land. (And if you like, I'm willing to help with the documentation. I seem to have

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-27 Thread Chris Angelico
Chris Angelico added the comment: Yes, the PEP says version 3.8. Why is this a problem? Sit tight, let the implementation land. I don't understand why this needed me to get emailed saying that the PEP has the wrong version number in it. -- nosy: +Rosuav

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-27 Thread Jonathan Fine
Jonathan Fine added the comment: My mistake. But not mine only. According to https://www.python.org/dev/peps/pep-0572/ the PEP is Python-Version: 3.8 I took this to mean that it had been implemented in Python 3.8. Reading the PEP more closely, it also says Status: Accepted. According to

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-27 Thread Vadim Pushtaev
Vadim Pushtaev added the comment: Okay then. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-27 Thread Ammar Askar
Ammar Askar added the comment: This should be done as part of the doc changes for the full PEP 572 implementation, no point in independently doing it now when it hasn't even been implemented yet. -- nosy: +ammar2 resolution: -> postponed stage: -> resolved status: open -> closed

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-27 Thread Vadim Pushtaev
Vadim Pushtaev added the comment: This indeed doesn't make much sense now. I'll try to send a PR today. -- nosy: +Vadim Pushtaev ___ Python tracker ___

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-26 Thread Jonathan Fine
New submission from Jonathan Fine : 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 }