https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250379

--- Comment #6 from James French <ja...@french.id.au> ---
(In reply to Jan Beich from comment #5)

> Why is devel/py-contextlib2 disabled for python >= 3.8?

Officially Python 3.8+ are not on the supported versions list for contextlib2.
The last supported version is Python 3.7 see:
https://pypi.org/project/contextlib2/

It's python though, so unless it's doing something with a dropped/modified
stdlib it's not a huge surprise that it works fine.

> Why python 3.6 and 3.7 cannot use default "contextlib" instead of 
> "contextlib2"?

After a quick code review of what that library is pulled in for (cathing an
exception), they probably can. This version of CherryPy still has Python 2
support & contextlib2 is required for that. I'll apply the patch to python >
3.2 (earliest version that shipped with contextlib) and drop contextlib2 as a
dependency for those versions.

> Maybe combine into one file and document the patch origin in the header.

Can do, I'll submit an updated patch shortly that does all of the above.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to