1 $NetBSD
: patch
-Xlib_protocol_rq
.py
,v
1.1 2011/08/22 12:18:19 wiz Exp $
3 Python
-3.1 compatibility
.
4 https
://sourceforge
.net
/tracker
/?func
=detail
&aid
=3405244&group_id
=10350&atid
=310350
6 --- Xlib
/protocol
/rq
.py
.orig
2007-06-10 14:11:58.000000000 +0000
7 +++ Xlib
/protocol
/rq
.py
8 @@ -1090,7 +1090,7 @@ class Struct
:
9 # memory leak isn't that serious. Besides, Python 2.0 has
10 # real garbage collect.
14 self
.to_binary
= new
.instancemethod(to_binary
, self
, self
.__class
__)
16 # Finally call it manually
17 @@ -1175,7 +1175,7 @@ class Struct
:
19 # Finally, compile function as for to_binary.
23 self
.parse_value
= new
.instancemethod(parse_value
, self
, self
.__class
__)
26 @@ -1275,7 +1275,7 @@ class Struct
:
28 # Finally, compile function as for to_binary.
32 self
.parse_binary
= new
.instancemethod(parse_binary
, self
, self
.__class
__)