A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-June/025064.html below:

[Python-Dev] Changing ob_size to [s]size_t

[Python-Dev] Changing ob_size to [s]size_t [Python-Dev] Changing ob_size to [s]size_tMartin v. Löwis loewis@informatik.hu-berlin.de
06 Jun 2002 11:41:15 +0200
What terrible things would happen if ob_size would be changed from int
to size_t?

The question recently came up on comp.lang.python, where the poster
noticed that you cannot mmap large files on a 64-bit system where int
is 32 bits; there is a 2Gib limit on the length of objects on his
specific system.

About the only problem I can see is that you could not store negative
numbers anymore. Is ssize_t universally available, or could be used on
systems where it is available?

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