New submission from Dong-hee Na <donghee.n...@gmail.com>:
I've found this comments. // TODO length should be size_t! but Python doesn't support parsing size_t yet. (https://github.com/python/cpython/blob/279f44678c8b84a183f9eeb85e0b086228154497/Modules/posixmodule.c#L8830) I don't know when this comment was created. But at this point, it seems to provide that functionality. It can be simply solved through the clinic. How about updating this argument to be size_t and remove the TODO comment? ---------- components: Library (Lib) messages: 353107 nosy: corona10, serhiy.storchaka, vstinner priority: normal severity: normal status: open title: Update os.pread to accept the length type as size_t versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38265> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com