Hi,

Someday, we'll have to switch (or write a new module).
If we merge the easy bits first, it will be much easier.

Q: Why urlgrabber?
A: It's going to be used by both Yum and DNF, and is relatively
small- a nice test bed to test how far one could get.

Q: Does it now run under Python3?
A: No, as pycurl does not provide Python3 bindings yet.  But it
compiles and inits cleanly when the pycurl module is mocked up.
I expect it will run after minimal changes.

Q: Does it still run under Python2?
A: Yes, that was the main focus.  Python 2.6+ is required.

[PATCH 1/4] python3-compat: raise

Patch all raise statements to use the new 1-arg syntax

[PATCH 2/4] python3-compat: except

Patch all except statements to use the new 'as' syntax.

[PATCH 3/4] python3-compat: print

Turn the print function on, and use it.

[PATCH 4/4] python3-compat: handle renamed modules and types

Handle the random renaming of python modules.
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to