On 7/2/2015 4:20 PM, Pierre Quentel wrote:
I agree that this is a blocking issue : as far as I know all Python
built-in functions return objects of a given type, regardless of its
arguments.
That is generally true. But classes always return instances of the class when called, and range is a class, not a function.
--
Terry Jan Reedy
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/