Message323964
| Author |
izbyshev |
| Recipients |
belopolsky, izbyshev, p-ganssle, serhiy.storchaka, taleinat |
| Date |
2018年08月23日.17:41:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1535046110.83.0.56676864532.issue34482@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is a follow-up of #34454. 'datetime' extension module attempts to encode input strings into UTF-8 in several places, which requires special care because some valid Python strings can't be represented in UTF-8. It makes sense to add more tests for methods dealing with strings.
Note that my PR doesn't attempt to deal with #34481. In cases where behavior differs between C and Python datetime impls the tests check only for absence of crashes. |
|