Serhiy Storchaka added the comment:

In other languages usually the world "coercion" is used for implicit 
conversion, i.e. int->long, int->float, float->complex. str->unicode in Python 
2 (that's what PyUnicode_FromObject() does). But the last conversion is not 
supported in Python 3. The term "coercion" has also been used in Python 2 in 
the narrow sense (see the __coerce__() method), and in this sense Python 3 does 
not support "coercion". Therefore, I believe that it is better to avoid the use 
of this term.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15984>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to