Only escape str-like arguments passed to warnings

Fix #2956
This commit is contained in:
Bruno Oliveira
2017-11-27 23:07:29 -02:00
parent d95c8a2204
commit 796db80ca4
3 changed files with 17 additions and 1 deletions

1
changelog/2956.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix regression with warnings that contained non-strings in their arguments in Python 2.