This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MLModel
Recipients MLModel, georg.brandl
Date 2009-09-16.16:28:53
SpamBayes Score 9.7901625e-09
Marked as misclassified No
Message-id <26A2F4DC-2787-418D-BE58-9ECC12703ABE@acm.org>
In-reply-to <1253094963.25.0.0519577336487.issue6903@psf.upfronthosting.co.za>
Content
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>
> _______________________________________
History
Date User Action Args
2009-09-16 16:28:59MLModelsetrecipients: + MLModel, georg.brandl
2009-09-16 16:28:53MLModellinkissue6903 messages
2009-09-16 16:28:53MLModelcreate