New submission from Terry J. Reedy:

Fresh Win7 VC express debug build (F7), 2.7 only: fairly recent (last 3 
months?) regression.

In debug console, import idlelib.idle. Try to Open a file. Get message that 
ostypeCount is used before initialized. If open python_d with F5 in VC, [break] 
takes me to VS debugger, which points to line 341 in tkFileFilter.c (where is 
that in the directory tree?).
    if (ostypeCount > 0 && ostypeList != NULL) {
I am slightly puzzled because it appears that line 234
    for (i=0; i<ostypeCount; i++) {
should have been executed first.

----------
messages: 210608
nosy: serhiy.storchaka, terry.reedy
priority: high
severity: normal
stage: needs patch
status: open
title: tkFileFilter.c: ostypeCount not initialized?
type: behavior
versions: Python 2.7

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

Reply via email to