…tr in % string formatting operations
| PyObject *res; | ||
| if (PyUnicode_CheckExact(dividend) && ( | ||
| !PyUnicode_Check(divisor) || PyUnicode_CheckExact(divisor))) { | ||
| // fast path; string formatting, but not if the RHS is a str subclass |
There was a problem hiding this comment.
Do we support // ... style comments in 3.5?
There was a problem hiding this comment.
Ah, no, I forgot about C89 vs C99. 3.5 still supports C89 only so the comment will have to be updated.
…into bpo28598_backport_3.5
This commit makes calls to an initialiser method (__init__(self)) stackless, if soft switching is enabled. https://bitbucket.org/stackless-dev/stackless/issues/94 (grafted from dc2e43c1dbd20f279704c287eb0e2b69e0d14c7f and 43fa00988749)
Backport of #51