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


Groups > comp.lang.python > #75877

Re: Template language for random string generation

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'distributing': 0.07; 'friday,': 0.09; 'pep': 0.09; 'subject:language': 0.09; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'assume': 0.14; '2.7': 0.14; '(assuming': 0.16; '3.3,': 0.16; '9:20': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reinstated': 0.16; 'skipping': 0.16; 'subject:generation': 0.16; 'subject:random': 0.16; 'wrote:': 0.18; 'trying': 0.19; '>>>': 0.22; 'code,': 0.22; 'platforms': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'paul': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'that.': 0.31; 'agreed.': 0.31; 'another.': 0.31; 'anyone': 0.31; 'linux': 0.33; 'fri,': 0.33; 'actual': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'library.': 0.36; "i'll": 0.36; 'should': 0.36; 'being': 0.38; 'issue': 0.38; 'pm,': 0.38; 'most': 0.60; 'august': 0.61; 'more': 0.64; 'worth': 0.66; 'here': 0.66; 'adoption': 0.84; 'batchelder': 0.84; 'presumably': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=7aXYgraU38HFWTKrzcuNInnPEUDNYnnew6xVDgi9JtE=; b=x6g75GkdWpQ5hIM0pJqTP66Rqkk1SCfHJNpb76PdAjjgYZQHG8WNpRkA/a8nYELHIl /QxshD+GAlgObANTFSCH031jmQs01QNhOPUZnr+jXM4cNiybWO87EtM7ynSMdqASb1T+ k/1rCeem5qv3N5q/AvQRpsig1zYdHxMEdsKvEf5XOITp7P6aMjokfYEP8oJk8SWoJaXo DHTpWdOPYrjdn5v9ZfPVEtBTDaxVzY83NuDaNIFrTpRFfDAHIuEp08/QoPjbP1cKDlBt 9Oqs6TbyMj8vUIOO/J0WJr3M1PN/KGi6uuN/eh8mtKkdHBkn8APIO2Fu/IOrYAqnY+m/ +GBg==
MIME-Version 1.0
X-Received by 10.42.230.212 with SMTP id jn20mr10952061icb.59.1407497349248; Fri, 08 Aug 2014 04:29:09 -0700 (PDT)
In-Reply-To <ls2bq4$kd2$1@ger.gmane.org>
References <14d94692-2257-4dfb-a82f-f1674a839233@googlegroups.com> <mailman.12743.1407489761.18130.python-list@python.org> <1fc4393c-7d70-495e-ac10-a51acfb56d99@googlegroups.com> <ls2bq4$kd2$1@ger.gmane.org>
Date Fri, 8 Aug 2014 21:29:09 +1000
Subject Re: Template language for random string generation
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12746.1407497357.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407497357 news.xs4all.nl 2842 [2001:888:2000:d::a6]:57340
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75877

Show key headers only | View raw


On Fri, Aug 8, 2014 at 9:20 PM, Ned Batchelder <ned@nedbatchelder.com> wrote:
> On 8/8/14 5:42 AM, Paul Wolf wrote:
>>
>> On Friday, 8 August 2014 10:22:33 UTC+1, Chris Angelico  wrote:
>>>
>>> But I eyeballed your code, and I'm seeing a lot of
>>> u'string' prefixes, which aren't supported on 3.0-3.2 (they were
>>> reinstated in 3.3 as per PEP 414), so a more likely version set would
>>>
>>> be 2.6+, 3.3+. What's the actual version support?
>>> ChrisA
>>
>>
>> I'm going to have to assume you are right that I only tested on 3.3,
>> skipping > 2.7 and < 3.3. I'll create an issue for that.
>>
>
> Don't bother trying to support <=3.2.  It will be far more difficult than it
> is worth in terms of adoption of the library.

Agreed. I would be looking at the solution here being "test on 3.4,
then (assuming no problems) declare that it works on 3.3+". Anyone on
Debian Wheezy can spin up a Python 3 from source anyway, and
presumably ditto for any other Linux distro that's distributing 3.1 or
3.2; most other platforms should have a more modern Python available
one way or another.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 02:01 -0700
  Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-08 19:22 +1000
    Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 02:42 -0700
      Re: Template language for random string generation Ned Batchelder <ned@nedbatchelder.com> - 2014-08-08 07:20 -0400
        Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 06:02 -0700
      Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-08 21:29 +1000
        Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 06:03 -0700
  Re: Template language for random string generation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-09 00:08 +1000
  Re: Template language for random string generation Skip Montanaro <skip@pobox.com> - 2014-08-08 09:35 -0500
    Re: Template language for random string generation cwolf.algo@gmail.com - 2014-08-08 11:43 -0700
      Re: Template language for random string generation Nick Cash <nick.cash@npcinternational.com> - 2014-08-08 20:28 +0000
  Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-08 16:03 -0600
    Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 23:52 -0700
      Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-09 01:49 -0600
      Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-09 01:57 -0600
  Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-10 05:43 -0700
    Re: Template language for random string generation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-11 02:31 +1000
      Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-10 11:28 -0700
        Re: Template language for random string generation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-11 12:22 +1000
          Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-11 12:31 +1000
          Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-11 00:01 -0700
      Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-11 05:25 +1000
      Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-10 22:06 -0700
        Re: Template language for random string generation Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-11 08:58 +0100
    Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-10 09:34 -0700
      Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-10 10:47 -0600
        Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-10 21:56 -0700
      Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-10 11:48 -0700
  Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-10 10:38 -0600

csiph-web