Alex Grönholm <alex.gronh...@nextday.fi> added the comment: I also couldn't figure out yet why PyUnicode_Check() was necessary in the first place. Doesn't PyObject_Str() just increment the refcount if the argument is already a string?
Eric, please explain why these changes should be done. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34270> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com