[issue44172] curses module may call delwin() on original window before subwindows

2021-05-18 Thread Michael Forney
Change by Michael Forney : -- keywords: +patch pull_requests: +24843 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26226 ___ Python tracker <https://bugs.python.org/issu

[issue44172] curses module may call delwin() on original window before subwindows

2021-05-18 Thread Michael Forney
New submission from Michael Forney : When subwin() is used to create a subwindow for an original window, it does not keep a reference to the original window object. This can result in the original window getting deleted with delwin() before the subwindow. According to the X/Open curses