<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [Pyrex] Please support C++</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>+5 from me :)</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: pyrex-bounces@lists.copyleft.no</FONT>
<BR><FONT SIZE=2>[<A HREF="mailto:pyrex-bounces@lists.copyleft.no">mailto:pyrex-bounces@lists.copyleft.no</A>]On Behalf Of David McNab</FONT>
<BR><FONT SIZE=2>Sent: 08 October 2005 13:30</FONT>
<BR><FONT SIZE=2>To: pyrex@lists.copyleft.no</FONT>
<BR><FONT SIZE=2>Subject: [Pyrex] Please support C++</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi Greg et al,</FONT>
</P>

<P><FONT SIZE=2>Unless things have been happening quietly, the issue of C++ support for</FONT>
<BR><FONT SIZE=2>Pyrex unfortunately seems to have slipped between the cracks.</FONT>
</P>

<P><FONT SIZE=2>I'm writing to ask if there might be any conceivable way to persuade</FONT>
<BR><FONT SIZE=2>you, Greg, and any other Pyrex devs to seriously consider bumping C++</FONT>
<BR><FONT SIZE=2>support a bit higher onto the Pyrex TODO list.</FONT>
</P>

<P><FONT SIZE=2>Wouldn't need too much fancy stuff - really just wanting the basics:</FONT>
<BR><FONT SIZE=2>&nbsp;- instantiating 3rd party classes</FONT>
<BR><FONT SIZE=2>&nbsp;- accessing methods/attribs on 3rd party objects</FONT>
<BR><FONT SIZE=2>&nbsp;- overriding C++ methods in python/pyrex</FONT>
<BR><FONT SIZE=2>&nbsp;- raising and catching C++ exceptions</FONT>
</P>

<P><FONT SIZE=2>At present, unless one is willing to face the brain-pain of SWIG or</FONT>
<BR><FONT SIZE=2>Boost, the only ways to interface Python to C++ are:</FONT>
<BR><FONT SIZE=2>&nbsp;1. hand-code a wrapper as a python extension type, or</FONT>
<BR><FONT SIZE=2>&nbsp;2. write a C shim atop the C++ interface, then interface to this</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; in Pyrex</FONT>
</P>

<P><FONT SIZE=2>So how about it, guys?</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Cheers</FONT>
<BR><FONT SIZE=2>David</FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Pyrex mailing list</FONT>
<BR><FONT SIZE=2>Pyrex@lists.copyleft.no</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.copyleft.no/mailman/listinfo/pyrex" TARGET="_blank">http://lists.copyleft.no/mailman/listinfo/pyrex</A></FONT>
</P>

</BODY>
<!--[object_id=#infocomp.com#]--><P><FONT face=Arial color=#808080 size=1>Important notice: This message is intended for the individual(s) and entity(s) addressed. The information contained in this transmission and any attached, may be confidential and may also be the subject of legal privilege, public interest immunity or legal professional privilege. Any review, retransmission, dissemination or other use of, taking of any action in reliance upon this information by person or entities other than the recipient is prohibited and requires authorization from the sender. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person) you may not copy or deliver this message to anyone. In such cases you should destroy this message and kindly notify the sender by reply email. </FONT></P>
<P><FONT face=Arial color=#808080 size=1>WARNING: Although Infocomp has taken reasonable precautions so that no viruses&nbsp;are present in this e-mail, the company cannot accept responsibility for any loss or damage arising from the use of e-mail attachments.</FONT></P></HTML>