classification
Title: Const some pointers to string literals
Type: enhancement Stage: resolved
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, petdance
Priority: normal Keywords: patch

Created on 2020-02-14 03:25 by petdance, last changed 2020-02-14 05:05 by benjamin.peterson. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 18510 merged petdance, 2020-02-14 03:27
PR 18511 merged benjamin.peterson, 2020-02-14 04:45
Messages (3)
msg361982 - (view) Author: Andy Lester (petdance) * Date: 2020-02-14 03:25
Here are some fixes of char * pointers to literals that should be const char * in these four files.

+++ Objects/frameobject.c
+++ Objects/genobject.c
+++ Python/codecs.c
+++ Python/errors.c
msg361984 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2020-02-14 04:43
New changeset 7386a70746cf9aaf2d95db75d9201fb124f085df by Andy Lester in branch 'master':
closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510)
https://github.com/python/cpython/commit/7386a70746cf9aaf2d95db75d9201fb124f085df
msg361985 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2020-02-14 05:05
New changeset 0d860dd43c72dc7046a5d18fc72d495cadd4a2df by Benjamin Peterson in branch '3.8':
[3.8] closes bpo-39630: Update pointers to string literals to be const char *. (GH-18511)
https://github.com/python/cpython/commit/0d860dd43c72dc7046a5d18fc72d495cadd4a2df
History
Date User Action Args
2020-02-14 05:05:07benjamin.petersonsetmessages: + msg361985
2020-02-14 04:45:21benjamin.petersonsetpull_requests: + pull_request17887
2020-02-14 04:43:15benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg361984

resolution: fixed
stage: patch review -> resolved
2020-02-14 03:27:10petdancesetkeywords: + patch
stage: patch review
pull_requests: + pull_request17886
2020-02-14 03:25:12petdancecreate