On Sun, May 25, 2008 at 12:21 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Hi, > > I'll handle the PEP 3108 dbm package if nobody else is already at it. >
I know I have not started the work. > Two questions though: > > * the whichdb() function returns strings that are module names. These > names won't be importable anymore in 3k. Should the return values > remain the same in 3k, or should whichdb() return the new names, and > if the latter, including "dbm." or not? > New names with the package name prepended. Should probably change the API at some point to just return the module to use instead of the name. > * two of the previous modules are C modules, namely dbm and gdbm. They > can't be easily moved into the package. I expect the solution is to > create stub Python modules and rename the C modules with a leading > underscore? (It's already like this for bsd, except that the C module > name, bsddb, has no underscore.) > Yep. I don't know of any package in the stdlib that uses a extension module in some other fashion. -Brett _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com