Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.068 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.02; 'ascii': 0.09; 'yeah,': 0.09; 'subject:question': 0.10; 'assume': 0.14; 'delimit': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'whitespace.': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; '>>>>': 0.31; 'probably': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'should': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; '12,': 0.39; 'bad': 0.39; 'to:addr:python.org': 0.39; 'american': 0.66; 'between': 0.67; 'edwards': 0.91; 'differences': 0.93; '2013': 0.98 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 :content-type; bh=EoGhlCzawy7E0EQHiX5LoJgbDl1AM9dftLRjI3fWR20=; b=qULKujsH5QLT0hJbKqW7Z+hmxedZwxm/CQMQE/skndOkTYgIGLWaimxA4cmimT+B0L yubegeojygxwdUgFQe6KdKQz3WNfrl495KlmtwhEY0Io6N/22e37SAl9h4z4/l2Xvuhf ca0YdmrJEEJogPF/7cmk7pBL7iFoV4NpNvJ908FRVnCKMLy/otjYGVUrsCujmbRlwWV9 PbMJGVuJ636SLdDDK23RFpH9emMS/7ib1Ggq8JvJFobciT8KB881jGHgjIunY6c3NCvQ /v2MIjvKWz76r3br/1VeEb7P/XXa/PKB+kKSw3+joE//beKhpWR0+v6MeaJxUDpsgmTt b3hw== MIME-Version: 1.0 X-Received: by 10.66.25.239 with SMTP id f15mr10669573pag.136.1384241715992; Mon, 11 Nov 2013 23:35:15 -0800 (PST) In-Reply-To: References: Date: Tue, 12 Nov 2013 18:35:15 +1100 Subject: Re: datetime question From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384241724 news.xs4all.nl 16009 [2001:888:2000:d::a6]:47732 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59162 On Tue, Nov 12, 2013 at 6:25 PM, alex23 wrote: > On 12/11/2013 2:49 PM, Grant Edwards wrote: >> >> Don't forget that there are also some differences between American and >> Imperial whitespace. Since it's ASCII whitespace, you should probably >> assume American... > > >>>> sys.getsizeof(' ') > 34 >>>> sys.getsizeof(u' ') > 52 > > bad by design Yeah, but the proper way to delimit whitespace is with parentheses, not quotes. Look: >>> sys.getsizeof(( )) 28 ChrisA