[python-bugzilla] Patch for Python 3 Support
Toshio Kuratomi
a.badger at gmail.com
Tue Jun 26 18:20:30 UTC 2012
On Tue, Jun 26, 2012 at 01:08:02PM -0400, Ralph Bean wrote:
> On Mon, Jun 25, 2012 at 10:39:48PM -0700, Toshio Kuratomi wrote:
>
> Here's my list of updated patches (including a rename of my original).
> I kept them separated out instead of rebasing just to preserve
> history and make them easier to cherry-pick.
>
> http://threebean.org/patches/python-bugzilla/0001-Python3-support.patch
> http://threebean.org/patches/python-bugzilla/0002-Replace-str-foo-with-six.text_type-foo.patch
> http://threebean.org/patches/python-bugzilla/0003-Rewrite-two-loops-as-one-generator.patch
> http://threebean.org/patches/python-bugzilla/0004-Regression-fix.patch
> http://threebean.org/patches/python-bugzilla/0005-Always-return-bytestrings-from-to_encoding.patch
>
These look good to me.
> > * Needs python-2.6 or greater (as python-2.5 doesn't have from __future__
> > import print_function, the new format of "except Foo as bar:", and
> > relative imports)
>
> This is correct. Can anyone comment on what python versions
> python-bugzilla is required to support? EPEL6 is on python-2.6 now.
>
So this question and whether adding the dep on python-six is okay are the
questions that need answering.
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://fedorahosted.org/pipermail/python-bugzilla/attachments/20120626/1bd75c36/attachment.sig>
More information about the python-bugzilla
mailing list