python-efl/efl/ecore
Kai Huuhko d6dc3a2045 Revert "Remove Python -> C string hacks"
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
2014-04-06 23:48:16 +03:00
..
efl.ecore.pyx Use uintptr_t instead of long or unsigned long for handling pointers. 2013-12-15 15:08:57 +02:00
efl.ecore_animator.pxi docs: remove the signatures from the docstring, are now autimatically added by cython 2014-04-06 17:03:58 +02:00
efl.ecore_events.pxi Use uintptr_t instead of long or unsigned long for handling pointers. 2013-12-15 15:08:57 +02:00
efl.ecore_exe.pxi Revert "Remove Python -> C string hacks" 2014-04-06 23:48:16 +03:00
efl.ecore_fd_handler.pxi docs: remove the signatures from the docstring, are now autimatically added by cython 2014-04-06 17:03:58 +02:00
efl.ecore_file_download.pxi Revert "Remove Python -> C string hacks" 2014-04-06 23:48:16 +03:00
efl.ecore_file_monitor.pxi Revert "Remove Python -> C string hacks" 2014-04-06 23:48:16 +03:00
efl.ecore_idler.pxi Python-EFL: fix the mess with the lgpl version. 2013-12-07 17:54:58 +01:00
efl.ecore_poller.pxi Python-EFL: fix the mess with the lgpl version. 2013-12-07 17:54:58 +01:00
efl.ecore_timer.pxi docs: remove the signatures from the docstring, are now autimatically added by cython 2014-04-06 17:03:58 +02:00