This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Section 11.20: xmlrpclib Details
Type: Stage:
Components: Documentation Versions: Python 2.2
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: facundobatista, jhermann
Priority: normal Keywords:

Created on 2003-08-19 08:20 by jhermann, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (4)
msg17834 - (view) Author: Jürgen Hermann (jhermann) Date: 2003-08-19 08:20
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).
msg17835 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2004-11-12 02:12
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
msg17836 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2004-11-12 02:12
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.
msg17837 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2005-03-21 17:36
Logged In: YES 
user_id=752496

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

.    Facundo
History
Date User Action Args
2022-04-10 16:10:43adminsetgithub: 39087
2003-08-19 08:20:56jhermanncreate