On Sep 11, 2017, at 19:16, Guido van Rossum <gu...@python.org> wrote:
> 
> Or we could just have two arguments, eq=<bool> and order=<bool>, and some 
> rule so that you only need to specify one or the other but not both. (E.g. 
> order=True implies eq=True.) That seems better than needing new constants 
> just for this flag.

You’d have to disallow the combination `order=True, eq=False` then, right?  Or 
would you ignore eq for any value of order=True?  Seems like a clumsier API 
than a single tri-value parameter.  Do the module constants bother you that 
much?

-Barry

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to