This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients culler, serhiy.storchaka, terry.reedy
Date 2017-05-12.21:20:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494624048.17.0.246583557274.issue30310@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-12 21:20:48terry.reedysetrecipients: + terry.reedy, culler, serhiy.storchaka
2017-05-12 21:20:48terry.reedysetmessageid: <1494624048.17.0.246583557274.issue30310@psf.upfronthosting.co.za>
2017-05-12 21:20:48terry.reedylinkissue30310 messages
2017-05-12 21:20:48terry.reedycreate