Roundup Robot added the comment:
New changeset 826233404be8 by Serhiy Storchaka in branch '3.3':
Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
http://hg.python.org/cpython/rev/826233404be8
New changeset 6c9d49b8e3ec by Serhiy Storchaka in branch 'default':
Serhiy Storchaka added the comment:
Thank you for the report Sébastien. Thank you for the patch Yogesh.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
versions: -Python 3.2
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
___
Yogesh Chaudhari added the comment:
This patch should work for 2.7 branch
--
hgrepos: +191
keywords: +patch
nosy: +Yogesh.Chaudhari
Added file: http://bugs.python.org/file30238/issue13461-27.patch
___
Python tracker rep...@bugs.python.org
Changes by Yogesh Chaudhari mr.yog...@gmail.com:
--
hgrepos: -191
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
___
Python-bugs-list
Changes by Yogesh Chaudhari mr.yog...@gmail.com:
Added file: http://bugs.python.org/file30239/issue13461-3x.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
Serhiy Storchaka added the comment:
Can we fix this easy issue before 2.7.4 release?
--
keywords: +easy
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
Antoine Pitrou added the comment:
Ageed, it's probably easy enough.
--
stage: - needs patch
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
Changes by Patrick Welche pr...@cam.ac.uk:
--
nosy: +prlw1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
___
Python-bugs-list mailing
Sébastien Sablé sa...@users.sourceforge.net added the comment:
Thanks Antoine! It solved the issue.
I will check soon with Python trunk to see if the same thing applies.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
priority: normal - high
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13461
___
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I've identified a few other cases where a '#' format is passed a numeric
literal:
Python/codecs.c:514: return Py_BuildValue((u#n), end, 0, end);
Modules/_io/textio.c:2323: DECODER_DECODE(input, 1, n);
--
nosy:
Antoine Pitrou pit...@free.fr added the comment:
What if you replace:
PyObject *decoded = PyObject_CallMethod(
self-decoder, decode, s#, input, 1);
with:
PyObject *decoded = PyObject_CallMethod(
self-decoder, decode, s#, input, (Py_ssize_t) 1);
--
nosy:
New submission from Sébastien Sablé sa...@users.sourceforge.net:
I am trying to get Python working when compiled with Visual Studio 2010 (cf
issue 13210).
When running the tests with the python 2.7 branch compiled with VS2010, the
test_issue_1395_5 in test_io.py will cause Python to eat the
Sébastien Sablé sa...@users.sourceforge.net added the comment:
The problem is in CTextIOWrapperTest.test_issue1395_5
Here is the backtrace:
msvcr100d.dll!memset() Line 145Asm
msvcr100d.dll!_heap_alloc_dbg_impl(unsigned __int64 nSize, int
nBlockUse, const char *
16 matches
Mail list logo