Created
June 14, 2016 07:35
-
-
Save ggarlic/9e57ed26495112cf073cd596467a7346 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/ceval.c b/ceval.c | |
| index 06ada97..27a929b 100644 | |
| --- a/ceval.c | |
| +++ b/ceval.c | |
| @@ -4781,6 +4781,7 @@ static PyObject * | |
| string_concatenate(PyObject *v, PyObject *w, | |
| PyFrameObject *f, unsigned char *next_instr) | |
| { | |
| + printf("\ncalling string_concatenate\n"); | |
| /* This function implements 'variable += expr' when both arguments | |
| are strings. */ | |
| Py_ssize_t v_len = PyString_GET_SIZE(v); | |
| @@ -4853,6 +4854,7 @@ string_concatenate(PyObject *v, PyObject *w, | |
| } | |
| else { | |
| /* When in-place resizing is not an option. */ | |
| + printf("no place for resizing, will call string_concat\n"); | |
| PyString_Concat(&v, w); | |
| return v; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment