summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-22 00:52:07 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-22 00:52:07 +0300
commit918851e8365d0dac79eb2fa370c22f12379ff458 (patch)
treeea8b12dea4a0d1976362ef57462210fa23fcfe01 /unix
parenta1b442bc07798afb774acaaef391443d76104543 (diff)
downloadmicropython-918851e8365d0dac79eb2fa370c22f12379ff458.tar.gz
micropython-918851e8365d0dac79eb2fa370c22f12379ff458.zip
unix: Enable MICROPY_PY_STR_BYTES_CMP_WARN.
Also, fix a warning text (remove "duplicate" BytesWarning).
Diffstat (limited to 'unix')
-rw-r--r--unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 30441c9fd2..b5c65f7cfd 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -138,6 +138,7 @@
// names in exception messages (may require more RAM).
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)
#define MICROPY_WARNINGS (1)
+#define MICROPY_PY_STR_BYTES_CMP_WARN (1)
// Define to 1 to use undertested inefficient GC helper implementation
// (if more efficient arch-specific one is not available).