New submission from Alexey Izbyshev <izbys...@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 messages: 323964 nosy: belopolsky, izbyshev, p-ganssle, serhiy.storchaka, taleinat priority: normal severity: normal status: open title: datetime: Tests for potential crashes due to non-UTF-8-encodable strings type: security versions: Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34482> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com