string
itself is not deprecated, just those methods like string.join
that are better accessed through a string object. You can still import string
, and get string.ascii_lowercase
for what you want.
pylint's reporting this as an error is a known bug - see http://www.logilab.org/ticket/2481.