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


Groups > comp.lang.python > #30008

Re: Java singletonMap in Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feed.xsnews.nl!border-2.ams.xsnews.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dwightdhutto@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'missed': 0.09; 'python': 0.09; 'assumed': 0.09; 'lawrence': 0.09; 'none.': 0.09; 'oh,': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'sep': 0.09; 'cc:addr:python-list': 0.10; 'devs': 0.16; 'pity': 0.16; 'subject:Java': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'library,': 0.17; 'bit': 0.21; 'import': 0.21; "i'd": 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'donate': 0.27; 'message-id:@mail.gmail.com': 0.27; '"do': 0.29; '+0100,': 0.29; 'received:209.85.220.174': 0.29; "i'm": 0.29; 'code': 0.31; 'getting': 0.33; 'zero': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'winning': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'add': 0.36; 'thank': 0.36; 'supporting': 0.37; 'two': 0.37; 'python.org': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'sure': 0.38; 'called': 0.39; 'little': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'chance': 0.61; 'great': 0.64; 'url:tinyurl': 0.66; 'enjoy': 0.67; 'jackpot': 0.84; 'obvious.': 0.84; 'dennis': 0.91
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:to :cc:content-type; bh=7BJS3HRAE0y29QeJcH6bTfkxEYGLJa4ftfyzHGkRBss=; b=dfZ/BF49CgL4UVrQTxC/OL1EprxSdbMeQ5JlFUUsj+Qn14yhIZIaEpG7D7dLjN6XtR TSXNdoCj0f877H5CCz9GJYaFTdsII9eIxzx2DdTyjWBn8bXQKRqggG9+IMN1TsgxYyrm rj1nx8/2jxaW0wcj0Qu/qEdk6y57NGudpaoEz74M63UQajqmG/1rtCPEBboXMpTuY8mJ +xd/gUBJ0Tajx9hY6n7wloi9/3YFPDCg3hX6kEHVAJpsocBCl6+OW/fgx3e4PMfDLf+L UlZhGVZGhONMG9ReY5HQxyg+Tcj1ueQzUUIVpR5UAxZqcD8QJP3HNcqRKWirRSFB/Q5u XWlw==
MIME-Version 1.0
In-Reply-To <omc268l89svaf1ap53e327n4qoojl3ci73@invalid.netcom.com>
References <mailman.1165.1348442059.27098.python-list@python.org> <505fc372$0$1612$c3e8da3$76491128@news.astraweb.com> <XnsA0D8BCC3B9239duncanbooth@127.0.0.1> <k3qc77$v47$1@ger.gmane.org> <omc268l89svaf1ap53e327n4qoojl3ci73@invalid.netcom.com>
Date Tue, 25 Sep 2012 00:38:23 -0400
Subject Re: Java singletonMap in Python
From Dwight Hutto <dwightdhutto@gmail.com>
To Dennis Lee Bieber <wlfraed@ix.netcom.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1269.1348547907.27098.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348547907 news.xs4all.nl 6854 [2001:888:2000:d::a6]:56147
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30008

Show key headers only | View raw


On Tue, Sep 25, 2012 at 12:29 AM, Dennis Lee Bieber
<wlfraed@ix.netcom.com> wrote:
> On Mon, 24 Sep 2012 20:28:14 +0100, Mark Lawrence
> <breamoreboy@yahoo.co.uk> declaimed the following in
> gmane.comp.python.general:
>
>>
>> Thank goodness for that, I'd assumed that I'd missed something blatantly
>> obvious.  There are two chances of something like this getting into the
>> standard library, zero or none.  I think in a way that's a great pity as
>> I'm sure that the Python devs would enjoy supporting the little feller
>> with code such as this http://tinyurl.com/9v7d7ld :)
>
>         Oh, the chance /might/ be a bit higher... On par with winning the
> jackpot in one of those multi-state lotteries (because you'd have to
> donate the entire jackpot to Python.org to persuade them to add a "do
> nothing" package <G>)

It's called
import time
time.sleep(x)

-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com

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


Thread

Java singletonMap in Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-24 00:14 +0100
  Re: Java singletonMap in Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-24 02:20 +0000
    Re: Java singletonMap in Python Duncan Booth <duncan.booth@invalid.invalid> - 2012-09-24 17:33 +0000
      Re: Java singletonMap in Python 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-24 12:03 -0700
      Re: Java singletonMap in Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-24 20:28 +0100
      Re: Java singletonMap in Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-25 00:29 -0400
      Re: Java singletonMap in Python Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-25 00:38 -0400

csiph-web