Author francismb
Recipients francismb, rhettinger, steven.daprano
Date 2019-02-10.10:15:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549793723.17.0.53910423482.issue35892@roundup.psfhosted.org>
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: <1549793723.17.0.53910423482.issue35892@roundup.psfhosted.org>
2019-02-10 10:15:23francismblinkissue35892 messages
2019-02-10 10:15:23francismbcreate