Ticket #3269 defect closed fixed
curses.setupterm must only be called once per process
| Reported by: | therve | Owned by: | therve |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | trial | Keywords: | |
| Cc: | Branch: | branches/curses-setupterm-3269 | |
| Author: | therve | Launchpad Bug: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
