[C++-sig] Some thoughts on py3k support
Stefan Seefeld
seefeld at sympatico.ca
Wed Mar 18 19:18:03 CET 2009
Haoyu Bai wrote:
>
> Yes of course we should allow users to set policy. So the problem is
> what the default behavior should be when there is no policy set by
> user explicitly. The candidates are:
>
> - raise an error
> - convert char* and std::string to/from Python bytes
> - convert char* and std::string to/from Python 3 unicode string.
>
> I personally like the last one because it would keep most of the
> existing code compatible.
>
I agree.
Thanks,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the Cplusplus-sig
mailing list