RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
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
Reply to:
- References:
- Re: Updated python-uncertainties
- From: Andreas Tille <andreas@an3as.eu>
- TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: Andreas Tille <andreas@an3as.eu>
- Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: Chris Lamb <lamby@debian.org>
- Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: Andreas Tille <tille@debian.org>
- Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: Andreas Tille <tille@debian.org>
- RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
- RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
- Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: Piotr Ożarowski <piotr@debian.org>
- Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: Andreas Tille <andreas@an3as.eu>
- RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
- Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: Andreas Tille <andreas@an3as.eu>
- RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties)
- From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>