For a recent project I needed to parse ArcGIS files using Python. I came across this great library called pyshp which is written by someone with far more experience than me with GIS. I wanted to use pyshp to parse postal code data and then I would run that through some post-processing. The performance was less than stellar and I decided to see if there were any possible bottlenecks in the library.
After looking at the well-documented pyshp code I found a few methods that were backed by iterators but strangely enough nothing existed yet to get each shape record with its associated metadata. I cobbled a new method together that did this and humbly submitted this patch. It offers a quick performance win and is an easy addition to this great library.
Hopefully this will get merged in at some point for others to use.