[New-bugs-announce] [issue34482] datetime: Tests for potential crashes due to non-UTF-8-encodable strings
report at bugs.python.org
Thu Aug 23 13:41:50 EDT 2018
New submission from Alexey Izbyshev <izbyshev at ispras.ru>:
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.
components: Extension Modules
nosy: belopolsky, izbyshev, p-ganssle, serhiy.storchaka, taleinat
title: datetime: Tests for potential crashes due to non-UTF-8-encodable strings
versions: Python 3.6, Python 3.7, Python 3.8
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce