|
From: Jason T. <Jas...@do...> - 2001-03-06 16:07:47
|
My Cygwin patches to Python have been accepted into Python CVS so
Cygwin Python has supported shared extensions since 2.1a1. I have
redone my Cygwin python-ldap patch against the current python-ldap CVS.
Please consider this patch for acceptance into python-ldap CVS.
The procedure to apply the patch is as follows:
$ # save the attachment to /tmp
$ cd python-ldap/Modules
$ patch </tmp/cygwin.patch
See the following for my original posting:
On Wed, Dec 27, 2000 at 09:37:50AM -0500, Jason Tishler wrote:
> On Sun, 10 Dec 2000 23:27:49 +0100, David Leonard wrote:
> > * python-ldap-1.10 will be tidied up, with just the memory-leak
> > patches applied, and a proper documentation build. (ie no v3
> > changes will be applied as it breaks v2 builds.) A final release
> > will be made.
>
> Hopefully, the attached patch (against python-ldap-1.10alpha3) can
> still be considered for inclusion in the 1.10 final release. It enables
> python-ldap to build OOTB as a shared extension for Cygwin Python.
>
> Cygwin is an open-source POSIX emulation layer that enables many
> GNU and UNIX tools to port to Windows without any source code changes.
> If interested, please see http://www.cygwin.com for more information.
>
> Note that the patch has no functional changes -- it only enables the
> code to compile cleanly with Cygwin gcc. Specifically, the changes
> are as follows:
>
> 1. replaced #ifdef WIN32 with #if defined(WIN32) || defined(__CYGWIN__)
> as described in http://www.python.org/doc/FAQ.html#3.24
> 2. added DL_EXPORT to init_ldap()
>
> I'm quite willing to redo the patch against python-ldap CVS if that
> will facilitate its acceptance.
>
> My original plan was to wait until the Cygwin Python DLL and Shared
> Extension Patch:
>
> http://sourceforge.net/patch/?func=detailpatch&patch_id=102409&group_id=5470
>
> was accepted and committed into Python CVS before contacting the list.
> However, due to the impending 1.10 final release, I realized that it
> would be prudent to submit the patch sooner rather than later.
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jas...@do...
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
|