Chris Jerdonek added the comment:

I agree it would be very likely to break working code.  Can you elaborate on 
your point about 'append' though?  I'm not sure I see it.

Aside from consistency, I'm wondering if there is ever a case where it would 
help to return None for positional arguments.  For example, unlike with 
optional arguments, it doesn't seem like it would ever make sense to 
distinguish between the option being present and the option being present with 
no values (which is why const is needed in the optional case).  In other words, 
there is no loss of information by returning [].

----------

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

Reply via email to