[ python-Bugs-791067 ] Section 11.20: xmlrpclib Details

SourceForge.net noreply at sourceforge.net
Mon Mar 21 18:36:39 CET 2005


Bugs item #791067, was opened at 2003-08-19 05:20
Message generated for change (Settings changed) made by facundobatista
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: Closed
>Resolution: Wont Fix
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).


----------------------------------------------------------------------

Comment By: Facundo Batista (facundobatista)
Date: 2005-03-21 14:36

Message:
Logged In: YES 
user_id=752496

Deprecated. Reopen only if still happens in 2.3 or newer. 

.    Facundo

----------------------------------------------------------------------

Comment By: Facundo Batista (facundobatista)
Date: 2004-11-11 23:12

Message:
Logged In: YES 
user_id=752496

Please, could you verify if this problem persists in Python 2.3.4
or 2.4?

If yes, in which version? Can you provide a test case?

If the problem is solved, from which version?

Note that if you fail to answer in one month, I'll close this bug
as "Won't fix".

Thank you! 

.    Facundo

----------------------------------------------------------------------

Comment By: Facundo Batista (facundobatista)
Date: 2004-11-11 23:12

Message:
Logged In: YES 
user_id=752496

Doc changed a lot, don't know enough about the subject to be
clear to me if the problem is solved or not.

----------------------------------------------------------------------

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