sdgathman / pymilter

Python bindings for libmilter api
GNU General Public License v2.0
42 stars 22 forks source link

Don't put sgmllib back in public namespace #21

Closed kitterma closed 5 years ago

kitterma commented 5 years ago

Since sgmllib was removed in Py3K, it would be better not to add it back as an external module. If you move it from the top level directory into the Milter sub-directory and then apply the attached patch, the public sgmllib will be used for python2 and the internal one will be used for python3.

kitterma commented 5 years ago

internal_sgmllib.txt

sdgathman commented 5 years ago

Good idea. Applied in https://github.com/sdgathman/pymilter/commit/55e5378659e6ed54e72d88f80043942944b38f3f