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


Groups > comp.lang.python > #111402

Re: Curious Omission In New-Style Formats

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Curious Omission In New-Style Formats
Date Thu, 14 Jul 2016 00:28:39 +1000
Lines 8
Message-ID <mailman.41.1468420135.21009.python-list@python.org> (permalink)
References <7fcc8c21-106f-41d4-a5ba-409f3b54a56d@googlegroups.com> <CALwzidkiRh2+ttXewaQzyJhAKMjTb7AXYk=E2SxGyH_jw9o1gw@mail.gmail.com> <mailman.180.1468249505.2295.python-list@python.org> <5783c91e$0$1622$c3e8da3$5496439d@news.astraweb.com> <CALwzid=r90j900FMJDN7YLbowmauB4SDifoHZFimPa2DvqMZ6Q@mail.gmail.com> <mailman.185.1468262372.2295.python-list@python.org> <57846636$0$1621$c3e8da3$5496439d@news.astraweb.com> <CALwzidknRVWMW214+MxZfhHh=EG_RYU499fav+WceLo1O2MsuQ@mail.gmail.com> <o7acobtjaulvasuu4nsc6uc27c482lnkh3@4ax.com> <CAPTjJmqAPPUikQ+Nsm7F-w-nai0mTYJGxoFO=LQDqJU7sOsxUw@mail.gmail.com> <mailman.36.1468414819.21009.python-list@python.org> <lf5k2gpsmp9.fsf@ling.helsinki.fi> <CAPTjJmoPS3GkgmwA5V8U5Lw9148F44h5kh8M88BZHYvth_NEow@mail.gmail.com> <mailman.39.1468417804.21009.python-list@python.org> <lf5furdsjl7.fsf@ling.helsinki.fi> <CAPTjJmpUv1bd2PBU6wHYAFf46Y78ZJ9V-mToX=OQremg_4Rf_A@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de LdBF0e4yksCz6Wm9lqQH3Q8xaGTok2Ys2Rs0G3PkMD7Q==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'tuple': 0.09; 'python': 0.10; 'thu,': 0.15; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'intended.': 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; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.27; '14,': 0.27; 'correct,': 0.29; 'probably': 0.31; 'says': 0.32; 'received:google.com': 0.35; 'text': 0.35; 'quite': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'starting': 0.37; 'subject:-': 0.39; 'jul': 0.72; 'chrisa': 0.84; 'to:none': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=O3haF2PmFko3VDabw3pYUmZ0fdNGNqIASVSDw9T1n/E=; b=uTnr2DhQLlhamxt+sFQL506eR9zZv64SAL3xmc6lMbDBJfBIShg5TpYkGOsFwrZ562 X4s/mqNRLCiAwWoyk8HcM7ZpvYDHI5CHp7EIWWASaEbRkmthqzumjvW5RHU8LF0vlYK5 C99Cf/lvBKZnTf3IODXfXqmRoelLXvkp26O3JS0ne07rRFUFccfnPxG6BTb3Q5M/d0bk iUyznNez/elAfPVqrlijHgS9u0f0JX9bRWkKsEBGFJyefCf8gvIwa6QMHHS1ZoMkaW6r +McXF2M8cUrSB4If6h15RUCKYyy2FUIh7IkcPYW8DjGHY05HHdw408Kg7PM5euTQje4J +FzA==
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:cc; bh=O3haF2PmFko3VDabw3pYUmZ0fdNGNqIASVSDw9T1n/E=; b=VL3cqRcYyb3R+0GSkjFPHkvmI6HPOJUOewlhgzM1+bCNLa9dIXOhh+5yub+6Bc/32W 0AX4UMTkwgOM6eCKN0FVdElfF/uS11Dc5RGn1vOksCXztHDYZve6DFYi9nUBhHp3e/Mq CMG+4Qo/LRKxM/9QSX2fUR7dPwHTIZRs6zUH93piWAO810oGYRNJDNsqfbVgyfX7Jy35 nwhRnhypyLVTZP5uJl975GvKhzQbRvHDfN6r8PN1yrGQgyj7kQjl/AyPPa8NYrtsD0zK OYaZkkYS4Z/v9FtikfTk3VS8lK96yvFfPC4cl3Yzd2niZm6DDljgYX/5Rct7p8Kz8NBd 8Cmg==
X-Gm-Message-State ALyK8tKQ0AlenvQwIF0OUfRYQsVgH2KcTaBhsAJz5K/JKTFuEeABnAb/pq20vDlh1KGQH+inSDwc3ufsUglkoA==
X-Received by 10.194.82.10 with SMTP id e10mr1225056wjy.117.1468420123429; Wed, 13 Jul 2016 07:28:43 -0700 (PDT)
In-Reply-To <lf5furdsjl7.fsf@ling.helsinki.fi>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <CAPTjJmpUv1bd2PBU6wHYAFf46Y78ZJ9V-mToX=OQremg_4Rf_A@mail.gmail.com>
X-Mailman-Original-References <7fcc8c21-106f-41d4-a5ba-409f3b54a56d@googlegroups.com> <CALwzidkiRh2+ttXewaQzyJhAKMjTb7AXYk=E2SxGyH_jw9o1gw@mail.gmail.com> <mailman.180.1468249505.2295.python-list@python.org> <5783c91e$0$1622$c3e8da3$5496439d@news.astraweb.com> <CALwzid=r90j900FMJDN7YLbowmauB4SDifoHZFimPa2DvqMZ6Q@mail.gmail.com> <mailman.185.1468262372.2295.python-list@python.org> <57846636$0$1621$c3e8da3$5496439d@news.astraweb.com> <CALwzidknRVWMW214+MxZfhHh=EG_RYU499fav+WceLo1O2MsuQ@mail.gmail.com> <o7acobtjaulvasuu4nsc6uc27c482lnkh3@4ax.com> <CAPTjJmqAPPUikQ+Nsm7F-w-nai0mTYJGxoFO=LQDqJU7sOsxUw@mail.gmail.com> <mailman.36.1468414819.21009.python-list@python.org> <lf5k2gpsmp9.fsf@ling.helsinki.fi> <CAPTjJmoPS3GkgmwA5V8U5Lw9148F44h5kh8M88BZHYvth_NEow@mail.gmail.com> <mailman.39.1468417804.21009.python-list@python.org> <lf5furdsjl7.fsf@ling.helsinki.fi>
Xref csiph.com comp.lang.python:111402

