Bug #99866 | Wrong cast from Python unicode to std::string | ||
---|---|---|---|
Submitted: | 14 Jun 2020 5:37 | Modified: | 12 Feb 2021 21:42 |
Reporter: | Naoki Inada | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S3 (Non-critical) |
Version: | 8.0.20 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[14 Jun 2020 5:37]
Naoki Inada
[15 Jun 2020 6:12]
MySQL Verification Team
Hello Naoki, Thank you for the report and feedback. Thanks, Umesh
[12 Feb 2021 21:42]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Python 8.0.24 release, and here's the proposed changelog entry from the documentation team: Replaced the deprecated PyUnicode_GetSize with PyUnicode_GET_LENGTH to fix the casting of Python's unicode to std::string. Thank you for the bug report.