As a result, I moved to the elisp package I was working with. The problem is that if you add
(setq comment-start "FOO")
(setq comment-end "BAR")
your-mode-hook, , comment-start, comment-end, comment-end, . , python-mode :
, . , :
(add-hook 'your-mode-hook
(lambda ()
(set (make-local-variable 'comment-start) "FOO")
(set (make-local-variable 'comment-end) "BAR")))
'comment-end.