[ python-Bugs-1009803 ] xmlrpclib, PEP291, "yield"

SourceForge.net noreply at sourceforge.net
Sun Aug 22 18:05:18 CEST 2004


Bugs item #1009803, was opened at 2004-08-16 06:28
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1009803&group_id=5470

Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Martin v. Löwis (loewis)
Summary: xmlrpclib, PEP291, "yield"

Initial Comment:
PEP 291 says that xmlrpclib should be 1.5.2 compatible. 

This patch:
revision 1.31
date: 2003/10/31 13:49:36;  author: loewis;  state:
Exp;  lines: +66 -2
Patch #531629: Add multicall support.

however, introduced code with the 'yield' keyword. This
is completely and utterly non-1.5.2 compatible. Either
the PEP (and the comment in the file) should be
updated, or the code should be rewritten to not use yield.

Martin? You checked in the patch, what's your opinion?


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

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-22 18:05

Message:
Logged In: YES 
user_id=21627

This is now fixed in xmlrpclib.py 1.35.

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

Comment By: George Yoshida (quiver)
Date: 2004-08-21 17:48

Message:
Logged In: YES 
user_id=671362

Should I close bug #842600 as a duplicate?
(Although it was submitted last November.)

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

Comment By: Anthony Baxter (anthonybaxter)
Date: 2004-08-20 09:43

Message:
Logged In: YES 
user_id=29957

The code, however, still has 'yield' in it, and is therefore
_not_ 2.1 compatible.

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

Comment By: Martin v. Löwis (loewis)
Date: 2004-08-20 09:34

Message:
Logged In: YES 
user_id=21627

After discussion with /F, I have now bumped the minimum
supported version to 2.1; fixed in xmlrpclib.py 1.34 and
pep-0291.txt 1.11. Fredrik still has 1.5.2 installations he
needs to support, but thinks he can manage maintenance on
xmlrpclib for these on his own.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1009803&group_id=5470


More information about the Python-bugs-list mailing list