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 jimjjewett
Recipients
Date 2007-03-22.12:57:20
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
On the reprs, is there a reason to call repr instead of using %r?

For example, the Floordiv repr changed to:

"FloorDiv(%s, %s)" % (repr(self.left), repr(self.right))

Why not "FloorDiv(%r, %r)" % (self.left, self.right)

or even, (assuming PEP 3101 with locals,)

"FloorDiv({self.left:r}, {self.right:r})".format()
History
Date User Action Args
2007-08-23 15:57:26adminlinkissue1678060 messages
2007-08-23 15:57:26admincreate