A quote from Cython documentation:
"The other direction, i.e. automatic encoding to C strings, is only supported
for the ASCII codec (and the “default encoding”, which is runtime specific
and may or may not be ASCII). This is because CPython handles the memory
management in this case by keeping an encoded copy of the string alive
together with the original unicode string. Otherwise, there would be no way
to limit the lifetime of the encoded string in any sensible way, thus
rendering any attempt to extract a C string pointer from it a dangerous
endeavour."
Cython plays it safe and we can't live with ASCII-only; reverting to
our earlier "hacks" for string conversion.
This reverts commit b547ff2aa2.
Conflicts:
efl/elementary/entry.pyx
efl/elementary/object.pyx
Image.image_data_memoryview_get was disabled.
This method can be added back once we figure out how to do conditional
compilation using Python version.
Using an evas.Image instance as a memoryview object should do the same
thing as the disabled method.
Elm was lgpl3, COPYING was lgpl3, docs say lgpl3. So fix everything to be v3.
Also fix the COPING for Lesser: we must include gpl (in COPYING) AND lgpl (in COPYING.LESSER).
That function was removed so I replaced it with PyUnicode_FromFormatV,
cdef extern it directly from Python.h since it's not found in Cython
unicode.pxd.