Terry J. Reedy added the comment:
Marc, In the future please copy and paste such text interactions instead of
posting an image.
A 'crash' on Windows is when one gets the Windows' Error messagebox 'You
application has stopped working.'
Since the exception comes from trying to encode non-ascii unicode to bytes, I
would expect the condition in the fix to be
+ if isinstance(v, unicode):
+ options.append(v.encode('utf8'))
instead of the str/decode version in your patch.
If v is already a string (of ascii bytes), I think it should just be appended
as is. Anyway, Serhiy can decide what to do.
----------
nosy: +serhiy.storchaka, terry.reedy
stage: -> patch review
type: crash -> behavior
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30310>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com