[mythtv-commits] Ticket #13475: Fix Python Bindings, add python3 compatibility

MythTV noreply at mythtv.org
Thu Aug 22 19:10:33 UTC 2019

#13475: Fix Python Bindings, add python3 compatibility
 Reporter:  rcrdnalor          |          Owner:  Bill Meek
     Type:  Patch - Feature    |         Status:  accepted
 Priority:  minor              |      Milestone:  31.0
Component:  Bindings - Python  |        Version:  Master Head
 Severity:  medium             |     Resolution:
 Keywords:  Python             |  Ticket locked:  0

Comment (by rcrdnalor):

 I found additional incompatibilities to python3:

 See the last patches from pull request 182.

 Please update your local test environment to include this patch.

 The last patch from pull request 182 fixes #12243 as well and
 the testcases verified, that #12245 cannot be reproduced anymore.

 See file 'test_Dataheap_VideoGrabber_001.py' from my repo


 Additionally, I got an alarming message today at

 In short: Python3 will expose the deprecation warnings about
 `invalid escape sequence` to the user and will soon report them
 as error.

 On python 3.6, they are only visible with the '-Wa' switch,
 e.g. if you run
 python -Wa -m compileall -f -q MythTV'

 Current MythTV Bindings, even with patches form pull request 182,
 show some warnings of this kind, especially in regex expressions.

 I'll try to look into this during weekend.

Ticket URL: <https://code.mythtv.org/trac/ticket/13475#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list