[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2010-02-05 Thread Damien Elmes

New submission from Damien Elmes :

It seems like you can't set a modtime of 0 on a vfat partition. This may not be 
a valid thing to do, but it took me a long time to figure out it was a bad 
thing, as the error doesn't appear until the next time the error flag is 
checked:

>>> os.utime("testfile", (0.0,0.0))
>>> import time
Traceback (most recent call last):
  File "", line 1, in 
WindowsError: [Error 87] The parameter is incorrect

--
messages: 98879
nosy: Damien.Elmes
severity: normal
status: open
title: os.utime(file, (0,0,)) fails on on vfat, but doesn't fail immediately
versions: Python 2.5, Python 2.6

___
Python tracker 
<http://bugs.python.org/issue7858>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2010-02-05 Thread Damien Elmes

Damien Elmes  added the comment:

I'm afraid I don't have a Windows build environment handy, but a quick look at 
the function in question seems to indicate that is the problem. Thanks for the 
quick reply!

--

___
Python tracker 
<http://bugs.python.org/issue7858>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2127] sqlite3 docs should mention utf8 requirement

2008-02-16 Thread Damien Elmes

New submission from Damien Elmes:

The docs on http://docs.python.org/lib/sqlite3-Module-Contents.html
should mention that the connection string should always be UTF-8,
regardless of the encoding system of the underlying filesystem. See the
'note to windows users' on 

http://www.sqlite.org/c3ref/open.html

--
components: Documentation
messages: 62456
nosy: resolve1
severity: normal
status: open
title: sqlite3 docs should mention utf8 requirement
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2127>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com