Steve Dower <steve.do...@python.org> added the comment:

I forgot to initialize the result object in readlink() on Windows, and so when 
we hit the failure path it returns garbage. Attempting to DECREF that garbage 
fails.

The call to readlink() fails in the Store app because sys.executable is not a 
readable link. It should fail in most cases anyway, but apparently outside of 
the app container the stack is NULL here.

----------

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

Reply via email to