DAGDA SEARCH | Back to results | Support

Message 332265 - Python tracker

Source: https://bugs.python.org/msg332265

homepage

Message332265 ➜

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 eric.smith
Recipients eric.smith, mrabarnett, serhiy.storchaka
Date 2018-12-20.21:41:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545342078.75.0.788709270274.issue35546@psf.upfronthosting.co.za>
In-reply-to
Content
I think this falls in to the consenting adults category. You can also do things like:
>>> format(42, '->3')
'-42'

But why bother preventing this?

It is unfortunate that %-formatting and .__format__() are different in this regard, but at this point I wouldn't recommend making any changes.
History
Date User Action Args
2018-12-20 21:41:18eric.smithsetrecipients: + eric.smith, mrabarnett, serhiy.storchaka
2018-12-20 21:41:18eric.smithsetmessageid: <1545342078.75.0.788709270274.issue35546@psf.upfronthosting.co.za>
2018-12-20 21:41:18eric.smithlinkissue35546 messages
2018-12-20 21:41:18eric.smithcreate
Supported by The Python Software Foundation,
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements