New submission from Segev Finer:

There is a ref leak in sys.getwindowsversion due to using PyTuple_Pack and 
forgetting that it increments the ref count of passed in objects. Found here: 
https://github.com/python/cpython/pull/1927#issuecomment-306019512.

Clearly shows up in python -m test -R 3:2 test_sys

----------
components: Interpreter Core
messages: 295132
nosy: Segev Finer
priority: normal
severity: normal
status: open
title: Leak in sys.getwindowsversion
type: resource usage
versions: Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30567>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to