[Python-Dev] Help with the build system and my first patch (original) (raw)
Brett Cannon bcannon at gmail.com
Mon Jun 9 20:45:46 CEST 2014
- Previous message: [Python-Dev] Help with the build system and my first patch
- Next message: [Python-Dev] [Python-checkins] cpython: Closes #21256: Printout of keyword args in deterministic order in mock calls.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon Jun 09 2014 at 1:48:27 PM, Steven Stewart-Gallus < sstewartgallus00 at 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 conditionally include a whole file into the build.
Why specifically does the file itself be conditional? Typically you unconditionally include the whole file and then put the entire contents of it in a #ifdef guard. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140609/84c574d7/attachment.html>
- Previous message: [Python-Dev] Help with the build system and my first patch
- Next message: [Python-Dev] [Python-checkins] cpython: Closes #21256: Printout of keyword args in deterministic order in mock calls.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]