Ticket #3269 defect closed fixed
curses.setupterm must only be called once per process
|Reported by:||therve||Owned by:||therve|
(diff, github, buildbot, log)
The class _AnsiColorizer in twisted.trial.reporter calls it for each supported() call. But this function seems to leak memory, so it should only be called if necessary. Unfortunately, there is no way to check if it has been called expect by trying to call a curses function needing it.