#22 Legal ID values in generated messages

closed-accepted
zsi (12)
5
2005-12-15
2005-02-01
No

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:
http://sourceforge.net/projects/pywebsvcs/

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

Discussion

  • serialize-dom-scheme branch version

     
    • labels: --> zsi
     
    • assigned_to: nobody --> fdrake
     
  • Logged In: YES
    user_id=3066

    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.

     
  • Logged In: YES
    user_id=711996

    added this patch to SDS branch, all unittests passed.

     
    • status: open --> closed-accepted