Thread: Python and anydbm problem
11-15-2007, 09:23 AM #1
Python and anydbm problem
- Member Since
- Nov 15, 2007
After upgrading to 10.5, a peculiar problem with the "anydbm" module in python has emerged.
A sample run using an existing database :
>>> db = anydbm.open("SENSOR_DB","r") >>> db.keys()  >>> db.has_key("Epsilon.local__20071115:15:09:32") 1 >>> db.keys() ['Epsilon.local__20071115:15:03:07']
When checking for a specific key, it is is found. After that only one other key is visible. The visible key is NOT the same as found using the key directly.
The code using the anydbm worked flawlessly under 10.4 and python 2.4.
Any suggestions ?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By AllanGreen in forum OS X - Apps and GamesReplies: 8Last Post: 07-07-2012, 10:11 PM
By ssdesign in forum OS X - Operating SystemReplies: 0Last Post: 07-12-2010, 12:57 AM
By NickBird in forum Switcher HangoutReplies: 0Last Post: 11-14-2008, 01:54 AM
By mathogre in forum OS X - Development and DarwinReplies: 1Last Post: 05-07-2007, 05:19 PM
By pkny in forum OS X - Development and DarwinReplies: 4Last Post: 03-20-2005, 05:17 PM