Inada Naoki <songofaca...@gmail.com> added the comment:
I think it's bad idea that suppressing deprecation warning to suppress the warning for deprecated member. It is highly recommended to "not" touching tp_print. Why you want to suppress deprecation warning, not missing field initialisers? You can suppress the warninb by `-Wno-missing-field-initializers` compiler option or `#pragma GCC diagnostic ignored "-Wmissing-field-initializers"`. ---------- nosy: +inada.naoki _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37588> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com