Merge lp:~vila/bzr/2.2-693880-ssl-readline into lp:bzr/2.2
| Status: | Merged |
|---|---|
| Approved by: | John A Meinel on 2011-01-03 |
| Approved revision: | 5119 |
| Merge reported by: | Vincent Ladeuil |
| Merged at revision: | not available |
| Proposed branch: | lp:~vila/bzr/2.2-693880-ssl-readline |
| Merge into: | lp:bzr/2.2 |
| Diff against target: |
46 lines (+16/-9) 2 files modified
NEWS (+3/-0) bzrlib/transport/http/_urllib2_wrappers.py (+13/-9) |
| To merge this branch: | bzr merge lp:~vila/bzr/2.2-693880-ssl-readline |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| John A Meinel | Approve on 2011-01-03 | ||
| Jelmer Vernooij (community) | code | 2010-12-24 | Approve on 2010-12-24 |
|
Review via email:
|
|||
Commit Message
Fix https compatibility with python2.7
Description of the Change
Bug #693880 broke the workaround describe in the patch (I won't copy it here :).
This came with the dev version that recently landed in natty.
Long story short, this is somewhat critical as it breaks https access, so the sooner we land it the better.
Since the patch is small, I targeted 2.2 so we won't have to backport in a hurry if people upgrade to python2.7 while using a stable version, but I think we may have released 2.3 when the corresponding change is released in python.
The most likely to encounter this problem are early natty adopters, so I'll make sure this get included in 2.3b5 asap and may release it on 2011-01-06 as previously planned.
I've tested this fix on babune again python 2.4, 2.5 and 2.7 and locally on 2.6.
- 5119. By Vincent Ladeuil on 2010-12-24
-
Clarify the fix intent.
| Vincent Ladeuil (vila) wrote : | # |
sent to pqm by email
| Martin Packman (gz) wrote : | # |
Test? I didn't get any complaint about this code locally, not sure if that means it's untested or if it's not exercised without paramiko or something.
| John A Meinel (jameinel) wrote : | # |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/24/2010 11:22 AM, Vincent Ladeuil wrote:
> Vincent Ladeuil has proposed merging lp:~vila/bzr/2.2-693880-ssl-readline into lp:bzr/2.2.
>
> Requested reviews:
> bzr-core (bzr-core)
>
> For more details, see:
> https:/
>
> Bug #693880 broke the workaround describe in the patch (I won't copy it here :).
>
> This came with the dev version that recently landed in natty.
>
> Long story short, this is somewhat critical as it breaks https access, so the sooner we land it the better.
>
> Since the patch is small, I targeted 2.2 so we won't have to backport in a hurry if people upgrade to python2.7 while using a stable version, but I think we may have released 2.3 when the corresponding change is released in python.
>
> The most likely to encounter this problem are early natty adopters, so I'll make sure this get included in 2.3b5 asap and may release it on 2011-01-06 as previously planned.
>
> I've tested this fix on babune again python 2.4, 2.5 and 2.7 and locally on 2.6.
It is only missing a comment on why the version check has to exist. (on
version X size is not accepted, in version Y size is being passed by
default.)
Other than that:
merge: approve
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk0
5KwAoKfyTKWeTzS
=rrZm
-----END PGP SIGNATURE-----
| Vincent Ladeuil (vila) wrote : | # |
sent to pqm by email

Thanks for fixing this!
An inline comment explaining why this hack is necessary (and mentioning SSLFile) would be nice.