Re: Why PyImport_ExecCodeModule takes char*?
Mateusz Loskot mate...@loskot.net wrote: I'm wondering, why PyImport_ExecCodeModule function takes char* instead of const char*? My guess is history. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list
Re: Why PyImport_ExecCodeModule takes char*?
On 8/28/2011 6:52 PM, Tim Roberts wrote: Mateusz Loskotmate...@loskot.net wrote: I'm wondering, why PyImport_ExecCodeModule function takes char* instead of const char*? My guess is history. I believe some const tags have been added over the last few years. Another factory than mere history for some things is portability across platforms and the main compilers. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list
Why PyImport_ExecCodeModule takes char*?
Hi, I'm wondering, why PyImport_ExecCodeModule function takes char* instead of const char*? Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org -- http://mail.python.org/mailman/listinfo/python-list