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 nkobald, serhiy.storchaka
Date 2020-12-04.07:53:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607068407.9.0.52542072909.issue42563@roundup.psfhosted.org>
In-reply-to
Content
This is because the code of the main() function is roughly equivalent to

    result = next(iter)
    for item in iter:
        if item > result:
            result = item

It can be changed to use "result < item" instead of "item > result", but it can has subtle differences in behavior. I am not sure what is better.

If we change it, it can only be in 3.10, because of the risk of affecting user code.
History
Date User Action Args
2020-12-04 07:53:27serhiy.storchakasetrecipients: + serhiy.storchaka, nkobald
2020-12-04 07:53:27serhiy.storchakasetmessageid: <1607068407.9.0.52542072909.issue42563@roundup.psfhosted.org>
2020-12-04 07:53:27serhiy.storchakalinkissue42563 messages
2020-12-04 07:53:27serhiy.storchakacreate