Python throws a ZeroDivisionError exception when the yaml library is used. Fix: The following patch from the Py-Yaml website fixes the problem. How-To-Repeat: Try 'import yaml' in Python. % python Python 2.4.2 (#2, Feb 20 2006, 21:55:20) [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4 Type "help", "copyright", "credits" or "license" for more information. >>> import yaml Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.4/site-packages/yaml/__init__.py", line 8, in ? from loader import * File "/usr/local/lib/python2.4/site-packages/yaml/loader.py", line 8, in ? from constructor import * File "/usr/local/lib/python2.4/site-packages/yaml/constructor.py", line 187, in ? class SafeConstructor(BaseConstructor): File "/usr/local/lib/python2.4/site-packages/yaml/constructor.py", line 235, in SafeConstructor nan_value = inf_value/inf_value ZeroDivisionError: float division
Responsible Changed From-To: freebsd-ports-bugs->jkoshy Submitter has GNATS access
State Changed From-To: open->feedback Awaiting maintainers feedback
Please commit that patch. Regards, Neal Nelson. On Fri, 2006-06-16 at 12:16 +0000, Edwin Groothuis wrote: > Maintainer of devel/py-yaml, > > Please note that PR ports/99009 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/99009 >
State Changed From-To: feedback->closed Patch applied, thank you for your quick review.