[Python.NET] UCS2/UCS4 detection

Christian Heimes lists at cheimes.de
Thu Oct 18 14:16:55 CEST 2007


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


More information about the PythonDotNet mailing list