generate De Bruijn sequence memory and string vs lists
Vincent Davis
vincent at vincentdavis.net
Thu Jan 23 15:51:03 EST 2014
On Thu, Jan 23, 2014 at 2:36 PM, Mark Lawrence <breamoreboy at yahoo.co.uk>wrote:
> FTR string.maketrans is gone from Python 3.2+. Quoting from
> http://docs.python.org/dev/whatsnew/3.2.html#porting-to-python-3-2 "The
> previously deprecated string.maketrans() function has been removed in favor
> of the static methods bytes.maketrans() and bytearray.maketrans(). This
> change solves the confusion around which types were supported by the string
> module. Now, str, bytes, and bytearray each have their own maketrans and
> translate methods with intermediate translation tables of the appropriate
> type."
>
Thanks for pointing this out Mark, I will soon be running this on 3.3+
Vincent Davis
720-301-3003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140123/6810af3d/attachment.html>
More information about the Python-list
mailing list