This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Thomas Antony, martin.panter
Date 2017-04-05.02:01:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491357668.39.0.8833777643.issue29987@psf.upfronthosting.co.za>
In-reply-to
Content
Doesn't seem like a bug to me.

Even if there was special support for "partial" objects, that won't help with other ways of producing the same sort of thing.

test2 = functools.partial(test, a=10)

@functools.wraps(test)
def test2():
    return test(a=10)

Both ways produce a callable that returns a generator-iterator instance, but neither callables are really generator functions.
History
Date User Action Args
2017-04-05 02:01:08martin.pantersetrecipients: + martin.panter, Thomas Antony
2017-04-05 02:01:08martin.pantersetmessageid: <1491357668.39.0.8833777643.issue29987@psf.upfronthosting.co.za>
2017-04-05 02:01:08martin.panterlinkissue29987 messages
2017-04-05 02:01:07martin.pantercreate