[issue34998] Logging formatter validation breaks backward ducktyping

2018-10-17 Thread P.C. Kroon
P.C. Kroon added the comment: Hi Vinay, thanks for the feedback. I agree with your arguments and find an alternative solution. Peter -- ___ Python tracker <https://bugs.python.org/issue34

[issue34998] Logging formatter validation breaks backward ducktyping

2018-10-16 Thread P.C. Kroon
New submission from P.C. Kroon : Hi all! This concerns commit 18fb1fb943b7dbd7f8a76017ee2a67ef13effb85 (also known as bpo-34844 or GH-9703). For testing purposes I made something that transparently ducktypes being a string, except that it counts how often its `format` and `__mod__` methods