[issue43009] Port curses capi pointer array to a struct

2021-01-29 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: FYI: I've opened bpo-43060 for the decimal module. -- ___ Python tracker ___ ___

[issue43009] Port curses capi pointer array to a struct

2021-01-29 Thread hai shi
hai shi added the comment: > The _decimal API is also just an array of pointers. Should we change that to > a struct as well? Hi, victor. Do you have suggestion about it :) -- ___ Python tracker

[issue43009] Port curses capi pointer array to a struct

2021-01-29 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > +1. IMHO, structure is more directly than pointer array. And there haven't > exposing this pointer array to users(no backward compatibility). Good. I'll open a separate issue and give it a try. Thanks! --

[issue43009] Port curses capi pointer array to a struct

2021-01-29 Thread hai shi
hai shi added the comment: > The _decimal API is also just an array of pointers. Should we change that to > a struct as well? +1. IMHO, structure is more directly than pointer array. And there haven't exposing this pointer array to users(no backward compatibility). --

[issue43009] Port curses capi pointer array to a struct

2021-01-28 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: The _decimal API is also just an array of pointers. Should we change that to a struct as well? -- nosy: +erlendaasland ___ Python tracker

[issue43009] Port curses capi pointer array to a struct

2021-01-23 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +23125 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24304 ___ Python tracker ___

[issue43009] Port curses capi pointer array to a struct

2021-01-23 Thread hai shi
New submission from hai shi : As the title mentioned. A entire py_curses capi struct would be better than pointer array. Related PR: PR 24186 -- assignee: shihai1991 messages: 385532 nosy: shihai1991, vstinner priority: normal severity: normal status: open title: Port curses capi