[issue1772673] Replacing char* with const char*

Antoine Pitrou report at bugs.python.org
Mon May 13 23:11:53 CEST 2013


Antoine Pitrou added the comment:

> For external APIs visible to user code, this can cause some
> compatibility problems and users may need to at the very least
> re-compile this code.

Can you explain exactly which compatibility problems this would cause?

Actually, the point is precisely to make life easier for third-party code, since "const char *" is more accepting than "char *".

----------
nosy: +pitrou
stage:  -> needs patch
versions: +Python 3.4 -Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1772673>
_______________________________________


More information about the Python-bugs-list mailing list