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


Groups > linux.debian.maint.python > #11008

RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
Date Mon, 15 Oct 2018 21:20:02 +0200
Message-ID <wJgzf-2QG-3@gated-at.bofh.it> (permalink)
References <wHYXL-6cv-1@gated-at.bofh.it> <wI3E5-vZ-11@gated-at.bofh.it> <wI477-F5-3@gated-at.bofh.it> <wI53b-1cW-1@gated-at.bofh.it> <wI6si-28W-9@gated-at.bofh.it> <wI7eF-2Ex-1@gated-at.bofh.it> <wI7HH-2NC-7@gated-at.bofh.it> <wI8kp-3eW-1@gated-at.bofh.it> <wJ7vX-5Ep-5@gated-at.bofh.it> <wJgzf-2QG-5@gated-at.bofh.it> <wJ9R7-7bp-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Oct 15 19:15:10 2018
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=-0.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, THREADTOPIC=2] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -6.1
Dkim-Filter OpenDKIM Filter v2.11.0 poussette.synchrotron-soleil.fr CE958600BD
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1539629897; bh=fTzkJhVZuOINVTzIopcm9+tY2V7/nKm/V5hHji+oN0Y=; h=From:To:Subject:Date:References:In-Reply-To:From; b=a4pmBQLVzBoXUOJt6LYy/8P2AiJTGOIqaNpqpo+mLuPGs2yLKW2dYXv3ozSbuVdoJ jEBzW7bmep3XCyhOOrl8md9AlcRkOBBW4m1QMppE+cwQ9VrYOka7tSXrIkgK7XQhye oM8uKXxtNPJ2r6rcogj/5A++YgiddbEtTBTlpQE8=
Dkim-Filter OpenDKIM Filter v2.11.0 poussette.synchrotron-soleil.fr 33F3960081
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1539629897; bh=fTzkJhVZuOINVTzIopcm9+tY2V7/nKm/V5hHji+oN0Y=; h=From:To:Subject:Date:References:In-Reply-To:From; b=a4pmBQLVzBoXUOJt6LYy/8P2AiJTGOIqaNpqpo+mLuPGs2yLKW2dYXv3ozSbuVdoJ jEBzW7bmep3XCyhOOrl8md9AlcRkOBBW4m1QMppE+cwQ9VrYOka7tSXrIkgK7XQhye oM8uKXxtNPJ2r6rcogj/5A++YgiddbEtTBTlpQE8=
Thread-Topic TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
Thread-Index AQHUYhzoUZVjlclRUkeDAJAcnFW1vKUbWLUAgAAUKACAABohgIAAKFqXgAAIT23///EpAIAERtmAgAAh28D///jhAIAAKgkdgAB5GP0=
Accept-Language fr-FR, en-US
Content-Language fr-FR
X-Originating-IP [195.221.0.171]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16440
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/A2A20EC3B8560D408356CAC2FC148E53015B33DC62@SUN-DAG3.synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 15 Oct 2018 18:58:16 +0000
X-Original-Message-ID <A2A20EC3B8560D408356CAC2FC148E53015B33DC62@SUN-DAG3.synchrotron-soleil.fr>
X-Original-References <20181012061902.mf7vngqnwvxdge2s@an3as.eu> <20181012111533.4ym6loirbvnr2fnx@an3as.eu> <1539343938.2065153.1539680744.792D0909@webmail.messagingengine.com> <20181012124426.37nixbp2qupadu4o@an3as.eu> <20181012141757.lpt5lmh4dhuzdsb3@an3as.eu> <A2A20EC3B8560D408356CAC2FC148E53015B33D0B3@SUN-DAG3.synchrotron-soleil.fr> <A2A20EC3B8560D408356CAC2FC148E53015B33D1D9@SUN-DAG3.synchrotron-soleil.fr> <20181012161900.q4eama42xml7ppo7@sar0.p1otr.com> <20181015093737.wfrvaixo2bdmwvav@an3as.eu> <A2A20EC3B8560D408356CAC2FC148E53015B33D9E2@SUN-DAG3.synchrotron-soleil.fr>,<20181015111318.3fiskt3vduf2hcqo@an3as.eu>,<A2A20EC3B8560D408356CAC2FC148E53015B33DA52@SUN-DAG3.synchrotron-soleil.fr> <A2A20EC3B8560D408356CAC2FC148E53015B33DA52@SUN-DAG3.synchrotron-soleil.fr>
Xref csiph.com linux.debian.maint.python:11008

Show key headers only | View raw


Hello, here a diff between the python3.6 and python3.7 modules once  updated via 2to3.


r:/tmp$ diff core*
174c174
<             for (variance, tag) in zip(variances, tags))
---
>             for (variance, tag) in list(zip(variances, tags)))
181c181
<             for (coords, value) in zip(transform, nom_values))
---
>             for (coords, value) in list(zip(transform, nom_values)))
946c946
<     ord(sup): normal for (normal, sup) in TO_SUPERSCRIPT.items()}
---
>     ord(sup): normal for (normal, sup) in iter(TO_SUPERSCRIPT.items())}
1776c1776
<             delta**2 for delta in self.error_components().values())))
---
>             delta**2 for delta in iter(self.error_components().values()))))


can python expert explain if this seems correct or not ?

thanks for your help.

Frederic

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Updated python-uncertainties Andreas Tille <andreas@an3as.eu> - 2018-10-12 08:20 +0200
  TypeError: ord() expected a character, but string of length 3 found  (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-12 13:20 +0200
    Re: TypeError: ord() expected a character,  but string of length 3 found (Was: Updated python-uncertainties) Chris Lamb <lamby@debian.org> - 2018-10-12 13:50 +0200
      Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Andreas Tille <tille@debian.org> - 2018-10-12 14:50 +0200
        Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Andreas Tille <tille@debian.org> - 2018-10-12 16:20 +0200
          Re: TypeError: ord() expected a character,  but string of length 3 found (Was: Updated python-uncertainties) Chris Lamb <lamby@debian.org> - 2018-10-12 16:40 +0200
          RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-12 17:10 +0200
            RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-12 17:40 +0200
              Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Piotr Ożarowski <piotr@debian.org> - 2018-10-12 18:20 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-12 18:40 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-13 11:10 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-13 11:50 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-13 14:00 +0200
                Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-15 11:40 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 12:00 +0200
                Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Karsten Hilbert <Karsten.Hilbert@gmx.net> - 2018-10-15 12:10 +0200
                Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-15 13:20 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 14:10 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 21:20 +0200
                Re: TypeError: ord() expected a character,  but string of length 3 found (Was: Updated python-uncertainties) Chris Lamb <lamby@debian.org> - 2018-10-15 22:10 +0200
                RE:TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 21:10 +0200
                Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-16 09:10 +0200
                Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Dmitry Shachnev <mitya57@debian.org> - 2018-10-17 16:40 +0200
                Re: TypeError: ord() expected a character, but string of length 3  found (Was: Updated python-uncertainties) Andreas Tille <tille@debian.org> - 2018-10-17 19:50 +0200

csiph-web