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 uppalanchupavankumar45@gmail.com
Recipients tim.peters, uppalanchupavankumar45@gmail.com
Date 2019-09-02.18:13:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAN8au1G3hu2GeQ9DL_D5k60xWdzVe9hKB5UDBf6Z0y8w25ixkg@mail.gmail.com>
In-reply-to <1567447087.09.0.159129472609.issue38012@roundup.psfhosted.org>
Content
Hello Karthikeyan,

Thank you very much for your valuable explanation.

Regards,
Pavan Uppalanchu

On Mon, Sep 2, 2019 at 11:28 PM Karthikeyan Singaravelan
<report@bugs.python.org> wrote:
>
>
> Karthikeyan Singaravelan <tir.karthi@gmail.com> added the comment:
>
> Here min uses the ASCII value of the letters for comparison. So for 'Infinity' 'I' (73) has the lowest value and for 'inFinity' 'F' (70) has the lowest value as seen below.
>
> >>> list(map(lambda c: (c, ord(c)), 'Infinity'))
> [('I', 73), ('n', 110), ('f', 102), ('i', 105), ('n', 110), ('i', 105), ('t', 116), ('y', 121)]
> >>> list(map(lambda c: (c, ord(c)), 'inFinity'))
> [('i', 105), ('n', 110), ('F', 70), ('i', 105), ('n', 110), ('i', 105), ('t', 116), ('y', 121)]
>
> ----------
> nosy: +xtreak
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue38012>
> _______________________________________
History
Date User Action Args
2019-09-02 18:13:03uppalanchupavankumar45@gmail.comsetrecipients: + uppalanchupavankumar45@gmail.com, tim.peters
2019-09-02 18:13:03uppalanchupavankumar45@gmail.comlinkissue38012 messages
2019-09-02 18:13:03uppalanchupavankumar45@gmail.comcreate