Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!novso.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'static': 0.04; '"the': 0.07; 'intermediate': 0.07; 'string': 0.09; 'bytes,': 0.09; 'deprecated': 0.09; 'lawrence': 0.09; 'subject:string': 0.09; 'translate': 0.10; 'python': 0.11; 'jan': 0.12; 'translation': 0.12; '23,': 0.16; 'bytearray': 0.16; 'mark,': 0.16; 'str,': 0.16; 'url:whatsnew': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'previously': 0.22; 'to:name:python- list@python.org': 0.22; 'url:dev': 0.24; 'tables': 0.26; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:python': 0.33; 'running': 0.33; '"the': 0.34; 'received:209.85': 0.35; 'subject:lists': 0.35; 'received:google.com': 0.35; 'module.': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'gone': 0.61; 'url:3': 0.61; 'soon': 0.63; 'skip:w 30': 0.69 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=0VhwFNn/MGgILrkwV/WEYu528p9rLy/mzKJxZYOjWcU=; b=F51jAw/H0V1tZV01EFSxdX0SLyY5QyiqXVxHin1RAyIdPAYSah0wRHjmKrh79+dDhw CIMSaff4KAhUK0TqxqjAyPa7pGgsenJtCdNPsA0RPCuR2B2R/fxHaElb0XCZqI0+CUx9 GhbPYU8Tglwc+/tQdo3NtcM7ERIjpyAFAghIH22xloxzfq/839loTmpi0gIRQBBEhKHg C/13/0L5yv8Cb7uC+LeyyLMwTvxIF+ApHa/a7Xn+eZCcBhuB3BzV25nJMlbazxxq0MM5 XoIeFvIjO+0rC8lr0ZlmzQYk4Uv4ln++sxPFIIqNVRBC2MmIEItUAdoFG5naEwNZMFS7 0ykA== X-Gm-Message-State: ALoCoQmGdqcu26tjW13c567NpyOO/YZJW1ardJ6Pvr9qX1eub1E/EOtiEsbFvQnPcthmYxahnx+R X-Received: by 10.182.44.167 with SMTP id f7mr8542367obm.3.1390510283732; Thu, 23 Jan 2014 12:51:23 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Vincent Davis Date: Thu, 23 Jan 2014 14:51:03 -0600 Subject: Re: generate De Bruijn sequence memory and string vs lists To: "python-list@python.org" Content-Type: multipart/alternative; boundary=001a11c1d7e084bcef04f0a9673d X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390510629 news.xs4all.nl 2891 [2001:888:2000:d::a6]:53786 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64632 --001a11c1d7e084bcef04f0a9673d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Jan 23, 2014 at 2:36 PM, Mark Lawrence wro= te: > 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 fav= or > of the static methods bytes.maketrans() and bytearray.maketrans(). This > change solves the confusion around which types were supported by the stri= ng > module. Now, str, bytes, and bytearray each have their own maketrans and > translate methods with intermediate translation tables of the appropriate > type." > =E2=80=8BThanks for pointing this out Mark, =E2=80=8BI will soon be running= this on 3.3+ Vincent Davis 720-301-3003 --001a11c1d7e084bcef04f0a9673d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Thu, Jan 23, 2014 at 2:36 PM, Mark Lawrence <breamoreboy@yahoo.co= .uk> wrote:
F= TR string.maketrans is gone from Python 3.2+. =C2=A0Quoting from http://docs.python.org/dev/whatsnew/3.2.html#porting-to-= python-3-2 "The previously deprecated string.maketrans() fu= nction has been removed in favor of the static methods bytes.maketrans() an= d bytearray.maketrans(). This change solves the confusion around which type= s were supported by the string module. Now, str, bytes, and bytearray each = have their own maketrans and translate methods with intermediate translatio= n tables of the appropriate type."

=E2=80=8BThanks for pointing this out Mar= k, =E2=80=8BI will soon be running this on 3.3+


=
Vincent Davis
720-301-3003
--001a11c1d7e084bcef04f0a9673d--