Re: [Python-Dev] Does Python need a file locking module (slightly higher level)?

2007-11-03 Thread skip

skip> Okay, this is up on my website:

skip> http://www.webfast.com/~skip/python/

And on PyPI:

http://pypi.python.org/pypi/lockfile/

Skip
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-03 Thread Martin v. Löwis
>> That doesn't really answer the question, though - you merely state
>> that Python 2.4 calls the CRT, but then my question is still what
>> kernel32 functions are called to have stat on NUL succeed.
>>
> 
> I'm not 100% (it calls it through a function pointer and I'm not sure
> I tracked it down correctly), but I think it calls it through the C
> stat() function. In other words, it doesn't use any kernel32 functions
> directly, it calls the stat() that's exported from the MSVCRT.

Sure - but what does stat then do when passed NUL?

> GetFileAttributes() doesn't return those, just the FAT filesystem
> attributes. GetFileSize and GetFileTime fail.

Ok, so how does msvcrt stat() manage to fill these fields if those
functions fail?

Regards,
Martin
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Summary of Tracker Issues

2007-11-03 Thread Tracker

ACTIVITY SUMMARY (10/27/07 - 11/03/07)
Tracker at http://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue 
number.  Do NOT respond to this message.


 1316 open (+15) / 11546 closed (+20) / 12862 total (+35)

Open issues with patches:   417

Average duration of open issues: 683 days.
Median duration of open issues: 777 days.

Open Issues Breakdown
   open  1312 (+15)
pending 4 ( +0)

Issues Created Or Reopened (36)
___

correction for test_tempfile in py3k on Windows  10/28/07
CLOSED http://bugs.python.org/issue1340reopened gvanrossum   
   

Fix for test_netrc on Windows10/27/07
   http://bugs.python.org/issue1345created  tiran
   patch   

Error using >>> from OpenGL.GLUT import *10/27/07
CLOSED http://bugs.python.org/issue1346created  neuralsensor 
   

BaseHTTPServer writing strings to bytes interface10/28/07
CLOSED http://bugs.python.org/issue1347created  janssen  
   py3k, patch 

httplib closes socket, then tries to read from it10/28/07
   http://bugs.python.org/issue1348created  janssen  
   py3k, patch 

more uses of ord() in plat-mac/ic.py 10/28/07
CLOSED http://bugs.python.org/issue1349created  janssen  
   py3k, patch 

IDLE - CallTips enhancement - show full doc-string in new window 10/28/07
   http://bugs.python.org/issue1350created  taleinat 
   patch   

Add getsize() to io instances10/28/07
   http://bugs.python.org/issue1351created  tiran
   

Preliminary stderr patch 10/28/07
CLOSED http://bugs.python.org/issue1352created  tiran
   

mp4 missing from mimetypes.py10/29/07
CLOSED http://bugs.python.org/issue1353created  kraft
   

windows installer problem10/29/07
   http://bugs.python.org/issue1354created  rajar
   

xml.dom refers to PyXML, which is no longer maintained   10/29/07
   http://bugs.python.org/issue1355created  whooey1830   
   

3.0a1 Solaris w/ SUN C/C++   10/29/07
CLOSED http://bugs.python.org/issue1356created  MrJean1  
   

3.0a1 make test Error on  Solaris w/ SUN C/C++   10/29/07
CLOSED http://bugs.python.org/issue1357created  MrJean1  
   

Compile error on OS X 10.5   10/29/07
   http://bugs.python.org/issue1358created  andres   
   

py3k: out of bounds read in PyUnicode_DecodeUnicodeEscape10/29/07
CLOSED http://bugs.python.org/issue1359reopened gvanrossum   
   

Queue.get() can't be interrupted with Ctrl-C unless timed out10/30/07
CLOSED http://bugs.python.org/issue1360created  piro 
   

please close: hashlib uses OpenSSL which is much slower than Aar 10/30/07
CLOSED http://bugs.python.org/issue1361created  Omnifarious  
   

Simple mistake in http://docs.python.org/tut/node6.html  10/30/07
CLOSED http://bugs.python.org/issue1362created  dmazz
   

python 2.4.4 fails on solaris (sun4u sparc SUNW,Sun-Fire-880)10/30/07