Skip to content

Commit f2aa748

Browse files
Merge pull request #182 from vasily-v-ryabov/python_39_support
Updates for Python 3.9 support
2 parents b79d2db + 6f1e5df commit f2aa748

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎.travis.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ python:
77
- "3.6"
88
- "3.7"
99
- "3.8"
10+
- "3.9"
1011

1112
# command to install dependencies
1213
install:

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
NEWS for Python X Library
22

3+
Version 0.29
4+
============
5+
6+
Extensions
7+
--------------------
8+
9+
- Drawable & XInput: Avoid using array.array.tostring() which wiil be removed in Python 3.9 (thanks @t-wissmann).
10+
11+
---
312
Version 0.28
413
============
514

‎Xlib/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Suite 330,
2020
# Boston, MA 02111-1307 USA
2121

22-
__version__ = (0, 28)
22+
__version__ = (0, 29)
2323

2424
__version_extra__ = ''
2525

‎Xlib/ext/xinput.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def fun(val):
236236
else:
237237
mask_seq.extend(val)
238238

239-
return mask_seq.tostring(), len(mask_seq), None
239+
return rq.encode_array(mask_seq), len(mask_seq), None
240240

241241
EventMask = rq.Struct(
242242
DEVICE('deviceid'),

0 commit comments

Comments
 (0)