usage of os.posix_fadvise

Cameron Simpson cs at zip.com.au
Thu May 30 19:21:42 EDT 2013


On 30May2013 17:54, Wolfgang Maier <wolfgang.maier at biologie.uni-freiburg.de> wrote:
| Antoine Pitrou wrote:
| >The Linux version of "man posix_fadvise" probably holds the answer:
[...]
| 
| Hi Antoine,
| you're right and thanks a lot for this great piece of information.
[...]
| P.S.: Maybe these new os module features could use a bit more documentation? 

This suggestion comes up a lot WRT to the os.* functions. Unfortunately,
the required doco for your issue is very platform dependent as
you've just discovered; not merely your distro but the very kernel
revisions.

Maybe it should be made much more obvious that users _must_ go and
consult their platform's documentation for specifics on how their
platform implents the interface. On UNIX, that means "man 2 blah"
or "man 3 blah", depending.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au>

I suppose the solution would be to close the composition window and let
my article sit for half an hour or so once I've finished with it, and
then go back and proofread it once more.  But that would be a pain in
the proverbial bifurcated derriere.  Part of the experience of flaming is
to load a searing missive into the conceptual breech of my SPARCcannon
and pull the imaginary lanyard whilst flushed with the adrenaline of mortal
combat.
        - Geoff Miller, <geoffm at purplehaze.Corp.Sun.COM>



More information about the Python-list mailing list