Nitish <nitis...@protonmail.com> added the comment: > For the right offset, I think we'll want to drop the initial XStrip call > added for bpo-32028 entirely, and instead calculate the right offset as a > PyUnicode_FindChar search for ";" (replacing it with the length of the input > string if the separator isn't found).
Are ';' and whitespace the only allowed characters following the print expression? ---------- nosy: +nitishch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32685> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com