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 al45tair
Recipients al45tair
Date 2017-09-04.07:35:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504510553.57.0.0102261843767.issue31335@psf.upfronthosting.co.za>
In-reply-to
Content
Having looked carefully through the current code, I notice that the error message *has* been improved (though it'd be nice if it included a copy of the format string it's rejecting), and also that the alternative

  "{!r}".format(None)

does work as expected, and has the advantage that other formatting features are supported, e.g.

  "{!r:10.10}".format(None)

will work as expected.

I'm going to close this bug report.
History
Date User Action Args
2017-09-04 07:35:53al45tairsetrecipients: + al45tair
2017-09-04 07:35:53al45tairsetmessageid: <1504510553.57.0.0102261843767.issue31335@psf.upfronthosting.co.za>
2017-09-04 07:35:53al45tairlinkissue31335 messages
2017-09-04 07:35:53al45taircreate