[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Is this also applied to *all* ANSI Win32 API > in other sources? No. I think there are backwards compatibility concerns in some of the APIs, so this must be discussed on python-dev. -- ___ Python tracker

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I've committed in r86291(release31-maint). -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: > As for back-porting: I'm not sure this is a bug in 2.7. It just > doesn't support Unicode filenames, but that's not (inherently) > a bug. > In 3.1, I can agree that it's a bug - but we need to preserve the > bytes support for compatibility. I agree. > Fo

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: As for back-porting: I'm not sure this is a bug in 2.7. It just doesn't support Unicode filenames, but that's not (inherently) a bug. In 3.1, I can agree that it's a bug - but we need to preserve the bytes support for compatibility. For 3.2, dropping the byt

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I've committed in r86283(py3k). I'll merge this into release31-maint and release27-maint. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.6, Python 3.0 ___ Python

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I updated the patch. (I hope we can remove ANSI version of Win32 API, though) -- Added file: http://bugs.python.org/file19528/py3k_winsound_v2.patch ___ Python tracker _

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I agree. By the way, I created the patch for trunk experimentally. -- Added file: http://bugs.python.org/file14328/py2x_winsound.patch ___ Python tracker ___

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-21 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- priority: release blocker -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Even for 3k, I would defer this patch after the 3.1 release, as it is an incompatible change (requiring a Unicode string where a byte string was acceptable before). -- nosy: +loewis ___ Python tracker

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-20 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file14325/py3k_winsound.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-20 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Added file: http://bugs.python.org/file14326/py3k_winsound.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-20 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- priority: -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-20 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : winsound.PlaySound doesn't accept non-unicode string. Python 3.1rc2+ (py3k, Jun 14 2009, 14:07:51) [MSC v.1200 32 bit (Intel)] on win3 2 Type "help", "copyright", "credits" or "license" for more information. >>> import winsound >>> winsound.PlaySound("あ.wa