[New-bugs-announce] [issue44943] Integrate PyHyphen into the textwrap module?

Elsie Hupp report at bugs.python.org
Tue Aug 17 23:58:11 EDT 2021


New submission from Elsie Hupp <python at elsiehupp.com>:

PyHyphen is a mature library that wraps the existing CPython `textwrap` module and provides the ability to break and hyphenate words in wrapped text.

PyHyphen is on PyPI here:

https://pypi.org/project/PyHyphen/

And on GitHub here:

https://github.com/dr-leo/PyHyphen

While the PyPI page and the README file say that PyHyphen uses an Apache 2.0 License, the GitHub repository says that it uses a GPL 2.0/LGPL 2.1/MPL 1.1 tri-license:

https://github.com/dr-leo/PyHyphen/blob/master/LICENSE.txt

To what extent would it be feasible to integrate PyHyphen's enhancements into the core `textwrap` module? It is my understanding that the `textwrap` itself began life as a third-party module, which would suggest that such integrations are somewhat precedented.

I'm not experienced enough to know how to do a pull request myself, and I don't understand the legal details well enough to know if PyHyphen is license-compatible with CPython.

----------
messages: 399819
nosy: elsiehupp
priority: normal
severity: normal
status: open
title: Integrate PyHyphen into the textwrap module?
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44943>
_______________________________________


More information about the New-bugs-announce mailing list