1 Star 0 Fork 0

东旗极限/gensio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ISSUES 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
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.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/cndugi/gensio.git
git@gitee.com:cndugi/gensio.git
cndugi
gensio
gensio
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385