Sanghyeon Seo wrote:
UCS2/UCS4 detection in Makefile doesn't seem to work here.
2007/10/18, Christian Heimes <christian@cheimes.de>:
What's your full Python version, OS, distribution and the output of
$ python -c "from distutils.sysconfig import get_config_var; print get_config_var('Py_UNICODE_SIZE')"
Debian GNU/Linux, Python package 2.4.4-6. get_config_var() returns None. The same expression returns 4 for Python 2.5
I'm using get_config_var() because it's the obvious choice. It's using the information from pyconfig.h.
Is it? The strange thing is, parse_config_h() isn't called anywhere in this file: http://svn.python.org/projects/python/tags/r244/Lib/distutils/sysconfig.py Compare with: http://svn.python.org/projects/python/tags/r251/Lib/distutils/sysconfig.py -- Seo Sanghyeon
Sanghyeon Seo wrote:
Debian GNU/Linux, Python package 2.4.4-6.
get_config_var() returns None. The same expression returns 4 for Python 2.5
I'm using get_config_var() because it's the obvious choice. It's using the information from pyconfig.h.
Is it? The strange thing is, parse_config_h() isn't called anywhere in this file: http://svn.python.org/projects/python/tags/r244/Lib/distutils/sysconfig.py
Compare with: http://svn.python.org/projects/python/tags/r251/Lib/distutils/sysconfig.py
I'm going to investigate the problem later. It looks like you have found a problem with Python 2.4. Thx Christian
participants (2)
-
Christian Heimes
-
Sanghyeon Seo