From: Bill Bumgarner <bbum@co...> - 2003-01-17 19:07:59
I just committed a bug fix that fixed a fairly nasty problem with the
bridging of enumerators. That is, any dictionary or array enumerated
via the 'in' operator would terminate the enumeration early if the
array/dict contained an object/key that evaluated to Python False.
for x in [1,2,3,'',4]:
Would only output:
Fixed; trivial fix.
I also added a function to Foundation that converts a Foundation based
collection of objects into a Python collection:
This mirrors propertyListFromPythonCollection().
It proves to be an incredibly convenient means of taking an
NSDictionary and creating a fully mutable copy:
All of this was motivated by the creation of a tool to parse OmniWeb
bookmarks and import the result into Safari:
Get latest updates about Open Source Projects, Conferences and News.