diff options
author | Guido van Rossum <guido@python.org> | 1997-01-02 22:52:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-01-02 22:52:15 (GMT) |
commit | 6083f0e9ce84de9f8b3aa0531a833b9de285438d (patch) | |
tree | baffb375cefa3b743f0e66722dbf99088126cc67 /Lib/pipes.py | |
parent | 07ef655222e4db5ad4e5fff68b35d05e4ff713a2 (diff) | |
download | cpython-6083f0e9ce84de9f8b3aa0531a833b9de285438d.zip cpython-6083f0e9ce84de9f8b3aa0531a833b9de285438d.tar.gz cpython-6083f0e9ce84de9f8b3aa0531a833b9de285438d.tar.bz2 |
Use the new struct module's ability to pack and unpack standardized
data formats. The _xdr module is no longer used, since struct
supports the required IEEE floats and doubles.
(I have one doubt about not using _xdr. The struct module doesn't
handle Inf, NaN and gradual underflow correctly. If the _xdr module
does these things better, it may still have a (small) competitive
advantage. On the other hand, since not all platforms support IEEE
floating point, it's not clear that it would be a good idea to ever
transfer Inf or NaNs. Gradual underflow can be fixed in the struct
module.
Diffstat (limited to 'Lib/pipes.py')
0 files changed, 0 insertions, 0 deletions