[Patches] [ python-Patches-1049151 ] adding bool support to xdrlib.py

SourceForge.net noreply at sourceforge.net
Thu Feb 24 21:23:10 CET 2005


Patches item #1049151, was opened at 2004-10-18 13:35
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1049151&group_id=5470

Category: Library (Lib)
Group: Python 2.5
>Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Lars Gustäbel (gustaebel)
Assigned to: Nobody/Anonymous (nobody)
Summary: adding bool support to xdrlib.py

Initial Comment:
xdrlib's Unpacker method unpack_bool() is just an alias
to the unpack_int() method, therefore it returns an
integer. The attached patch adds bool object support to
unpack_bool().

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

>Comment By: Martin v. Löwis (loewis)
Date: 2005-02-24 21:23

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as

xdrlib.py 1.17
test_sundry.py 1.17
test_xdrlib.py 1.1
output/test_xdrlib 1.1
NEWS 1.1245


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

Comment By: Irmen de Jong (irmen)
Date: 2005-01-16 17:00

Message:
Logged In: YES 
user_id=129426

It would be nice indeed to have unpack_bool return the type
that was put into there by pack_bool :) And now that 2.4 is
out... 

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

Comment By: Anthony Baxter (anthonybaxter)
Date: 2004-10-20 08:04

Message:
Logged In: YES 
user_id=29957

Nope. This can go in after 2.4 final is out.


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

Comment By: Martin v. Löwis (loewis)
Date: 2004-10-19 22:23

Message:
Logged In: YES 
user_id=21627

The patch itself is fine. However, it comes too late for 2.4
- unless Anthony accepts it for 2.4, anyway.

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

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


More information about the Patches mailing list