[XML-SIG] [Q] xml.utils.boolean C API
Uche Ogbuji
uche.ogbuji@fourthought.com
Tue, 10 Sep 2002 13:38:42 -0600
>
> The C API to the boolean module, expressed in extensions/boolean.h,
> does not appear to be used. It certainly can't be used as-is when the
> module is built to be dynamically loaded. The boolean_new() function
> it references is not present in boolean.c at all.
>
> Is there any reason this header is used, or can the needed information
> simply be merged into the implementation?
>
> The implementation also uses DL_EXPORT for a few things that should be
> static, and almost nobody outside the Python core needs to use the
> tp_print slot; the use made by this code is certainly avoidable in
> efficient ways.
>
> Uche, Mike, et al.: any objection to a little cleanup here?
Not from me. I'd actually probably study a patch for possible back-porting to
4Suite.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 - http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/library/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF - http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A1EA5A2CF4621C386256BBB006F4CEC