[Python-Dev] [Python-checkins] Python Regression Test Failuresrefleak (1)
Kristján V. Jónsson
kristjan at ccpgames.com
Wed Jun 7 11:51:15 CEST 2006
More information about the Python-Dev mailing list
Wed Jun 7 11:51:15 CEST 2006
- Previous message: [Python-Dev] How to fix the buffer object's broken char buffersupport
- Next message: [Python-Dev] [Python-checkins] Python Regression Test Failuresrefleak (1)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Right, it is a FILETIME in the API, but the resolution stored on disk is limited to what the disk format provides. FAT32 is particularly skinny. I imagine that the value to store comes from GetSystemTimeAsFileTime which is updated with the clock interrupt. K -----Original Message----- From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of "Martin v. Löwis" Sent: 7. júní 2006 05:54 To: Tim Peters Cc: Neal Norwitz; Python Dev Subject: Re: [Python-Dev] [Python-checkins] Python Regression Test Failuresrefleak (1) Tim Peters wrote: > and filecmp contains a module-level _cache with a funky scheme for > avoiding file comparisons if various os.stat() values haven't changed. > But st_mtime on Windows doesn't necessarily change when a file is > modified -- it has limited resolution (2 seconds on FAT32, and I'm > having a hard time finding a believable answer for NTFS (which I'm > using)). The time stamp itself has a precision of 100ns (it really is a FILETIME). I don't know whether there is any documentation that explains how often it is updated; I doubt it has a higher resolution than the system clock :-) > Anyone bored enough to report what happens on Linux? I had to run it 18 times to get test_exceptions beginning 42 repetitions 123456789012345678901234567890123456789012 .......................................... test_exceptions leaked [203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] references 1 test OK. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/kristjan%40ccpgames.com
- Previous message: [Python-Dev] How to fix the buffer object's broken char buffersupport
- Next message: [Python-Dev] [Python-checkins] Python Regression Test Failuresrefleak (1)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list