[Gelistirici] [paketler-commits] r41741 - in devel/system/base/python: . files

Faik Uygur faik at pardus.org.tr
22 Şub 2008 Cum 14:16:08 EET


Friday 22 February 2008 13:39:36 tarihinde Ekin Meroğlu şunları yazmıştı:
>   File "/usr/lib/python2.5/shelve.py", line 225, in open
>     return DbfilenameShelf(filename, flag, protocol, writeback)
>   File "/usr/lib/python2.5/shelve.py", line 209, in __init__
>     Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
>   File "/usr/lib/python2.5/anydbm.py", line 82, in open
>     mod = __import__(result)
>   File "/usr/lib/python2.5/dbhash.py", line 5, in <module>
>     import bsddb
>   File "/usr/lib/python2.5/bsddb/__init__.py", line 51, in <module>
>     import _bsddb

Ben python'un shelve kütüphanesini kullanıyordum. Ama anlaşılan python'un 
kendisi de bsddb3'ü kullanıyor. Yani python runtime bağımlı gibi görünüyor.

faik at cure python2.4 $ pisi sf shelve.py
shelve.py'i arıyor
Package python has file /usr/lib/python2.4/shelve.py
faik at cure python2.4 $ pisi sf dbhash.py
dbhash.py'i arıyor
Package python has file /usr/lib/python2.4/dbhash.py
faik at cure python2.4 $ pisi sf bsddb
bsddb'i arıyor
Package python has file /usr/lib/python2.4/bsddb/test/test_associate.py
Package python has file /usr/lib/python2.4/bsddb/dbshelve.py
Package python has file /usr/lib/python2.4/bsddb/test/test_dbobj.py
Package python has file /usr/lib/python2.4/bsddb/test/test_env_close.py
Package python has file /usr/lib/python2.4/bsddb/test/test_basics.py
Package python has file /usr/lib/python2.4/bsddb/dbrecio.py
Package python has file /usr/lib/python2.4/bsddb/db.py
Package python has file /usr/lib/python2.4/bsddb/dbutils.py
Package python has file /usr/lib/python2.4/bsddb/test/test_misc.py
Package python has file /usr/lib/python2.4/bsddb/test/test_queue.py
Package python has file /usr/lib/python2.4/bsddb/dbtables.py
Package python has file /usr/lib/python2.4/bsddb/dbobj.py
Package python has file /usr/lib/python2.4/bsddb/test/test_all.py
Package python has file /usr/lib/python2.4/bsddb/test/test_pickle.py
Package python has file /usr/lib/python2.4/bsddb/test/test_join.py
Package python has file /usr/lib/python2.4/bsddb/test/test_1413192.py
Package python has file /usr/lib/python2.4/bsddb/test/test_compat.py
Package python has file /usr/lib/python2.4/bsddb/__init__.py
Package python has file /usr/lib/python2.4/bsddb/test/test_lock.py
Package python has file /usr/lib/python2.4/bsddb/test/test_get_none.py
Package python has file /usr/lib/python2.4/bsddb/test/__init__.py
Package python has file /usr/lib/python2.4/bsddb/test/test_dbtables.py
Package python has file /usr/lib/python2.4/bsddb/test/test_thread.py
Package python has file /usr/lib/python2.4/bsddb/test/test_recno.py
Package python has file /usr/lib/python2.4/bsddb/test/test_dbshelve.py

"""Support for BerkeleyDB 3.2 through 4.2.
"""

try:
    if __name__ == 'bsddb3':
        # import _pybsddb binary as it should be the more recent version from
        # a standalone pybsddb addon package than the version included with
        # python as bsddb._bsddb.
        import _pybsddb
        _bsddb = _pybsddb
    else:
        import _bsddb
except ImportError:
    # Remove ourselves from sys.modules
    import sys
    del sys.modules[__name__]
    raise

- Faik



Gelistirici mesaj listesiyle ilgili daha fazla bilgi