[Python-Dev] Unanswered reactions to python-checkins

Hirokazu Yamamoto ocean-city at m2.ccsnet.ne.jp
Sun Dec 5 17:12:15 CET 2010

On 2010/12/05 23:19, Éric Araujo wrote:
> Me, about a change to winsound.PlaySound:
>>   Extension Modules
>>   -----------------
>> +- Issue #6317: Now winsound.PlaySound only accepts unicode.
>> +
>>   - Issue #6317: Now winsound.PlaySound can accept non ascii filename.
> I think the new entry should have replaced the older: “only accepts”
> trumps “can accept“.

This is two difference thing. Ordinary winsound.PlaySound accepted both
bytes and str, but cannot accept non ascii filename. Now it accepts
only str, but can accept non ascii filename.

I can read "can accept" as "can accept str, but also bytes", but this
is not true.

More information about the Python-Dev mailing list