[issue39127] _Py_HashPointer's void * argument should be const

2020-03-06 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39127] _Py_HashPointer's void * argument should be const

2020-03-06 Thread Andy Lester
Andy Lester added the comment: Is there more to do here or can it be closed? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39127] _Py_HashPointer's void * argument should be const

2020-02-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3d06953c34fd6421dd1dfdb615578cde676ee0eb by Andy Lester in branch 'master': bpo-39127: Make _Py_HashPointer's argument be const (GH-17690) https://github.com/python/cpython/commit/3d06953c34fd6421dd1dfdb615578cde676ee0eb -- nosy: +se

[issue39127] _Py_HashPointer's void * argument should be const

2020-02-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: -> enhancement versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue39127] _Py_HashPointer's void * argument should be const

2019-12-23 Thread Andy Lester
Change by Andy Lester : -- keywords: +patch pull_requests: +17145 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17690 ___ Python tracker ___

[issue39127] _Py_HashPointer's void * argument should be const

2019-12-23 Thread Andy Lester
New submission from Andy Lester : _Py_HashPointer in Python/pyhash.c takes a pointer argument that can be made const. This will let compiler and static analyzers know that the pointer's target is not modified. You can also change calls to _Py_HashPointer that are down-casting pointers. For