Changes between Initial Version and Version 1 of Ticket #14
- Timestamp:
- 05/15/06 14:49:36 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14
- Property Status changed from new to closed
- Property Resolution changed from to fixed
-
Ticket #14 – Description
initial v1 1 1 Trying to import YAML fails in Python 2.5. Even simple patches 2 fail, because the root cause is that NaNs and INFs cannot be2 fail, because the root cause is that !NaNs and INFs cannot be 3 3 marshalled/unmarshalled. Marshalling is used to save and restore 4 4 compiled python modules, so a tested module can work initially, 5 5 but later fail to load (when not from source). 6 6 7 When handling INFs and NaNs, you need to be careful. 1e300000 is7 When handling INFs and !NaNs, you need to be careful. 1e300000 is 8 8 not a safe way to represent infinity, and fails to pickle/unpickle 9 9 safely from manifest constants. Different C runtimes represent 10 the text for INFs and NaNs differently. Since Python 2.5 folds10 the text for INFs and !NaNs differently. Since Python 2.5 folds 11 11 constants, a simple expression won't solve the problem. 12 12
