Message123275
On Thu, Dec 2, 2010 at 9:53 PM, Alexander Belopolsky
<report@bugs.python.org> wrote:
..
> .. The honest reason for the exclusion is that I gave up chasing a bug that only shows
> in full regrtest runs.
I have realized where the problem was. PyUnicode_FromUnicode()
"helpfully" interns single-character Unicode objects in the Latin-1
range. So when TransformDecimal replaces whitespace with ' ', it may
garble cached strings. I think this optimization is a left-over from
the time when unicode did not have interning, but it is never a good
idea to change immutable objects in-place after creation, so I'll fix
this problem in my code. |
|
Date |
User |
Action |
Args |
2010-12-03 17:54:28 | belopolsky | set | recipients:
+ belopolsky, lemburg, mark.dickinson, eric.smith, ezio.melotti, skrah |
2010-12-03 17:54:26 | belopolsky | link | issue10557 messages |
2010-12-03 17:54:26 | belopolsky | create | |
|