Message250023
| Author |
steve.dower |
| Recipients |
BreamoreBoy, JohnLeitch, belopolsky, brycedarling, eryksun, georg.brandl, larry, lemburg, paul.moore, python-dev, steve.dower, tim.golden, vstinner, zach.ware |
| Date |
2015年09月06日.21:55:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1441576524.74.0.384425801875.issue24917@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
FWIW, those macros prevent a certain class of "undefined behavior," which in this case is to terminate the process rather than return an error code. They don't do anything to prevent crashes due to exploitation or malicious code.
The place for more robust formatting is datetime.__format__(), which from a quick test seems to be more strict about what is in the format string. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月06日 21:55:24 | steve.dower | set | recipients:
+ steve.dower, lemburg, georg.brandl, paul.moore, belopolsky, vstinner, larry, tim.golden, BreamoreBoy, python-dev, zach.ware, eryksun, JohnLeitch, brycedarling |
| 2015年09月06日 21:55:24 | steve.dower | set | messageid: <1441576524.74.0.384425801875.issue24917@psf.upfronthosting.co.za> |
| 2015年09月06日 21:55:24 | steve.dower | link | issue24917 messages |
| 2015年09月06日 21:55:24 | steve.dower | create |
|