代码拉取完成,页面将自动刷新
This is just a bunch of pending issues, mostly with Windows because
Windows is a royal pain.
For python, there is an issue if you get an exception and another
python callback gets called. The exception is cleared by the new
python call so it is lost. So even though exceptions are propagated
back through the C/C++ code, they can still get lost. You can see
this in test_mdns.py if there are multiple callbacks to mdns_cb.
There is not an easy workaround, it is probably better to catch
exceptions in all callbacks.
On Windows, a new pty spews out a bunch of terminal control stuff and
messes things up for testing and for things like rsync. Some way to
disable this is needed. This breaks test_pty_basic.py. See
https://learn.microsoft.com/en-us/answers/questions/1336932/a-new-device-with-createpseudoconsole()-sends-a-bu?comment=question
You get strange behavior from Windows stdio if you have the console
you are using in raw mode on the console and open another program
using stdio. For instance:
$ gensiot -i stdio(self,raw) stdio,cmd
Microsoft Windows [Version 10.0.19045.3208]
(c) Microsoft Corporation. All rights reserved.
C:\msys64\home\cminyard\gensio>
but you can't type anything. If you take out the "raw", it works, but
then you get the undesirable side effects of a non-raw console. And
it makes running programs from an application a program if the
application is in raw mode.
On Windows, python tests pull gensios from the installed directory,
not from the local directory. This is because Windows always loads
shared libraries first from the directory the original program ran in,
and if you have gensio installed, it's going to be in the same
directory as python. So if you have gensio installed this way, you
have to install it again before you run tests.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。