I attached a modified version of pyglet/media/__init__.py with the changes mentioned in my previous comment. Just replace it after cloning the repo.
** Attachment added: "Replacement for pyglet/media/__init__.py" https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1426716/+attachment/4333314/+files/__init__.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1426716 Title: Using Pdb for Python causes a segmentation fault in readline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1426716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs