Matthew Barnett <[email protected]> added the comment: Re: msg107776.
If it looks like an integer (ie, can be converted to an integer by 'int') then it's positional, otherwise it's a key. An optimisation is to perform a quick check upfront to see whether it starts like an integer. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7951> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
