This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: _tkinter.c:903: AsObj: Assertion `size < size * sizeof(Tcl_UniChar)' failed
Type: Stage:
Components: IDLE, Tkinter Versions: Python 3.0
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Bad assertion in _tkinter.c
View: 1301
Assigned To: loewis Nosy List: christian.heimes, gvanrossum, loewis
Priority: normal Keywords:

Created on 2008-01-02 16:12 by christian.heimes, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg59095 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-02 16:12
$ ./python Lib/idlelib/idle.py
python: /home/heimes/dev/python/py3k/Modules/_tkinter.c:903: AsObj:
Assertion `size < size * sizeof(Tcl_UniChar)' failed.
Aborted

The code works when I change the assertion from "<" to "<=". My Python
3.0 is compiled with unicode=UCS-4 and Tcl is the default installation
of Ubuntu (probably UCS-2?).
msg59098 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-01-02 17:44
How about 2.6?
msg59104 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-01-02 19:55
I think this is a duplicate of #1301 (reopen if you think it's not),
where I think Facundo makes an excellent point.
History
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46062
2008-01-06 22:29:44adminsetkeywords: - py3k
versions: Python 3.0
2008-01-02 19:55:06loewissetstatus: open -> closed
superseder: Bad assertion in _tkinter.c
messages: + msg59104
resolution: duplicate
2008-01-02 17:44:58gvanrossumsetassignee: loewis
messages: + msg59098
nosy: + loewis, gvanrossum
2008-01-02 16:12:59christian.heimescreate