Search

R23을 위한 Remote Code Runner

요약
Remote Code Runner 을 23버전까지 작동하도록 수정하기
분류
plugin
태그
python
작성일
2020/11/18
1 more property
remote_code_runner.pyp 파일을 아래처럼 수정해주세요.

exec → exec()

# 144 line exec(code, scope)
Python
복사

print → print()

# 309 line print ("Binding Remote Code Executor Server to {0}:{1} ...".format(host, port)) # 313 line print ("Failed to bind to {0}:{1}".format(host, port)) # 331 line print ("Shutting down Remote Code Executor Server thread ...") # 348 line print ("RemoteCodeRunner: running", source)
Python
복사

bytes → str

# 158 line line = line.decode('utf-8')
Python
복사

테스트 환경

macOS Big Sur , R21.207 , R22.123 , R23.110