Re: [Python-Dev] PyOS_GetLastModificationTime

2009-01-03 Thread Ulrich Eckhardt
On Friday 02 January 2009 23:18:04 Martin v. Löwis wrote: > Correct me if I'm wrong: it seems that the function isn't called > anymore. So I propose to just remove it (and the file it lives > in). Filed as issue #4817, including patch. Uli ___ Python-De

Re: [Python-Dev] PyOS_GetLastModificationTime

2009-01-02 Thread Ulrich Eckhardt
On Friday 02 January 2009 22:30:39 Ulrich Eckhardt wrote: > The function PyOS_GetLastModificationTime() is documented in sys.rst as > taking a "char*". However, in reality, it takes a "char*" and a "FILE*". > Actually, it should take a "char const*", as it doesn't and shouldn't > modify the path. F

Re: [Python-Dev] PyOS_GetLastModificationTime

2009-01-02 Thread Martin v. Löwis
> Any suggestions how to deal with that issue? Correct me if I'm wrong: it seems that the function isn't called anymore. So I propose to just remove it (and the file it lives in). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://

[Python-Dev] PyOS_GetLastModificationTime

2009-01-02 Thread Ulrich Eckhardt
Hi! The function PyOS_GetLastModificationTime() is documented in sys.rst as taking a "char*". However, in reality, it takes a "char*" and a "FILE*". Actually, it should take a "char const*", as it doesn't and shouldn't modify the path. Further, the normal version doesn't use the path at all, th