Message376839
Ah, also see https://bugs.python.org/issue21071#msg292409 where the same thing was mentioned as part of another issue as well.
After some discussions in the Python IRC channel, I guess it's acceptable for dicts to raise a ByteWarning here - after all, there *is* a comparison between str/bytes going on here. It might be an implementation detail, but so is e.g. b'a' in ['a'] and I'd certainly expect that to give me a warning/error with -b/-bb.
So I guess if struct continues to accept bytes as format string, it should probably decode them to ASCII or something before interacting with the cache? |
|
Date |
User |
Action |
Args |
2020-09-13 14:24:57 | The Compiler | set | recipients:
+ The Compiler, mark.dickinson, meador.inge, serhiy.storchaka, tadeu |
2020-09-13 14:24:57 | The Compiler | set | messageid: <1600007097.15.0.00117569585148.issue41777@roundup.psfhosted.org> |
2020-09-13 14:24:57 | The Compiler | link | issue41777 messages |
2020-09-13 14:24:57 | The Compiler | create | |
|