Message190710
The problem is in io.open, not in getpass. Here is a test script.
$ ./python buffered_open_fd_leak.py
buffered_open_fd_leak.py:7: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb+'>
tty = io.open(fd, 'w+', 1) |
|
Date |
User |
Action |
Args |
2013-06-06 10:26:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, benjamin.peterson, alex, nikratio, vajrasky |
2013-06-06 10:26:00 | serhiy.storchaka | set | messageid: <1370514360.03.0.463460050051.issue18116@psf.upfronthosting.co.za> |
2013-06-06 10:26:00 | serhiy.storchaka | link | issue18116 messages |
2013-06-06 10:25:59 | serhiy.storchaka | create | |
|