[PATCH] [0.13] Bug #74759

John A Meinel john at arbash-meinel.com
Thu Dec 7 15:37:58 GMT 2006


John Arbash Meinel has voted +1 (conditional).
Status is now: Semi-approved
Comment:
You don't need to import 'base64'. You can just do:
string.encode('base64')

I just found out about that recently, though. So there is probably lots of other code that does 'import base64'.

It is a shame that we have to re-implement most of urllib2 to get connection sharing to work. Are we able to send any of this stuff upstream to get it integrated into python 2.6?

For details, see: http://bundlebuggy.aaronbentley.com/request/%3C87d56vg87j.fsf%40alplog.fr%3E




More information about the bazaar mailing list