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

[Python-Dev] How to test for stuff like fsync?

[Python-Dev] How to test for stuff like fsync? [Python-Dev] How to test for stuff like fsync?Martin v. Löwis martin at v.loewis.de
Sat Sep 27 03:02:00 EDT 2003
Anthony Baxter <anthony at interlink.com.au> writes:

> A thought that occurred to me a short time ago: write a script that outputs
> the contents of each builtin module (the names in the module) to a file.
> 
> Run that under previous version of python. Run it under release candidate.
> Compare differences. 

In this specific case, it would have triggered a false alarm on some
systems. I rewrote the test for fsync to overcome a build problem on
some system, where fsync was present in the library, but not present
in the header files. Since we are taking fsync's address, this causes
a compile-time problem. So it *is* intentional that fsync is now gone
for systems on which it was previously (2.2) present. (More
specifically, fsync might disappear on systems that cannot stand
_XOPEN_SOURCE being defined)

Regards,
Martin

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