[New-bugs-announce] [issue38265] Update os.pread to accept the length type as size_t
Dong-hee Na
report at bugs.python.org
Tue Sep 24 14:14:15 EDT 2019
New submission from Dong-hee Na <donghee.na92 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38265>
_______________________________________
More information about the New-bugs-announce
mailing list