Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12232 > unrolled thread
| Started by | Mateusz Loskot <mateusz@loskot.net> |
|---|---|
| First post | 2011-08-26 16:40 +0100 |
| Last post | 2011-08-28 20:02 -0400 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
Why PyImport_ExecCodeModule takes char*? Mateusz Loskot <mateusz@loskot.net> - 2011-08-26 16:40 +0100
Re: Why PyImport_ExecCodeModule takes char*? Tim Roberts <timr@probo.com> - 2011-08-28 15:52 -0700
Re: Why PyImport_ExecCodeModule takes char*? Terry Reedy <tjreedy@udel.edu> - 2011-08-28 20:02 -0400
| From | Mateusz Loskot <mateusz@loskot.net> |
|---|---|
| Date | 2011-08-26 16:40 +0100 |
| Subject | Why PyImport_ExecCodeModule takes char*? |
| Message-ID | <mailman.447.1314375134.27778.python-list@python.org> |
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
[toc] | [next] | [standalone]
| From | Tim Roberts <timr@probo.com> |
|---|---|
| Date | 2011-08-28 15:52 -0700 |
| Message-ID | <jkhl579a7k66v3n3pe1pacq7j0st7nsnq4@4ax.com> |
| In reply to | #12232 |
Mateusz Loskot <mateusz@loskot.net> wrote: > >I'm wondering, why PyImport_ExecCodeModule function takes char* >instead of const char*? My guess is "history". -- Tim Roberts, timr@probo.com Providenza & Boekelheide, Inc.
[toc] | [prev] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2011-08-28 20:02 -0400 |
| Message-ID | <mailman.521.1314576217.27778.python-list@python.org> |
| In reply to | #12356 |
On 8/28/2011 6:52 PM, Tim Roberts wrote: > Mateusz Loskot<mateusz@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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web