Shlomo Anglister <shlomo.anglis...@gmail.com> added the comment:
This issue is in review stage for a long time.
What's holding it?
On Wed, May 9, 2018 at 8:24 AM, Shlomo Anglister <rep...@bugs.python.org>
wrote:
>
> Shlomo Anglister <shlomo.anglis...@gmail.com> added
Change by Shlomo Anglister <shlomo.anglis...@gmail.com>:
--
nosy: +anglister
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
Shlomo Anglister <shlomo.anglis...@gmail.com> added the comment:
Thanks @serhiy.storchaka and @corona10 !
I read it, documented the relation and failed to see the duplication.
--
___
Python tracker <rep...@bugs.python.org>
<https://
Shlomo Anglister <shlomo.anglis...@gmail.com> added the comment:
The test code demonstrates that fromutctimestamp(1523510588.436252000) !=
fromutctimestamp(Decimal(1523510588.436252000))
This is related to issues: 22627 and 23607
but not a dup
Change by Shlomo Anglister <shlomo.anglis...@gmail.com>:
--
nosy: +anglister
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Shlomo Anglister <shlomo.anglis...@gmail.com>:
Output for python2.7.11
2018-04-12-05:23:08.436252
2018-04-12-05:23:08.436252
Output for python3.4 and python3.6
2018-04-12-05:23:08.436252
2018-04-12-05:23:08.00
--
components: Library (Lib)
Shlomo Anglister added the comment:
def my_round(n,i):
... t = n * (10**i)
... s = round(t)
... r = s / (10**i)
... return r
...
print my_round(s,2)
1.41
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1565
New submission from Shlomo Anglister:
#Round is unexpectedly wrong
z = complex(1,1)
s=abs(z)
round(s,2)
1.4099
--
components: Interpreter Core
messages: 58266
nosy: shlomoa
severity: normal
status: open
title: round(x,y) doesn't behave as expected, round error
versions