[Python-Dev] Re: RELEASED Python 2.3.1

Skip Montanaro skip at pobox.com
Fri Sep 26 10:24:19 EDT 2003

    Martin> "Jason R. Mastaler" <jason at mastaler.com> writes:
    >> Python 2.3.1 (#1, Sep 24 2003, 15:55:24) 
    >> [GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] on linux2
    >> Type "help", "copyright", "credits" or "license" for more information.
    >> >>> from os import fsync
    >> Traceback (most recent call last):
    >> File "<stdin>", line 1, in ?
    >> ImportError: cannot import name fsync
    >> >>> 

    Martin> Why is that a bug? Your system just does not have a declared
    Martin> fsync function.

No, it was a typo in the configure scripts.  I checked in a fix for both the
head and release23-maint branches yesterday.  Red Hat 8.0 does have fsync:

    FSYNC(2)                   Linux Programmer's Manual                  FSYNC(2)

           fsync,  fdatasync  -  synchronize  a file's complete in-core state with
           that on disk

That is from an 8.0 system.


More information about the Python-Dev mailing list