[issue20009] Property should expose wrapped function.

2014-01-15 Thread Nick Coghlan
Nick Coghlan added the comment: __wrapped__ is specifically for the case where the outer function is a relatively straightforward wrapper around the inner one (i.e. those cases where it would be appropriate to use functools.wraps or Graham Dumpleton's more sophisticated wrapt module). More co

[issue20009] Property should expose wrapped function.

2013-12-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: > When using the @property decorator the wrapped functions > are not exposed for source introspection. > (At least I can't see how they are.) The underlying functions are already exposed as the "fget", "fset", and "fdel" attributes of property objects. He

[issue20009] Property should expose wrapped function.

2013-12-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, ncoghlan versions: -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue20009] Property should expose wrapped function.

2013-12-17 Thread steven Michalske
New submission from steven Michalske: When using the @property decorator the wrapped functions are not exposed for source introspection. (At least I can't see how they are.) The issue is then that Ipython "%psource" will show the source for the @property as opposed to the function that it wrap