Roundup Robot added the comment:
New changeset 6c186975ee43 by Victor Stinner in branch 'default':
Issue #20656: Restore explicit downcast in select_select().
http://hg.python.org/cpython/rev/6c186975ee43
--
___
Python tracker rep...@bugs.python.org
New submission from STINNER Victor:
select.select() doesn't work on OpenBSD 64-bit because timeval.tv_sec is a
long, whereas Python uses a time_t.
Attached patch should fix this issue.
--
messages: 211410
nosy: belopolsky, haypo, neologix, rpointel
priority: normal
severity: normal
STINNER Victor added the comment:
Hum, Python 3.3 seems to be also affected. Nobody tried Python 3 on OpenBSD
since at lease Python 3.2?
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20656
Remi Pointel added the comment:
Hi,
I think you forgot to attach the diff.
Python 3.3 is in OpenBSD since 5.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20656
___
STINNER Victor added the comment:
I think you forgot to attach the diff.
Oops.
Python 3.3 is in OpenBSD since 5.4.
So you should work more with upstream (Python) ;-) = see issue #20657
--
keywords: +patch
Added file: http://bugs.python.org/file34118/pytime_objectotimeval.patch
STINNER Victor added the comment:
Python 3.3 is in OpenBSD since 5.4.
Oh, it looks like select.select() works fine when I install Python 3.3 from
OpenBSD. It's maybe a regression of Python 3.4?
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 79ccf36b0fd0 by Victor Stinner in branch 'default':
Close #20656: Fix select.select() on OpenBSD 64-bit
http://hg.python.org/cpython/rev/79ccf36b0fd0
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open -