Message226247
I would like to deprecate PyUnicode_AsUnicode(), see the issue #22271 for the rationale (hint: memory footprint).
To deprecate PyUnicode_AsUnicode(), we should stop using it internally.
The attached patch is a work-in-progress patch, untested on Windows (only tested on Linux). It gives an idea of how many files should be modified.
TODO:
* Modify posixmodule.c: I don't understand how the Argument Clinic generates the call to PyUnicode_AsUnicode() when the parameter type is declared as "unicode". What is the "unicode" type? Where is the code generating the call to PyUnicode_AsUnicode()?
* Modify a few other files. |
|
Date |
User |
Action |
Args |
2014-09-01 22:39:51 | vstinner | set | recipients:
+ vstinner, loewis |
2014-09-01 22:39:50 | vstinner | set | messageid: <1409611190.39.0.820072774539.issue22324@psf.upfronthosting.co.za> |
2014-09-01 22:39:50 | vstinner | link | issue22324 messages |
2014-09-01 22:39:50 | vstinner | create | |
|