Closed mbilal100 closed 4 years ago
Hi @mbilal100 , can you please provide a complete (but minimal) self-contained test exhibiting the error ? The code snippets above don't seem to involve Boost.Python
at all, so it isn't quite clear to me how the two would interact to cause this behaviour.
Hi @stefanseefeld
Sorry for the late reply, it is actually not a boost python issue but coming from the main Python C API. see https://bugs.python.org/issue41686
Hi,
I'm seeing very odd behavior of boost python3 on Windows host where
time.sleep()
function is not working. We're extending and embedding Python 3.8.2 with boost 1.64. Note, there is no issue found for Linux host.I have tested and confirmed that other Python time class function (i.e
time.time()
ortime.ctime()
etc ) are still be working fine but nottime.sleep()
, it is also confirmed that stand alone Python 3 time.sleep() is working on Windows.We have already successfully embedded, extended and using the python 2.7 with boost 1.64 for both Linux and Windows host, but because of Python 2 has now EOF that's why we are moving on Python 3.
Following are example output from Python script on both host.
When I run that on Linux I get correct:
But on Windows, I get:
Thanks, Muhammad Bilal Mentor, A Simens Business. muhammad_bilal@mentor.com