[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public

Conversation

Copy link
Contributor

jdemeyer commented Jun 17, 2019

Thanks to #13973, the private function _PyObject_FastCall_Prepend is no longer used, so we can remove it.

Note that the implementation is actually buggy: it contains an off-by-1 error in the condition nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack) (forgetting to reserve space for the prepended argument). Since nargs was always at most 2 in all calls of this function, this bug was never noticed.

CC @methane

https://bugs.python.org/issue37231

methane merged commit 0456df4 into python:master Jun 17, 2019
jdemeyer deleted the bpo37231 branch June 17, 2019 12:16
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants