Message 11748 - Python tracker

Message11748

Author theller
Recipients
Date 2002-07-30.10:09:36
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=11105

Fails for me too (Win2k, python debug build). But it is a 
marshal issue!
Here's a script to reproduce it when running with a debug 
build:
  import marshal; marshal.dumps([128] * 1000)
(anything between 128 and 255 will trigger the error, and the 
list must be large enough.

The debugger shows that w_long is called with x = 128, and 
than w_more() is called with c = 128, and the 
Py_SAFEDOWNCAST macro fails, maybe because char is 
signed on this platform.
History
Date User Action Args
2007-08-23 14:04:30adminlinkissue588452 messages
2007-08-23 14:04:30admincreate