[IronPython] NotImplementedError: bad mode: rb+

Martin Maly Martin.Maly at microsoft.com
Tue Sep 5 18:00:15 CEST 2006


This is a bug in IP, I've filed it on codeplex (2911) for us to fix in one of the future releases.

Martin

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of HEMMI, Shigeru
Sent: Monday, September 04, 2006 5:13 PM
To: Discussion of IronPython
Subject: [IronPython] NotImplementedError: bad mode: rb+

Hello, I want to use 'anydbm' module.
However, some feature missing. See below.
Is there a plan to add this feature?

IronPython 1.0.2420 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys
>>> sys.path.append(r'C:\Python24\Lib')
>>> import anydbm
>>> d = anydbm.open('testing.db','c')
>>> d["foo"]="goo"
Traceback (most recent call last):
  File , line 0, in <stdin>##53
  File C:\Python24\Lib\dumbdbm.py, line 163, in __setitem__
  File C:\Python24\Lib\dumbdbm.py, line 129, in _addval
  File , line 0, in Make##49
NotImplementedError: bad mode: rb+
>>>
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list