This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
Date 2016-11-20.14:21:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479651672.66.0.22851171249.issue28748@psf.upfronthosting.co.za>
In-reply-to
Content
It technically could (if they're passing it to a function that takes a "char *"), but if they are and they can't change the affected function to take "const char *" instead, then that's an actual bug in the way they're using it.

So +1 from me for explicitly declaring the immutability in 3.7+ - it will need a note in the What's New porting guide though.
History
Date User Action Args
2016-11-20 14:21:12ncoghlansetrecipients: + ncoghlan, brett.cannon, eric.snow, serhiy.storchaka
2016-11-20 14:21:12ncoghlansetmessageid: <1479651672.66.0.22851171249.issue28748@psf.upfronthosting.co.za>
2016-11-20 14:21:12ncoghlanlinkissue28748 messages
2016-11-20 14:21:12ncoghlancreate