Message281572
Issue23016 fixed the "AttributeError: 'NoneType' object has no attribute 'write'" problem when sys.stderr is None.
With that it's now possible and good practice to set sys.stderr = None when closing it, just as Antoine suggested.
Should this issue be closed then? |
|
Date |
User |
Action |
Args |
2016-11-23 17:29:55 | wolma | set | recipients:
+ wolma, mhammond, brett.cannon, terry.reedy, pitrou, Julius.Lehmann-Richter |
2016-11-23 17:29:55 | wolma | set | messageid: <1479922195.17.0.148510320601.issue22298@psf.upfronthosting.co.za> |
2016-11-23 17:29:55 | wolma | link | issue22298 messages |
2016-11-23 17:29:55 | wolma | create | |
|