Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64632 > unrolled thread

Re: generate De Bruijn sequence memory and string vs lists

Started byVincent Davis <vincent@vincentdavis.net>
First post2014-01-23 14:51 -0600
Last post2014-01-23 14:51 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: generate De Bruijn sequence memory and string vs lists Vincent Davis <vincent@vincentdavis.net> - 2014-01-23 14:51 -0600

#64632 — Re: generate De Bruijn sequence memory and string vs lists

FromVincent Davis <vincent@vincentdavis.net>
Date2014-01-23 14:51 -0600
SubjectRe: generate De Bruijn sequence memory and string vs lists
Message-ID<mailman.5908.1390510629.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

On Thu, Jan 23, 2014 at 2:36 PM, Mark Lawrence <breamoreboy@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web