[Python-ideas] Integrate some itertools into the Python syntax

Ethan Furman ethan at stoneleaf.us
Wed Mar 23 20:16:11 EDT 2016


On 03/23/2016 04:17 PM, Michel Desmoulin wrote:
> Le 24/03/2016 00:15, Chris Angelico a écrit :

>> Exactly. Once you have to RTFM, what's the difference between builtin
>> and stdlib?
>
> The import in every modules and in the shell.

You know, that's a good point!  It just has one problem: I use 
datetime.datetime and datetime.date a heck of a lot more than chain and 
chain.from_iterable; and os.getuid and os.setuid! and sys.argv, and 
collections.OrderedDict, and sys.version_info, and sys.modules, and most 
of the things in logging...

So all those things should be builtin first.  Then we can talk about chain.

Chaining-all-my-favorite-imports-ly yrs,

--
~Ethan~


More information about the Python-ideas mailing list