Message161554
| Author |
schlamar |
| Recipients |
ezio.melotti, schlamar |
| Date |
2012年05月25日.06:49:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337928550.27.0.394572153469.issue14907@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a short example to reproduce the error:
>>> import socket, ssl
>>> sock = socket.socket()
>>> sock = ssl.wrap_socket(sock, cert_reqs=ssl.CERT_REQUIRED, ca_certs=u'ä.crt')
>>> sock.connect((None, None))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\ssl.py", line 322, in connect
self._real_connect(addr, False)
File "C:\Python27\lib\ssl.py", line 305, in _real_connect
self.ca_certs, self.ciphers)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 0:
ordinal not in range(128) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月25日 06:49:10 | schlamar | set | recipients:
+ schlamar, ezio.melotti |
| 2012年05月25日 06:49:10 | schlamar | set | messageid: <1337928550.27.0.394572153469.issue14907@psf.upfronthosting.co.za> |
| 2012年05月25日 06:49:09 | schlamar | link | issue14907 messages |
| 2012年05月25日 06:49:09 | schlamar | create |
|