I have a date and a datetime object in C++ and I would like to add the following methods: toPyDate() toPyDatetime() fromPyDate() fromPyDatetime()
I would like to 'bolt-on' these methods to my C++ classes in the BOOST_PYTHON_MODULE interface layer. I am trying to avoid additional python wrappers around my boost python library. Can this be done without additional python? What is the best/cleanest way to do this? Regards, Liam Herron ============================================================================================= Email transmissions can not be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. In addition, the information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution,or copying of this communication, disclosure of the parties to it, or any action taken or omitted to be taken in reliance on it, is strictly prohibited, and may be unlawful. If you are not the intended recipient please delete this email message. ==============================================================================================
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org https://mail.python.org/mailman/listinfo/cplusplus-sig