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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, fer_perez
Date 2008-06-21.07:52:17
SpamBayes Score 0.017519115
Marked as misclassified No
Message-id <1214034740.5.0.213967159348.issue3158@psf.upfronthosting.co.za>
In-reply-to
Content
For me, a 'function' is written in Python, a 'builtin' is written in C. 

The fact that it is defined in an extension module is irrelevant, and
depends on the implementation: zlib is an extension module on Unix, but
is linked inside python26.dll on Windows.

maybe inspect.isroutine() is the correct test here.
History
Date User Action Args
2008-06-21 07:52:21amaury.forgeotdarcsetspambayes_score: 0.0175191 -> 0.017519115
recipients: + amaury.forgeotdarc, fer_perez
2008-06-21 07:52:20amaury.forgeotdarcsetspambayes_score: 0.0175191 -> 0.0175191
messageid: <1214034740.5.0.213967159348.issue3158@psf.upfronthosting.co.za>
2008-06-21 07:52:19amaury.forgeotdarclinkissue3158 messages
2008-06-21 07:52:18amaury.forgeotdarccreate