Re: [Python-Dev] Help with the build system and my first patch

2014-06-09 Thread Brett Cannon
On Mon Jun 09 2014 at 1:48:27 PM, Steven Stewart-Gallus < sstewartgallu...@mylangara.bc.ca> wrote: > > Do you mean other than potentially detecting something in the > > configurescript and using an #ifdef guard? > > Yes, that works on a static function inside a file level but I need to > condition

Re: [Python-Dev] Help with the build system and my first patch

2014-06-09 Thread Steven Stewart-Gallus
> Do you mean other than potentially detecting something in the > configurescript and using an #ifdef guard? Yes, that works on a static function inside a file level but I need to conditionally include a whole file into the build. ___ Python-Dev mailing

[Python-Dev] Help with the build system and my first patch

2014-06-09 Thread Brett Cannon
On Mon Jun 09 2014 at 2:07:22 AM, Steven Stewart-Gallus < sstewartgallu...@mylangara.bc.ca> wrote: > Hello, > > I would like some help understanding the build system. I am currently > working on an issue (http://bugs.python.org/issue21627) and plan to > create some common functionality in Python/s

[Python-Dev] Help with the build system and my first patch

2014-06-08 Thread Steven Stewart-Gallus
Hello, I would like some help understanding the build system. I am currently working on an issue (http://bugs.python.org/issue21627) and plan to create some common functionality in Python/setcloexec.c and Include/setcloexec.h that is conditionally compiled in on POSIX systems and not on Windows sy