[Python-ideas] + operator on generators
Steven D'Aprano
steve at pearwood.info
Wed Jun 28 12:28:52 EDT 2017
On Wed, Jun 28, 2017 at 12:47:21PM +1000, Nick Coghlan wrote:
> While I haven't been following this thread closely, I'd like to note
> that arguing for a "chain()" builtin has the virtue that would just be
> arguing for the promotion of the existing itertools.chain function
> into the builtin namespace.
Yes, given the difficulties in choosing a operator, I'm leaning towards
this approach now: promote itertools.chain to a builtin, and re-visit
the operator suggestions in 3.8 or 3.9.
--
Steve
More information about the Python-ideas
mailing list