[Python-Dev] [Python-checkins] r84792 - in python/branches/py3k: Doc/library/reprlib.rst Lib/collections.py Lib/reprlib.py Lib/test/test_reprlib.py Misc/NEWS (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Mon Sep 13 23:50:34 CEST 2010
- Previous message: [Python-Dev] r84775 - peps/trunk/pep-3149.txt
- Next message: [Python-Dev] Rework nntlib?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Sep 14, 2010 at 7:36 AM, raymond.hettinger <python-checkins at python.org> wrote:
+ # Can't use functools.wraps() here because of bootstrap issues + wrapper.module = getattr(userfunction, 'module') + wrapper.doc = getattr(userfunction, 'doc') + wrapper.name = getattr(userfunction, 'name') + return wrapper
Perhaps add wrapped as well?
(I assume that, similar to _collections before it was made a builtin, the bootstrap issue is that _functools is an extension module rather than builtin, but reprlib is needed when building the extension modules?)
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] r84775 - peps/trunk/pep-3149.txt
- Next message: [Python-Dev] Rework nntlib?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]