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/2013-September/128273.html below:

[Python-Dev] SEEK_* constants in io and os

[Python-Dev] SEEK_* constants in io and os [Python-Dev] SEEK_* constants in io and osAntoine Pitrou solipsis at pitrou.net
Mon Sep 2 10:24:37 CEST 2013
Le Sun, 1 Sep 2013 18:02:30 -0700,
Eli Bendersky <eliben at gmail.com> a écrit :
> Hello,
> 
> I was looking at the possibility of replacing the SEEK_* constants by
> IntEnums, and the first thing that catches attention is that these
> constants are defined in both Lib/os.py and Lib/io.py; both places
> also recently started supporting SEEK_HOLE and SEEK_DATA (though here
> io refers to os.SEEK_HOLE and os.SEEK_DATA).

What is the runtime cost of doing so? os is a fundamental module that is
imported by almost every Python program.

Regards

Antoine.


More information about the Python-Dev mailing list

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