Am 19.06.2012 07:28, schrieb Martin Pitt: > Hello Manuel, > >> >From IntrospectionPorting wiki page [1] this is one of the features of >> Overrides "Another important case is automatic data type conversion, >> most prominently to allow passing unicode objects to methods which >> expect an UTF-8 encoded gchar*. This also actually helps to prevent >> workarounds in application code and maintain a clean API". > > Adding overrides for automatically converting unicode input values is > still fine. Changing return values is a no-go area (API break), please > see https://bugzilla.gnome.org/show_bug.cgi?id=663610 for a very > similar problem. >
Based on the discussions in this bug I created a page explaining the situation in python 2 and 3: http://python-gtk-3-tutorial.readthedocs.org/en/latest/unicode.html -- Sebastian Pölsterl
signature.asc
Description: OpenPGP digital signature
_______________________________________________ python-hackers-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/python-hackers-list
