You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed in version 3.3: This function is now inefficient – because in many cases the Py_UNICODE representation does not exist and needs to be created – and can fail (return NULL with an exception set). Try to port the code to use the new PyUnicode_nBYTE_DATA() macros or use PyUnicode_WRITE() or PyUnicode_READ().
Deprecated since version 3.3, will be removed in version 3.12: Part of the old-style Unicode API, please migrate to using the PyUnicode_nBYTE_DATA() family of macros.
The text was updated successfully, but these errors were encountered:
The macro is used in list_windows_callback, which is referenced from PyImaging_ListWindowsWin32, i.e. Image.core.listwindows. That is an internal function that I can't see any references to, so I think it should be safe to just remove it.
I think this was intended to be used with ImageGrab.grab(bbox=Image.core.listwindows[...][...]) (i.e. what #4415 (comment) asked for), but it would not help with that issue as applications aren't always visible on the desktop.
For #6941
Pillow doesn't build for Windows on 3.12:
Python 3.12-dev x86 fails:
Python 3.12-dev x64 similarly fails:
This is because
PyUnicode_AS_UNICODE()
was deprecated in Python 3.3 and removed in 3.12:The text was updated successfully, but these errors were encountered: