jeudi 23 janvier 2014

Re: generate De Bruijn sequence memory and string vs lists topic




On Thu, Jan 23, 2014 at 2:36 PM, Mark Lawrence <(E-Mail Removed)>wrote:

> FTR string.maketrans is gone from Python 3.2+. Quoting from
> http://docs.python.org/dev/whatsnew/...-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 runningthis on 3.3+


Vincent Davis
720-301-3003






Aucun commentaire:

Enregistrer un commentaire