[pypy-commit] [Git][pypy/pypy][branch/py3.8] fix #3555: when doing classic %-stringformatting and the right hand operand is

Carl Friedrich Bolz-Tereick (@cfbolz) foss at heptapod.net
Wed Sep 22 08:43:06 EDT 2021



Carl Friedrich Bolz-Tereick pushed to branch branch/py3.8 at PyPy / pypy


Commits:
7bb80900 by Carl Friedrich Bolz-Tereick at 2021-09-22T14:42:39+02:00
fix #3555: when doing classic %-stringformatting and the right hand operand is
a subclass of a tuple, still treat it like a tuple and ignore __iter__ (and
__getitem__ etc)

--HG--
branch : py3.8

- - - - -


3 changed files:

- pypy/objspace/std/formatting.py
- pypy/objspace/std/test/apptest_stringformat.py
- pypy/objspace/std/test/test_bytesobject.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/7bb809008e25a8222593047ced253378be4f7776

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/7bb809008e25a8222593047ced253378be4f7776
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20210922/7d2a27fa/attachment.html>


More information about the pypy-commit mailing list