[chirp_devel] The End of Days - #495

Zhaofeng Li
Fri Feb 8 22:54:58 PST 2019


Hi,

After some struggle, I managed to port the Baofeng UV-B5 and TYT
TH-350 (subclass of UV-B5) drivers to Python 3, along with various
other fixes to the codebase. Attached is the patch.

I've tested uploading, downloading and saving with the TH-350 driver,
and someone should do it with UV-B5. They may very well be the first
drivers with NEEDS_COMPAT_SERIAL flipped to false :)

Thanks,
Zhaofeng Li

On Fri, Feb 8, 2019 at 7:08 PM Dan Smith via chirp_devel
<chirp_devel at intrepid.danplanet.com> wrote:
>
> > I still have most of the code for PyGObject. All of the UI works (tested quite thoroughly), but populating the list is a LOT slower, which I've been stuck on for a while and wanted to fix before putting it up. I'll clean it up a bit and drop the current version somewhere tonight, but if we want to use it, it'll take some effort to merge it with current work.
>
> That might be interesting to look at. There is also a giant monolithic patch in #6363 that has some pygi changes, but it pretty much doesn't work at all for me and seems like it might just be the result of running multiple autoconversion tools on the tree.
>
> What I have in the py3 branch does operate against PyGObject, using the pygtk compatibility layer. It's far from perfect, but it's close enough that I feel like it's a good option for the time being.
>
> If we get to the point of being able to run under py3 as well as py2, then converting to all native PyGObject would be good of course.
>
> --Dan
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py3.patch
Type: text/x-patch
Size: 17972 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20190208/8504227b/attachment-0001.bin 


More information about the chirp_devel mailing list