Bugs item #802128, was opened at 2003-09-07 16:46 Message generated for change (Comment added) made by akuchling You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=802128&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Interpreter Core >Group: Python 2.6 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Martin v. Löwis (loewis) >Assigned to: A.M. Kuchling (akuchling) Summary: Mode argument of dumbdbm does not work Initial Comment: In dumbdbm.py 2.15, support for a mode argument was added. However, this support does not work: The mode argument is passed to __builtin__.open, which does not support specification of a mode. Instead, the third argument to that function specifies the buffer size. ---------------------------------------------------------------------- >Comment By: A.M. Kuchling (akuchling) Date: 2006-12-22 10:17 Message: Logged In: YES user_id=11375 Originator: NO Change committed for the umask stuff; I'll see how the buildbots react. Closing this bug. ---------------------------------------------------------------------- Comment By: A.M. Kuchling (akuchling) Date: 2006-12-22 10:05 Message: Logged In: YES user_id=11375 Originator: NO Fix committed in rev. 53141. Leaving open while I look at umask stuff a bit. ---------------------------------------------------------------------- Comment By: Fred L. Drake, Jr. (fdrake) Date: 2006-12-22 08:54 Message: Logged In: YES user_id=3066 Originator: NO Sorry, my patch is long gone. :-( ---------------------------------------------------------------------- Comment By: A.M. Kuchling (akuchling) Date: 2006-12-22 08:50 Message: Logged In: YES user_id=11375 Originator: NO Attaching my patch. File Added: dumbdbm.patch ---------------------------------------------------------------------- Comment By: A.M. Kuchling (akuchling) Date: 2006-12-22 08:44 Message: Logged In: YES user_id=11375 Originator: NO Fred, do you still have the patch you mention? I've worked up a patch, but it must be simpler; I don't do anything with the umask. ---------------------------------------------------------------------- Comment By: Fred L. Drake, Jr. (fdrake) Date: 2003-09-12 02:18 Message: Logged In: YES user_id=3066 I have what I think is a correct patch, but I should be able to simplify it (related to handling the umask). Untested on Windows. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=802128&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com