New submission from Jos Dechamps :
round(0.3368655,6) returns 0.336865 instead of 0.336866
--
messages: 397238
nosy: dechamps
priority: normal
severity: normal
status: open
title: round() gives wrong result
type: behavior
___
Python tracker
<ht
Jos de Kloe added the comment:
still having this issue with 2to3 from python-tools-2.7.8-11 as packaged by
Fedora 21.
Any progress since 2011?
--
nosy: +jdekloe
___
Python tracker
<http://bugs.python.org/issue12
New submission from Jos Dechamps:
After creating a list of lists, changing one element, leads to changes of all
the elements:
>>> v=[[]]*10
>>> v
[[], [], [], [], [], [], [], [], [], []]
>>> v[3].append(3)
>>> v
[[3], [3], [3], [3], [3], [3], [3], [3]
jos added the comment:
Any chance to get this fix commmited in?
--
type: -> behavior
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1706039>
_
___
jos added the comment:
included torriem's fix.
IMHO, there is no clear solution for this
because this is due to HTTP server's "bug"
and a bug is the one that you can't predict accurately...
Added file: http://bugs.python.org/file8841/httplib.py.diff
_
jos added the comment:
Is this a bug?
print range(MyInt(2**64), MyInt(2**64+10))
produced
TypeError: range() integer start argument expected, got instance.
print range(int(MyInt(2**64)), int(MyInt(2**64+10)))
should work.
--
nosy: +josm
__
Tracker
New submission from
jos
:
When I compile Python-3.0a1 on Mac OS X with Japanese locale,
I've got LookupError like below.
==
running build_scripts
creating build/scripts-3.0
Trac
jos
added the comment:
Attached a patch for this problem.
This one just ignores the buggy chunk-size and close the connection.
As gagenellina said earlier, this might not be a good way
to fix this, but I could not come up
jos
added the comment:
Firefox 2.0.0.7 and Safari 2.0.4 can who this page.
In my opinion, Python urllib should be more practical and
provide a way to read this kind of page.
"In general, an implementation mu