A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035352.html below:

[Python-Dev] How to test this?

[Python-Dev] How to test this? [Python-Dev] How to test this?Martin v. Löwis martin@v.loewis.de
06 May 2003 00:03:00 +0200
Skip Montanaro <skip@pobox.com> writes:

> It appears the database itself accounts for the endianness of the file.  I
> copied my test db file from my Mac to a Linux PC.  struct.unpack("=l",
> f.read(4)) showed different values on the two systems (0x61561 vs
> 0x61150600) but bsddb185 on both systems could read the file.  This is a
> very nice property of Berkeley DB in general.

That's good to hear. I thought I understood a report on the Subversion
mailing list that you can't move databases across endianesses, but
that might have been an unrelated issue.

Regards,
Martin




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4