Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: timedelta and float multiplication in python 2 Date: Thu, 11 Feb 2016 21:59:21 +1100 Lines: 11 Message-ID: References: <56BC64DD.4090908@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de t5UZDsO4+og+JCr7dhnhvwWvsQOtbdtk7TLWxD2Ii3Yg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'feature.': 0.07; 'cc:addr:python-list': 0.09; 'patches': 0.09; 'subject:skip:m 10': 0.09; 'python': 0.10; 'subject:python': 0.14; 'thu,': 0.15; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'feb': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'then.': 0.27; 'checked': 0.31; 'getting': 0.33; 'this?': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'does': 0.39; 'six': 0.65; 'chrisa': 0.84; 'nagy': 0.84; 'to:none': 0.91; 'migrating': 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:cc :content-type:content-transfer-encoding; bh=JoHIfnWghpdziPP8snfn+3kc9Vv59lU7dsJxP9Jt1YY=; b=lX3xlKFJ4FxtDSVJYNoZ/Bh1yWOwjO4u61gIf9o6eO1B3901NFnJtY1rJ6ftYMlnYK yeilxFWJZ1b0qeuX0IuEtIVZhZx+AwYl86UYZlaQdlQg0ZpzMblUYMDMhLrZnRM64+xj ZKedyoqzjPtwn3qj8yxVl93FbmzR4mTTMPxMtAgH1RlRygp+ZAkom/4xLSZBNzZlS7el Q9Axa8DHdp51GmQFAaRVXuD6TRioXhdLdqVn1a5K1u8S2nCcr6cEdTRGkTlki7AIUvcB ApoRu7NjUJhQaajBozhZsw8e5ZFBVop8PE9lfrp6yZZ+h/gUb7mVKZSO0bhVPyx7bl+U N/gA== 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:date :message-id:subject:from:cc:content-type:content-transfer-encoding; bh=JoHIfnWghpdziPP8snfn+3kc9Vv59lU7dsJxP9Jt1YY=; b=TqMhyvFI5ZLfSUvKkm2VNvksJAeRfBLUCJUmv1PSk4Mw3AJbIkg3NHXksrK0VqXToT 96jM6UwpRxy0xvJ/ITvkIGp2ugdE5AKyX5xWyREr0Y1JCFQ/C1fNfqSRfYf8vJdjB5jI etXFkCOsW8i8WjOWOkpbI+PJUOHIZr84MRkfnw74PYgt5T35ehVGMAX3llJ1+6Bk9Pkj Asd8qXCYCVkTZ3VZDXed3d5927LgKct+GuI5fRe0RNzQSpL7gp15f4q7ZBv+XxdHaoxx sZkJlV0BsU0DkzKtRjmmJ0DloZKy4/pC8SRoS3mr5oDMOvW/svYDnOtRrlcbgR745v4E wYAw== X-Gm-Message-State: AG10YOSAYAPlyH/6p8km7nN6JjKIcJuzwzo1RZyAeNTjjxo/x1ucThGskgnClcvdAZnswxf8Qqt+aR/h6biiPQ== X-Received: by 10.107.14.73 with SMTP id 70mr43280559ioo.31.1455188361837; Thu, 11 Feb 2016 02:59:21 -0800 (PST) In-Reply-To: <56BC64DD.4090908@shopzeus.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102801 On Thu, Feb 11, 2016 at 9:39 PM, Nagy L=C3=A1szl=C3=B3 Zsolt wrote: > I have checked and it does work with Python 3. But it does not work with > Python 2 - is there a good reason for this? Mainly that Python 3 has had six years of development since Python 2.7, and Python 2 has been getting only bugfixes and security patches since then. I would recommend migrating to Python 3 if you want this feature. ChrisA