Re: F21/F22 System Wide Change: Python 3 as the Default Implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21. 10. 2013 at 15:47:20, Mathieu Bridon wrote:
> On Mon, 2013-10-21 at 09:12 +0200, Jan Zelený wrote:
> > On 18. 10. 2013 at 09:35:36, Toshio Kuratomi wrote:
> > > Oh also -- I've been assuming that the DNF python2 bindings will be
> > > compatible with the yum API.  Is that the case?
> > 
> > Sort of. The problem is that while yum has some sort of API, there is no
> > official and well documented one, therefore some plugins and tools built
> > on top of yum use some of its internals. The plan in this area is to
> > define an API as similar to the old one as possible well before F21 and
> > then dedicate one whole release to adapt tools using yum to dnf.
> 
> Does it really have to be similar, though?

Well, there has to be some degree of compatibility so it does have to be 
similar, at least some of its parts. But that doesn't mean that it won't be 
extended.

> I wrote a tool based on the Yum API at $dayjob, as well as two plugins.
> 
> And I'll be honest, most of the Yum API is terrible. Or maybe it's just
> the fact that it's completely undocumented, and as a result I didn't use
> the "good" parts.
> 
> But if we're going to be changing the tool and the language completely,
> wouldn't it make more sense to design a nicer API at the same time?

It is and we are certainly going to do that. We just need to keep many parts 
of the old one for a transitional period.

If you have any suggestions regarding the API, feel free to contact Ales 
directly.

Thanks
Jan
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux