summaryrefslogtreecommitdiff
path: root/odoo/tools/float_utils.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-08-22 14:47:21 +0200
committerXavier Morel <xmo@odoo.com>2017-08-23 14:34:50 +0200
commit8361ec881920b6f26e86ced0483e5a0b81c60954 (patch)
treec470671943ba316f4595678564e32458240f27ea /odoo/tools/float_utils.py
parent1cec339092073da3371f3b7139313d3b184cf6d1 (diff)
[FIX] phantomjs for p3
P2 and P3 subprocess stdout seem to have very odd/different behaviours in the face of mixing select and buffering. Use raw/low-level IO (os.read) with select to try and fix that up. Also read more than one byte at a time since os.read will not block *if* the fd is readable, it will just get whatever data is immediately available.
Diffstat (limited to 'odoo/tools/float_utils.py')
0 files changed, 0 insertions, 0 deletions