#6658

masha
Member

Seems there is a bug related to Config object
I can enumerate windows and documents in Python but not the collections of the Config object.
The latest ActivePython 2.6.0.0 has the problem as well.

#language=”Python”

Window.OutputBar.Visible = True
debug = Window.OutputBar.writeln

# ok
for x in Window.shell.windows: debug(x); debug(x.Caption)

# ok
for x in Window.editor.Documents: debug(x); debug(x.FullName)

# crash
for x in Window.document.Config.Keyboard.List: debug(str(x))

# crash
for x in Window.document.Config.Highlight.List: debug(x)