New submission from Robert Smart <robert.kenneth.sm...@gmail.com>: When a generator procedure ends with "yield from" it would be nice if this was handled efficiently (just replace the generator with the new source). Because it is natural to push things back into a generator with
def prependGen(hd,tl): yield hd yield from tl ---------- messages: 309407 nosy: Robert Smart priority: normal severity: normal status: open title: tail optimization for 'yield from' type: resource usage versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32486> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com