Re: [Python-ideas] Optional parameters without default value

2017-03-10 Thread Todd
On Mar 10, 2017 02:42, "Terry Reedy" wrote: On 3/2/2017 3:03 AM, Serhiy Storchaka wrote: > Function implemented in Python can have optional parameters with default > value. It also can accept arbitrary number of positional and keyword > arguments if use var-positional or

Re: [Python-ideas] Exploiting type-homogeneity in list.sort() (again!)

2017-03-10 Thread Koos Zevenhoven
On Mon, Mar 6, 2017 at 4:45 AM, Steven D'Aprano wrote: > On Sun, Mar 05, 2017 at 07:19:43AM +, Elliot Gorokhovsky wrote: > >> You may remember seeing some messages on here about optimizing list.sort() >> by exploiting type-homogeneity: since comparing apples and oranges