On 1 Jun 2006, at 18:19, Philipp von Weitershausen wrote:
Florent Guillaume wrote:
On 1 Jun 2006, at 17:53, Philipp von Weitershausen wrote:
By the way, a test for isinstance(__aatus__, int) would also be
booleans because bool inherits from int.
I didn't want to touch the p.__class__ part because of security
came to my mind... In this case it probably doesn't matter but I
want to risk it.
OTOH the C code calls PyInt_Check which does the same as isinstance,
so I improved 2.10/trunk.
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -