This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thomas.holmes
Recipients alexis, eric.araujo, tarek, thomas.holmes
Date 2011-07-07.18:05:13
SpamBayes Score 4.094417e-07
Marked as misclassified No
Message-id <1310061914.59.0.90108006784.issue12504@psf.upfronthosting.co.za>
In-reply-to
Content
The output in my initial message is the output of the tests with them enabled but pre database.py patch. Once the patch is applied all packaging tests that run on my system pass.

I was 50/50 on whether or not to use the internal function and I just sort of ended up with it. I had started out writing some more complex map/list comprehension stuff and the function made sense at the time.

Regarding the use of yield, at least one of the other functions that uses the _get_records function yields the result of _get_records. I figured those could be altered to just return the list directly but I decided to opt for the path of least modification prior to getting input.

If you think it is a good idea I will modify the patch to remove the unnecessary yields and insert the nested function code directly in _get_records instead.
History
Date User Action Args
2011-07-07 18:05:14thomas.holmessetrecipients: + thomas.holmes, tarek, eric.araujo, alexis
2011-07-07 18:05:14thomas.holmessetmessageid: <1310061914.59.0.90108006784.issue12504@psf.upfronthosting.co.za>
2011-07-07 18:05:14thomas.holmeslinkissue12504 messages
2011-07-07 18:05:13thomas.holmescreate