Django Profiling Bug

April 18, 2014

I'm doing some work profiling a large Django application and I was running into this weird error when I tried to aggregate the stats with which comes with Django. It kept throwing TypeError: zip argument #1 must support iteration if there were two profile files for the same bit of code. Searching for matching results was a ghost town and I was starting to think no one actually used because it was broken. Turns out there's a regression bug in early versions of Python 2.7. I applied the patch provided in the link and everything works. Posting this little note so it's not such a ghost town for the next person.

Previously: It's My Party (now) | After this: Bananas: A Play in One Act | All Posts
Tagged: django python profiling