Message266018
Alright, I think I know what's going on here -- this seems to be a bug of functools.lrucache. Serhiy, would you be able to look into this?
Testcase:
test.py:
import functools
@functools.lru_cache()
def foo(a):
return
foo('')
foo(b'')
$ python3.5 -bb test.py
Traceback (most recent call last):
File "test.py", line 8, in <module>
foo(b'')
BytesWarning: Comparison between bytes and string |
|
Date |
User |
Action |
Args |
2016-05-21 19:56:01 | yselivanov | set | recipients:
+ yselivanov, rhettinger, vstinner, berker.peksag, serhiy.storchaka |
2016-05-21 19:56:01 | yselivanov | set | messageid: <1463860561.27.0.0909732491549.issue27077@psf.upfronthosting.co.za> |
2016-05-21 19:56:01 | yselivanov | link | issue27077 messages |
2016-05-21 19:56:01 | yselivanov | create | |
|