Custom Query (121 matches)
Results (19 - 21 of 121)
|#102||fixed||remove confusing comment||xi||py4fun@…|
please remove confusing comment in parser (generators are not used in parser)
|#70||worksforme||really slow on large input ...||xi||lal.george@…|
yaml.load appears to be really (really) slow on large input. My string is
Both the input and output are fairly simple. Why does it take a long time to parse?
|#157||invalid||pyyaml-3.09 dumps core||xi||rich@…|
I'm not sure how to provide a small demonstration here.
In the "spread" module, (SpreadModule? on pypi), there is a type spread.MembershipMsg? which contains a "group_id", spread.MembershipMsg?.group_id. The group_id is an opaque type. I'm not sure how to generate one of these easily aside from bringing up a spread system, which seems like overkill.
In any case, attempting to serialize this opaque type with pyyaml results in a python core dump.
I recognize that pyyaml can't possibly know how to serialize or unserialize this sort of object. However, I think that attempting to do so should result in a suitable exception rather than an interpreter core dump.
I'll find another way around my problem. But chasing down this dump took me a couple of days. If it had been an exception, I'd have found the problem in minutes.