Open
【22.03 LTS】【arm/x86】jython -E 选项未忽略相关环境变量 #5
zubinshuo2Add on Aug 8, 2022
Aug 8, 2022 创建了缺陷
openeuler-ci-bot
Aug 8, 2022 Comments:
Aug 8, 2022 Comments:
Hi zubinshuo2, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-Java, and any of the maintainers: @rita_dong , @sinever , @wangchong1995924 , @luo-haibo , @caodongxia , @cherry530


Aug 8, 2022 添加了
sig/sig-Java
标签
Aug 8, 2022 修改了描述
Aug 8, 2022 修改了标题
Aug 8, 2022 修改了描述
【标题描述】

软件描述:
-E : ignore environment variables (such as JYTHONPATH)
在实际测试中 -E 选项未忽略相关的环境变量
【环境信息】
【问题复现步骤】
dnf install -y jython
export JYTHONPATH=/test
jython -E -c "import sys; print(sys.path.contains('/test'))"
出现概率(是否必现,概率性错误):必现
【预期结果】
返回False
【实际结果】
返回True!
【附件信息】
预期