homepage

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 ahasenack
Recipients ahasenack, gvanrossum, janssen, loewis
Date 2007年12月11日.12:52:27
SpamBayes Score 0.054621372
Marked as misclassified No
Message-id <1197377548.17.0.59295101132.issue1581@psf.upfronthosting.co.za>
In-reply-to
Content
The only difference between xmlrpclib.py from trunk and 2.5.1 is in the
Marshaller class. Unrelated, as far as I can see.
Note that it seems that the intent of the original code was to support
this x509-dict all along:
$ grep -n x509 xmlrpclib.py.trunk
1224: # Host may be a string, or a (host, x509-dict) tuple; if a string,
1228: # @param host Host descriptor (URL or (URL, x509 info) tuple).
1230: # x509 info). The header and x509 fields may be None.
1234: x509 = {}
1236: host, x509 = host
1251: return host, extra_headers, x509
1262: host, extra_headers, x509 = self.get_host_info(host)
1282: host, extra_headers, x509 = self.get_host_info(host)
1362: # host may be a string, or a (host, x509-dict) tuple
1364: host, extra_headers, x509 = self.get_host_info(host)
1372: return HTTPS(host, None, **(x509 or {}))
Basically just the ServerProxy constructor doesn't support it. One would
have to create a new class with a new constructor just because of it.
That's why I opened this ticket.
History
Date User Action Args
2007年12月11日 12:52:28ahasenacksetspambayes_score: 0.0546214 -> 0.054621372
recipients: + ahasenack, gvanrossum, loewis, janssen
2007年12月11日 12:52:28ahasenacksetspambayes_score: 0.0546214 -> 0.0546214
messageid: <1197377548.17.0.59295101132.issue1581@psf.upfronthosting.co.za>
2007年12月11日 12:52:28ahasenacklinkissue1581 messages
2007年12月11日 12:52:27ahasenackcreate

AltStyle によって変換されたページ (->オリジナル) /