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.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.