[Python-bugs-list] [ python-Bugs-791067 ] Section 11.20: xmlrpclib
Details
SourceForge.net
noreply at sourceforge.net
Tue Aug 19 02:20:56 EDT 2003
Bugs item #791067, was opened at 2003-08-19 10:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=791067&group_id=5470
Category: Documentation
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Jürgen Hermann (jhermann)
Assigned to: Nobody/Anonymous (nobody)
Summary: Section 11.20: xmlrpclib Details
Initial Comment:
An important detail is missing from the LaTeX library
ref, namely how to get at the values of the special
types (bool, date, binary); I had to inspect code to
get at this (I think even the module docstrings don't
reveal this).
Naively (with str) you get the repr() values:
<Boolean True at 8287f8c>,
<DateTime 20030818T18:42:52 at 829ab94>,
<xmlrpclib.Binary instance at 0x829aeb4>),
To get at the underlying real values, you need:
int(boolval) (or bool(boolval) for 2.3)
dateval.value
binary.data
This should be documented on the relevant sections
(11.20.2/3/4).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=791067&group_id=5470
More information about the Python-bugs-list
mailing list