python-memcached
python-memcached copied to clipboard
SyntaxWarnings with Python 3.8
Hi,
I've recently updated to Python 3.8 and python-memcached now emits 2 syntax warnings:
memcache.py:1303: SyntaxWarning: "is" with a literal. Did you mean "=="?
if key is '':
memcache.py:1304: SyntaxWarning: "is" with a literal. Did you mean "=="?
if key_extra_len is 0:
Would be great if you could fix this… and publish a patch-version on pypi!
Best regards
Same here!
Also Getting this issue.
I have created https://github.com/linsomniac/python-memcached/pull/178 to fix this
Thanks @tirkarthi !
Is there anybody who can merge it?
The same problem.
Was this fixed? Can it be closed? https://github.com/linsomniac/python-memcached/blob/5c5cb1bc965c941f93b166d7ab2c055e3d8261e0/memcache.py#L1309-L1310
I agree with @cclauss that this has been resolved, closing.