[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-18 Thread Roundup Robot
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

[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-17 Thread STINNER Victor
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

[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-17 Thread STINNER Victor
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

[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-17 Thread Remi Pointel
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 ___

[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-17 Thread STINNER Victor
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

[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-17 Thread STINNER Victor
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

[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-17 Thread Roundup Robot
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 -