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 guohua
Recipients guohua
Date 2015-01-22.11:50:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421927408.72.0.18242677241.issue23300@psf.upfronthosting.co.za>
In-reply-to
Content
Following the issue 7776, there is a patch for 2.7 version.

Which changes the method of class HTTPConnection from "_set_hostport" to "_get_hostport"[1], it seems introduce in some incompatibility issues.

On my system, the file "/usr/lib64/python2.7/site-packages/mercurial/url.py" from package mercurial-3.0-2.fc21 still use the old method "_set_hostport". I met an error "AttributeError: httpsconnection instance has no attribute '_set_hostport'" when use this package. I only see this incompatibility issue so far.

And in the file httplib.py itself, [2] still use "self._conn._set_hostport(host, port)", which should be "self._conn._get_hostport(host, port)" if it's settled to rename "_set_hostport" to "_get_hostport".

[1] https://github.com/python/cpython/blob/2.7/Lib/httplib.py#L743
[2] https://github.com/python/cpython/blob/2.7/Lib/httplib.py#L1132
History
Date User Action Args
2015-01-22 11:50:08guohuasetrecipients: + guohua
2015-01-22 11:50:08guohuasetmessageid: <1421927408.72.0.18242677241.issue23300@psf.upfronthosting.co.za>
2015-01-22 11:50:08guohualinkissue23300 messages
2015-01-22 11:50:08guohuacreate