Why PyImport_ExecCodeModule takes char*?

M

Mateusz Loskot

Hi,

I'm wondering, why PyImport_ExecCodeModule function takes char*
instead of const char*?

Best regards,
 
T

Terry Reedy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,150
Messages
2,570,853
Members
47,394
Latest member
Olekdev

Latest Threads

Top