[issue18764] The pdb print command prints repr instead of str in python3

Connor Osborn report at bugs.python.org
Tue Sep 24 08:49:56 CEST 2013


Connor Osborn added the comment:

In 2.7 there is no documented command *print, the docs are explicit on this (it's just the built in statement). However, 3.4 treats print like a feature of 2.7. Is this to maintain backwards compatibility? I would suggest preserving the original direction of the pdb, where a user has access to a p command but a user can always use the built in python print function.

in short:
-remove print from documented commands
-remove print alias

*This is my first patch :P Let me know if this is the correct direction, and what needs to be changed for acceptance, thanks.

----------
keywords: +patch
Added file: http://bugs.python.org/file31855/18764.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18764>
_______________________________________


More information about the Python-bugs-list mailing list