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 ronaldoussoren
Recipients janssen, ronaldoussoren, vstinner
Date 2010-05-16.10:21:48
SpamBayes Score 0.002845862
Marked as misclassified No
Message-id <1274005310.59.0.283838819123.issue8716@psf.upfronthosting.co.za>
In-reply-to
Content
Something I forgot to mention: the patch introduces "_tkinter.m" to enable compiling the _tkinter extension as Objective-C code.  The compiler also supports passing "-x objective-c" to compile _tkinter.c in Objective-C mode, but this flag must be specified early on the GCC command-line and I haven't been able to trick distutils in passing the flags at the right place yet.

Just adding ['-x', 'objective-c'] to the extra_compile_args argument to Extension does not work: that appends the flags to the compiler command-line while the -x flag only works when it is before the name of the source file(s).
History
Date User Action Args
2010-05-16 10:21:50ronaldoussorensetrecipients: + ronaldoussoren, janssen, vstinner
2010-05-16 10:21:50ronaldoussorensetmessageid: <1274005310.59.0.283838819123.issue8716@psf.upfronthosting.co.za>
2010-05-16 10:21:49ronaldoussorenlinkissue8716 messages
2010-05-16 10:21:48ronaldoussorencreate