Custom Query (132 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (4 - 6 of 132)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#5 fixed PYYAML3000 does not load recursive structures. xi pkmurphy@…

Reported by pkmurphy@…, 8 years ago.

Description

PYYAML does not load any structure with an anchor that contains its own alias. For example:

ourconst2 = "---\n!!seq &base [ *base ] \n...\n"; print ourconst2; for event in yaml.parse(ourconst2): print event ourload = yaml.safe_load(ourconst2) print ourload;

#6 fixed pyyaml 3000 is not in the Python cheese shop xi dholth@…

Reported by dholth@…, 8 years ago.

Description

Also consider this word of wisdom from PEP 8: "Modules should have short, lowercase names, without underscores."

Thanks!

#7 fixed doubles represented as .nan xi anonymous

Reported by anonymous, 8 years ago.

Description

in python2.3.5: yaml.dump(10.24) will provide .nan

the source of it lay in the python 2.3 .nan handling, it is equal to any float:

inf_value = 1e300000 nan = inf_value/inf_value

nan == 5.6 and nan = 5006.78 --> True

after i did change a line in representer.py

from: elif data == self.nan_value or data != data:

to: elif str(data) == str(self.nan_value) or data != data:

yaml.dump -- provide correct handling of floats.

thanks ....

1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.