Georg Brandl <ge...@python.org> added the comment:

This is caused by the special displayhook that pdb uses.

Normally, the displayhook suppresses output when it would print None;
this is not done in pdb's displayhook. This was a conscious decision,
because it can remove confusion when you try to get variable values like
this:

(Pdb) foo
(Pdb)

I'll ask python-dev for what is preferred.

----------

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

Reply via email to