diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-22 00:52:07 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-22 00:52:07 +0300 |
commit | 918851e8365d0dac79eb2fa370c22f12379ff458 (patch) | |
tree | ea8b12dea4a0d1976362ef57462210fa23fcfe01 /unix | |
parent | a1b442bc07798afb774acaaef391443d76104543 (diff) | |
download | micropython-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.h | 1 |
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). |