[ python-Bugs-1228053 ] usage of type "char*" instead of "const char*"

SourceForge.net noreply at sourceforge.net
Mon Jun 27 08:54:42 CEST 2005


Bugs item #1228053, was opened at 2005-06-27 08:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1228053&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Mattias Ekholm (ekholm)
Assigned to: Nobody/Anonymous (nobody)
Summary: usage of type "char*" instead of "const char*"

Initial Comment:

I suspect that this is problem is not only related
"char*", but to 
most types used in the Python C API. For "char*" is
quite hard
to sircumvent.

Is there any plan to use const for all function parameters 
when the function is not altering its arguments?

regards
Mattias


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1228053&group_id=5470


More information about the Python-bugs-list mailing list