[issue27831] Python 3.4.5 leaks memory when attempting to load non-existent file

Ammar Askar report at bugs.python.org
Fri Dec 3 19:38:54 EST 2021


Ammar Askar <ammar at ammaraskar.com> added the comment:

Looks like this got fixed somewhere along between 3.5 and 3.6


---
3.5
---

./python: can't open file 'id:000109': [Errno 2] No such file or directory

=================================================================
==28078==ERROR: LeakSanitizer: detected memory leak



---
3.6
---

./python id:000109     
./python: can't open file 'id:000109': [Errno 2] No such file or directory


Closing as 3.5 is no longer a supported version.

----------
nosy: +ammar2
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27831>
_______________________________________


More information about the Python-bugs-list mailing list