[docs] [issue12434] Strengthen 2.7 io types warning

Terry J. Reedy report at bugs.python.org
Tue Jul 12 04:34:55 CEST 2011

Terry J. Reedy <tjreedy at udel.edu> added the comment:

My original suggestion is a minimal change suggestion. I do not have much opinion on what the maximum change 'should' be.

It would obviously be nice from a user viewpoint if the error message were backported to say "unicode argument expected, got 'str'". Then the note change might not be needed. But I do not know if the particular message is an accident or part of a policy of not fully backporting the code (to aid future patching?), or whether there are other messages that would need the same treatment.

The module docstring shown by help(io) does not have the terminology note to be augmented.


Python tracker <report at bugs.python.org>

More information about the docs mailing list