Show key headers only | View raw


On Thu, Jul 14, 2016 at 12:23 AM, Jussi Piitulainen
<jussi.piitulainen@helsinki.fi> wrote:
> Python 3.4.3 help text for divmod says it returns ((x-x%y)/y, x%y) but
> that's not quite correct, because type. Probably // is intended.

Starting with 3.5, it says it returns the tuple (x//y, x%y).

ChrisA

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


Thread

Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-09 22:54 -0700
  Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 01:21 -0600
    Re: Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-10 17:34 -0700
      Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-11 09:04 -0600
        Re: Curious Omission In New-Style Formats Steven D'Aprano <steve@pearwood.info> - 2016-07-12 02:28 +1000
          Re: Curious Omission In New-Style Formats Ethan Furman <ethan@stoneleaf.us> - 2016-07-11 10:24 -0700
            Re: Curious Omission In New-Style Formats Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-07-12 11:47 +1200
              Re: Curious Omission In New-Style Formats Ethan Furman <ethan@stoneleaf.us> - 2016-07-11 17:24 -0700
              Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-11 19:16 -0600
          Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-11 12:38 -0600
            Re: Curious Omission In New-Style Formats Steven D'Aprano <steve@pearwood.info> - 2016-07-12 13:38 +1000
              Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-13 00:21 -0600
                Re: Curious Omission In New-Style Formats Marko Rauhamaa <marko@pacujo.net> - 2016-07-13 09:57 +0300
                Re: Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-13 00:05 -0700
                Re: Curious Omission In New-Style Formats Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-07-13 18:49 +1000
                Re: Curious Omission In New-Style Formats Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-13 16:01 +0200
                Re: Curious Omission In New-Style Formats Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-13 20:04 -0400
                Re: Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-13 15:24 -0700
                Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-13 18:45 -0600
                Re: Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-13 20:39 -0700
                Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-13 23:18 -0600
                Re: Curious Omission In New-Style Formats Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-07-14 17:47 +1000
                Re: Curious Omission In New-Style Formats Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-14 07:34 -0400
                Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-14 08:30 -0600
                Re: Curious Omission In New-Style Formats Marko Rauhamaa <marko@pacujo.net> - 2016-07-14 19:02 +0300
                Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-14 11:10 -0600
                Re: Curious Omission In New-Style Formats Marko Rauhamaa <marko@pacujo.net> - 2016-07-14 20:30 +0300
                Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-14 18:17 -0600
                Re: Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-14 18:08 -0700
                Re: Curious Omission In New-Style Formats Marko Rauhamaa <marko@pacujo.net> - 2016-07-15 09:06 +0300
                Re: Curious Omission In New-Style Formats Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-15 09:54 +0200
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-15 11:40 +0300
                Re: Curious Omission In New-Style Formats Steven D'Aprano <steve@pearwood.info> - 2016-07-15 20:56 +1000
                Re: Curious Omission In New-Style Formats Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-15 13:44 +0200
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-15 16:38 +0300
                Re: Curious Omission In New-Style Formats Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-15 16:47 +0200
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-15 16:13 +0300
                Re: Curious Omission In New-Style Formats Steven D'Aprano <steve@pearwood.info> - 2016-07-16 01:12 +1000
                Re: Curious Omission In New-Style Formats Random832 <random832@fastmail.com> - 2016-07-15 09:39 -0400
                Re: Curious Omission In New-Style Formats Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-15 16:32 +0200
                Re: Curious Omission In New-Style Formats Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-15 13:05 +0200
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-15 16:28 +0300
                Re: Curious Omission In New-Style Formats Steven D'Aprano <steve@pearwood.info> - 2016-07-16 01:13 +1000
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-15 18:27 +0300
                Re: Curious Omission In New-Style Formats Marko Rauhamaa <marko@pacujo.net> - 2016-07-15 12:20 +0300
                Re: Curious Omission In New-Style Formats Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-15 12:44 +0200
                Re: Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-14 16:26 -0700
                Re: Curious Omission In New-Style Formats Robert Kern <robert.kern@gmail.com> - 2016-07-14 16:17 +0100
                Re: Curious Omission In New-Style Formats Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-15 16:35 -0700
                Re: Curious Omission In New-Style Formats Chris Angelico <rosuav@gmail.com> - 2016-07-16 10:57 +1000
                Re: Curious Omission In New-Style Formats MRAB <python@mrabarnett.plus.com> - 2016-07-14 01:59 +0100
              Re: Curious Omission In New-Style Formats Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-13 07:46 -0400
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-13 16:04 +0300
              Re: Curious Omission In New-Style Formats Chris Angelico <rosuav@gmail.com> - 2016-07-13 23:00 +1000
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-13 16:16 +0300
                Re: Curious Omission In New-Style Formats Chris Angelico <rosuav@gmail.com> - 2016-07-13 23:49 +1000
                Re: Curious Omission In New-Style Formats Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-13 17:23 +0300
                Re: Curious Omission In New-Style Formats Chris Angelico <rosuav@gmail.com> - 2016-07-14 00:28 +1000
          Re: Curious Omission In New-Style Formats Terry Reedy <tjreedy@udel.edu> - 2016-07-11 14:54 -0400
          Re: Curious Omission In New-Style Formats Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-11 13:27 -0600
          Re: Curious Omission In New-Style Formats Michael Torrie <torriem@gmail.com> - 2016-07-11 14:06 -0600
          Re: Curious Omission In New-Style Formats Random832 <random832@fastmail.com> - 2016-07-11 16:34 -0400
          Re: Curious Omission In New-Style Formats Terry Reedy <tjreedy@udel.edu> - 2016-07-11 16:52 -0400
          What is precision of a number representation? (was: Curious Omission In New-Style Formats) Ben Finney <ben+python@benfinney.id.au> - 2016-07-12 06:56 +1000
            Re: What is precision of a number representation? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-11 23:28 +0100
          Re: What is precision of a number representation? Ethan Furman <ethan@stoneleaf.us> - 2016-07-11 14:22 -0700
          Re: What is precision of a number representation? (was: Curious Omission In New-Style Formats) Chris Angelico <rosuav@gmail.com> - 2016-07-12 07:51 +1000
            Re: What is precision of a number representation? (was: Curious Omission In New-Style Formats) Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-07-12 00:14 +0100
              Re: What is precision of a number representation? (was: Curious Omission In New-Style Formats) Chris Angelico <rosuav@gmail.com> - 2016-07-12 09:57 +1000
            Re: What is precision of a number representation? (was: Curious Omission In New-Style Formats) Steven D'Aprano <steve@pearwood.info> - 2016-07-12 14:19 +1000
              Re: What is precision of a number representation? (was: Curious Omission In New-Style Formats) Chris Angelico <rosuav@gmail.com> - 2016-07-12 14:36 +1000
              Re: What is precision of a number representation? Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-12 11:50 +0200
                Re: What is precision of a number representation? Marko Rauhamaa <marko@pacujo.net> - 2016-07-12 13:27 +0300
                Re: What is precision of a number representation? Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-07-12 13:02 +0200
                Re: What is precision of a number representation? Steven D'Aprano <steve@pearwood.info> - 2016-07-12 23:16 +1000
          Re: What is precision of a number representation? Ethan Furman <ethan@stoneleaf.us> - 2016-07-11 15:17 -0700
            Re: What is precision of a number representation? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-07-12 16:21 +1000
              Re: What is precision of a number representation? Random832 <random832@fastmail.com> - 2016-07-12 09:36 -0400
          Re: What is precision of a number representation? Ethan Furman <ethan@stoneleaf.us> - 2016-07-11 15:29 -0700
          Re: Curious Omission In New-Style Formats Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-07-12 11:26 +1200
          Re: What is precision of a number representation? Chris Angelico <rosuav@gmail.com> - 2016-07-12 11:57 +1000
          Re: What is precision of a number representation? Ben Finney <ben+python@benfinney.id.au> - 2016-07-12 13:41 +1000
          Re: What is precision of a number representation? Terry Reedy <tjreedy@udel.edu> - 2016-07-12 00:14 -0400
          Re: What is precision of a number representation? Terry Reedy <tjreedy@udel.edu> - 2016-07-12 00:17 -0400

csiph-web