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 mnewman
Recipients mnewman
Date 2010-02-14.23:01:47
SpamBayes Score 8.5542684e-13
Marked as misclassified No
Message-id <1266188569.95.0.344878906132.issue7930@psf.upfronthosting.co.za>
In-reply-to
Content
I found that pydoc.stripid doesn't strip the ID in Python 2.5, 2.6, and 3.1. I assume the problem is probably present in 2.7 and 3.2/dev.

For a little history, see this older issue back for Python 2.3:
http://bugs.python.org/issue934282

The following example show "pydoc.stripid" works for Python 2.3 and 2.4, but then fails for versions after that.

Python 2.3.5 (#62, Feb  8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydoc
>>> pydoc.stripid
<function stripid at 0x00AC0BB0>
>>> pydoc.stripid(repr(pydoc.stripid))
'<function stripid>'

Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydoc
>>> pydoc.stripid
<function stripid at 0x00BB7BF0>
>>> pydoc.stripid(repr(pydoc.stripid))
'<function stripid>'

Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydoc
>>> pydoc.stripid
<function stripid at 0x00BEFCF0>
>>> pydoc.stripid(repr(pydoc.stripid))
'<function stripid at 0x00BEFCF0>'

Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydoc
>>> pydoc.stripid
<function stripid at 0x00C655B0>
>>> pydoc.stripid(repr(pydoc.stripid))
'<function stripid at 0x00C655B0>'

Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydoc
>>> pydoc.stripid
<function stripid at 0x00CFB8A0>
>>> pydoc.stripid(repr(pydoc.stripid))
'<function stripid at 0x00CFB8A0>'
History
Date User Action Args
2010-02-14 23:02:50mnewmansetrecipients: + mnewman
2010-02-14 23:02:49mnewmansetmessageid: <1266188569.95.0.344878906132.issue7930@psf.upfronthosting.co.za>
2010-02-14 23:01:48mnewmanlinkissue7930 messages
2010-02-14 23:01:47mnewmancreate