Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

I think that is the biggest argument towards using a tuple: that just setting 
the priority is not enough (and also is decontextualized as different policies 
have different priorities). On the other hand one could say that the API is a 
low level API and therefore the user should be aware of such a problem. Also, 
using a tuple makes the API a bit asymmetric as Serhiy mention but I think this 
can compensate for the conceptual map the will be established (as in each 
priority is associated with a policy) if the tuple API is used.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue20104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to