[issue23764] Reference inspect.Signature.bind from functools.wraps documentation

2015-03-25 Thread productivememberofsociety666
productivememberofsociety666 added the comment: Sorry, did not mean to change the Components and Versions thingies... -- components: +Documentation -Library (Lib) versions: +Python 3.4 ___ Python tracker __

[issue23764] Reference inspect.Signature.bind from functools.wraps documentation

2015-03-25 Thread productivememberofsociety666
productivememberofsociety666 added the comment: Sounds good! I think the docs on functools.wraps already list precisely which data is updated, but maybe mentioning explicitly that it can not affect the argspec could indeed make it clearer. Either way, thank you for your help! -- compon

[issue23764] Reference inspect.Signature.bind from functools.wraps documentation

2015-03-25 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, unfortunately, on closer inspection, even partial itself ends up suffering from the same problem as the current inspect.wraps - validation ultimately happens at the point of calling the original wrapper function, so if you don't actually call it, you won't g