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.

Author gpolo
Recipients ezio.melotti, gpolo, gumpy, kbk, nnorwitz, ocean-city, wplappert
Date 2009-08-08.15:43:00
SpamBayes Score 2.9149656e-05
Marked as misclassified No
Message-id <1249746183.97.0.0791244398519.issue1028@psf.upfronthosting.co.za>
In-reply-to
Content
Today I noticed the StringObj manpage (from tcl) says that the bytes
that represent an tcl object should be treated as read-only (although it
uses char *) so this issue1028.diff may very well cause a segfault at
some point.

I'm attaching a new patch that fixes this and also uses
Tcl_GetStringFromObj, instead of directly accessing the bytes member of
a tcl object, so we know its string representation is not invalid.
History
Date User Action Args
2009-08-08 15:43:04gpolosetrecipients: + gpolo, nnorwitz, kbk, ocean-city, ezio.melotti, wplappert, gumpy
2009-08-08 15:43:03gpolosetmessageid: <1249746183.97.0.0791244398519.issue1028@psf.upfronthosting.co.za>
2009-08-08 15:43:02gpololinkissue1028 messages
2009-08-08 15:43:02gpolocreate