Skip to content

Commit

Permalink
Fix module browser on Py3
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Feb 26, 2016
1 parent 18a7417 commit 006cb4f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pudb/debugger.py
Expand Up @@ -1278,7 +1278,9 @@ def mod_exists(mod):

def build_filtered_mod_list(filt_string=""):
modules = sorted(name
for name, mod in sys.modules.items()
# mod_exists may change the size of sys.modules,
# causing this to crash. Copy to a list.
for name, mod in list(sys.modules.items())
if mod_exists(mod))

result = [urwid.AttrMap(SelectableText(mod),
Expand Down Expand Up @@ -2090,6 +2092,9 @@ def event_loop(self, toplevel=None):
"(invoked by hitting '?' after this message) should get you "
"on your way.\n"

"\nChanges in version 2016.1:\n\n"
"- Fix module browser on Py3.\n"

"\nChanges in version 2015.4:\n\n"
"- Support for (somewhat rudimentary) remote debugging\n"
" through a telnet connection.\n"
Expand Down

0 comments on commit 006cb4f

Please sign in to comment.