Message151588
| Author |
eric.smith |
| Recipients |
Retro, eric.smith, py.user, skrah |
| Date |
2012年01月18日.23:42:36 |
| SpamBayes Score |
1.4658112e-06 |
| Marked as misclassified |
No |
| Message-id |
<1326930156.77.0.87659655019.issue13811@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As I look at it a little closer, I think I'm going to change the message to: "Invalid format type specified". The code has determined that instead of a type that's a single character long, it's received "xx10d". That's because "xx" doesn't match any of "[[fill]align][sign][#][0][width][,][.precision]", so it must be the "[type]" field.
I'm open to a better message, though.
Due to the variable width chars in the format_spec string, include the "xx10d" along with the error text is a little complicated. But maybe including it would be an improvement: "Invalid format type 'xx10d' found, expected a single character". |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月18日 23:42:36 | eric.smith | set | recipients:
+ eric.smith, Retro, skrah, py.user |
| 2012年01月18日 23:42:36 | eric.smith | set | messageid: <1326930156.77.0.87659655019.issue13811@psf.upfronthosting.co.za> |
| 2012年01月18日 23:42:36 | eric.smith | link | issue13811 messages |
| 2012年01月18日 23:42:36 | eric.smith | create |
|