[issue44595] round() gives wrong result

2021-07-09 Thread Jos Dechamps
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

[issue12873] 2to3 incorrectly handles multi-line imports from __future__

2015-10-17 Thread Jos de Kloe
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

[issue24589] Wrong behavior for list of lists

2015-07-08 Thread Jos Dechamps
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]

[issue1706039] Added clearerr() to clear EOF state

2007-12-01 Thread jos
jos added the comment: Any chance to get this fix commmited in? -- type: -> behavior _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1706039> _ ___

[issue1205] urllib fail to read URL contents, urllib2 crash Python

2007-12-01 Thread jos
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 _

[issue1533] Bug in range() function for large values

2007-11-30 Thread jos
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

[issue1276] LookupError: unknown encoding: X-MAC-JAPANESE

2007-10-13 Thread jos
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

[issue1205] urllib fail to read URL contents, urllib2 crash Python

2007-09-27 Thread jos
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

[issue1205] urllib fail to read URL contents, urllib2 crash Python

2007-09-26 Thread jos
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