#22 Legal ID values in generated messages

zsi (12)

The object ids generated in ZSI.TC (and friends) can
start with a digit or (starting with Python 2.4) a
minus sign. For negative id() values, Python 2.3 will
generate a FutureWarning. Both problems can be fixed
by changing the conversion from Python object to object
id in a fairly simple way.

I described these problems to the mailing list as well:

I'm attaching two patches: one for the CVS trunk, and
the other for the "serialize-doc-scheme" branch.


  • Fred L. Drake, Jr.

    • labels: --> zsi
  • Fred L. Drake, Jr.

    • assigned_to: nobody --> fdrake
  • Fred L. Drake, Jr.

    Logged In: YES

    Committed trunk version as:

    ZSI/TC.py 1.36
    ZSI/TCcompound.py 1.34

    There's a failing test on the serialize-dom-scheme branch
    right now that appeared in the last couple of days; delaying
    checkin of that version of the patch until that's working again.

  • Joshua Boverhof

    Joshua Boverhof - 2005-12-15

    Logged In: YES

    added this patch to SDS branch, all unittests passed.

  • Joshua Boverhof

    Joshua Boverhof - 2005-12-15
    • status: open --> closed-accepted

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks