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 francismb
Recipients francismb, rhettinger, steven.daprano
Date 2019-02-10.10:15:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
>> There may be better names for the flag.  "tie_goes_to_first_encountered" seemed a bit long though ;-)

Could it may be an alternative to set the mode tie case in a form like:

def mode(seq, *, case=CHOOSE_FIRST):
  [...]

(or TIE_CHOOSE_FIRST, ...) where CHOOSE_FIRST is an enum ?

Thanks!
History
Date User Action Args
2019-02-10 10:15:24francismbsetrecipients: + francismb, rhettinger, steven.daprano
2019-02-10 10:15:23francismbsetmessageid: <[email protected]>
2019-02-10 10:15:23francismblinkissue35892 messages
2019-02-10 10:15:23francismbcreate