Message92699
No problem with the None's -- I see your point about that. Just that
maybe the alias example should point out that the Nones will be
printed so people won't be surprised and try to figure out what's wrong.
--- Mitchell
On Sep 16, 2009, at 5:56 AM, Georg Brandl wrote:
>
> Georg Brandl <georg@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 <report@bugs.python.org>
> <http://bugs.python.org/issue6903>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2009-09-16 16:28:59 | MLModel | set | recipients:
+ MLModel, georg.brandl |
2009-09-16 16:28:53 | MLModel | link | issue6903 messages |
2009-09-16 16:28:53 | MLModel | create | |
|