Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对拍器无法正常使用 #32

Closed
Alice-Zero opened this issue Dec 13, 2017 · 1 comment
Closed

对拍器无法正常使用 #32

Alice-Zero opened this issue Dec 13, 2017 · 1 comment
Assignees

Comments

@Alice-Zero
Copy link

环境:win7+py3
执行:Compare.program("a.exe", "b.exe", input=input_io,std_program="std.exe",stop_on_incorrect=True)
报错:TypeError: program() got an unexpected keyword argument 'stop_on_incorrect'
翻了一下commits记录,大概是对company.py进行了一些修改,对于传入的stop_on_incorrect参数进行调整,经检测,使用较早的版本中的company.py替换后可以正常使用。
//python不太会,只能提个issue啦;-)

@lin-toto lin-toto self-assigned this Dec 13, 2017
@lin-toto
Copy link
Member

由于现在使用了多线程比较器,这个参数已经不再使用(且也无法实现)。
为保证向后兼容稍后放出更新(但是唯一的作用就是接受此参数并给 warning ),稍后修正文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants