[issue6836] Mismatching use of memory APIs

Kristján Valur Jónsson report at bugs.python.org
Sun Sep 6 21:51:04 CEST 2009


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Good point, Tim.  I'll rework it so that one of the border bytes is 
used, since it needs to be a "known" value anyway.  That should make 
things less messy.
Although resoning about the breakpoint is probably incorrect since you 
would put the breakpoint on the "serialno" global variable, and not on 
the location in each memory block.
Meanwhile, does anyone have anything to say about my suggested bugfix?  
I'm not familiar enough with the parser to know if there may be a 
performance penaltly in copying the string here, or whether we ought to 
try to widen the use of the PyObject_ api to skirt the issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6836>
_______________________________________


More information about the Python-bugs-list mailing list