On Mon, 12 Aug 2013 13:42:14 +0200, Peter Otten wrote:
Steven D'Aprano wrote:
Is it possible to call a Python macro from ctypes? For example, Python
3.3 introduces some new macros for querying the internal representation
of strings:
http://www.python.org/dev/peps/pep-0393/#new-api
[...]
Steven D'Aprano, 13.08.2013 08:25:
On Mon, 12 Aug 2013 13:42:14 +0200, Peter Otten wrote:
Steven D'Aprano wrote:
Is it possible to call a Python macro from ctypes? For example, Python
3.3 introduces some new macros for querying the internal representation
of strings:
On Tue, 13 Aug 2013 10:11:29 +0200, Stefan Behnel wrote:
Steven D'Aprano, 13.08.2013 08:25:
On Mon, 12 Aug 2013 13:42:14 +0200, Peter Otten wrote:
Steven D'Aprano wrote:
Is it possible to call a Python macro from ctypes? For example,
Python 3.3 introduces some new macros for querying the
Steven D'Aprano wrote:
On Mon, 12 Aug 2013 13:42:14 +0200, Peter Otten wrote:
Steven D'Aprano wrote:
Is it possible to call a Python macro from ctypes? For example, Python
3.3 introduces some new macros for querying the internal representation
of strings:
Is it possible to call a Python macro from ctypes? For example, Python
3.3 introduces some new macros for querying the internal representation
of strings:
http://www.python.org/dev/peps/pep-0393/#new-api
So I try this in 3.3:
py import ctypes
py ctypes.pythonapi.PyUnicode_MAX_CHAR_VALUE
Steven D'Aprano wrote:
Is it possible to call a Python macro from ctypes? For example, Python
3.3 introduces some new macros for querying the internal representation
of strings:
http://www.python.org/dev/peps/pep-0393/#new-api
So I try this in 3.3:
py import ctypes
py
Peter Otten wrote:
Steven D'Aprano wrote:
Is it possible to call a Python macro from ctypes? For example, Python
3.3 introduces some new macros for querying the internal representation
of strings:
http://www.python.org/dev/peps/pep-0393/#new-api
So I try this in 3.3:
py import