A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-March/152566.html below:

[Python-Dev] Nuking wstr [Re: How can we use 48bit pointer safely?]

[Python-Dev] Nuking wstr [Re: How can we use 48bit pointer safely?] [Python-Dev] Nuking wstr [Re: How can we use 48bit pointer safely?]Serhiy Storchaka storchaka at gmail.com
Fri Mar 30 14:40:21 EDT 2018
30.03.18 16:54, Antoine Pitrou пише:
> We could also simply nuke wstr.  I frankly don't think it's very
> important.  It's only used when calling system functions taking a
> wchar_t argument, as an « optimization ».  I'd be willing to
> guess that modern workloads aren't bottlenecked by the cost overhead of
> those system functions...

This is possible only after removing all Py_UNICODE related C API. It is 
deprecated since 3.3, but only in the documentation, and should stay to 
the EOL of 2.7. Only in 3.7 most of these functions started emitting 
deprecation warnings at compile time (GCC-only). [1] It would be good to 
make them emitted in other compilers too. In future versions we could 
make them emitting user-visible runtime deprecation warnings, and 
finally make them always failing after 2020.

[1] https://bugs.python.org/issue19569

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4