[issue18764] The pdb print command prints repr instead of str in python3
Connor Osborn added the comment: Here is the documentation patch: I defaulted to the docs that were in 2.7.5, by noting that beside the p command the builtin print function could be used. I also fixed a small code sample that still used print ... syntax. -- Added file: http://bugs.python.org/file32038/18764-docs.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18764 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18764] The pdb print command prints repr instead of str in python3
Connor Osborn added the comment: I'm hoping to ease into more involvement. Thanks for the review and tips, and I submitted the agreement(e-sign version). -- nosy: -eric.snow, ezio.melotti, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18764 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18764] The pdb print command prints repr instead of str in python3
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 rep...@bugs.python.org http://bugs.python.org/issue18764 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18764] The pdb print command prints repr instead of str in python3
Connor Osborn added the comment: Should the pretty print behavior remain? -- nosy: +cdosborn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18764 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com