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

Bug#733489: python-apt: Improve 'Dependency' and 'BaseDependency' to get target package versions that satisfy dependencies




On 01/06/2014 05:35 PM, Julian Andres Klode wrote:
It still needs test cases and documentation in doc, but should work. I
thus did not commit it.

That looks good to me. Do you intend to submit it?
If so I can make the needed apt_get.Dependency and apt.package.BaseDependency changes...

It does something completely different. The point of __dstr
is not to make the self.relation member something modern,
but to make client code that does
	dep.relation == "<<"
checks work.

You are correct. My proposal wouldn't work for this use case.

Now that we've discussed all this how about documenting BaseDependency.__dstr properly so that a reader knows what it is for?


Reply to: