Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-10-21 10:48:46 +0200
committerChristian Tismer <tismer@stackless.com>2022-11-10 10:59:19 +0100
commita8004df5a920e02a783d896af33bb83619492b02 (patch)
tree0282ae0eb6f76b2b9793a666139713e741a90b3a /examples/async
parent69219047fc0cd2a6b6216dfabe763d3f8babf6f1 (diff)
_PepUnicode_AsString: Fix a broken promise
This function was optimized in an incompatible way. It does not work when the string argument is short-lived. But: It was found that the equivalent function without Limited API does not survive short-lived arguments, either. So the broken promise was still there, but in a different way than assumed ;-) Fortunately, the replacement function PyUnicode_AsUTF8 is part of the Limited API since Python 3.10 and we can avoid this hack. Unfortunately, there is no way to know which runtime-version this will be, and we must wait until Python 3.10 becomes the minimum version :( Change-Id: Id2b1ea3212984a69bef8d71a578825978c59947e Pick-to: 6.3 6.4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/async')
0 files changed, 0 insertions, 0 deletions