Re: Why PyImport_ExecCodeModule takes char*?

2011-08-28 Thread Tim Roberts
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*?

2011-08-28 Thread Terry Reedy

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*?

2011-08-26 Thread Mateusz Loskot

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