This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nas
Recipients nas, rpetrov
Date 2008-10-22.16:13:38
SpamBayes Score 1.79493e-09
Marked as misclassified No
Message-id <>
[Roumen Petrov]
> Modification for from above mentioned issue break
> non-posix builds.

Without that change the test fails on Unix platforms when the build is
not done inside the source directory.  I guess the problem must be the
change from (essentially):

def _get_source_filename():
    return os.path.join(sysconfig.project_base, 'Modules', 'xxmodule.c')


def _get_source_filename():
    srcdir = sysconfig.get_config_var('srcdir')
    return os.path.join(srcdir, 'Modules', 'xxmodule.c')

On POSIX, project_base is just the directory containing the Python
executable.  I think the right thing to do is to fix the srcdir var on
non-POSIX systems.  I don't have a Windows machine to test on.  Could
someone test the get_python_inc2.patch with the non_posix_srcdir.patch
applied on top of it?
Date User Action Args
2008-10-22 16:13:41nassetrecipients: + nas, rpetrov
2008-10-22 16:13:40nassetmessageid: <>
2008-10-22 16:13:39naslinkissue4151 messages
2008-10-22 16:13:39nascreate