1. pygame
  2. pygame
  3. pygame
  4. Issues


Issue #171 new

check pygame with cpychecker

René Dudfield
created an issue

A tool which can detect memory leaks and ref count bugs in python c extensions.


Comments (7)

  1. Lenard Lindstrom

    Well, I tried CPyChecker on a Pygame build, and commited changeset 6edd09029351 to correct the problems it found. But it stalled out on font.c, so only two modules were checked. Likely I will have to go through modules individually. Also, this was a Python 2.7 check. Python 3 should be done as well.

    I would attach an example CPyChecker report, but they were clobbered when I performed full unit testing on the changeset. But there will be plenty of opportunities to come.

    I found the youtube video informative. I subscribed to the mailing list.

  2. Log in to comment