Re: avoiding file corruption

2006-08-27 Thread Tim Scheidemantle
Amir Michail wrote: > Hi, > > Trying to open a file for writing that is already open for writing > should result in an exception. Look at fcntl module, I use it in a class to control access from within my processes. I don't think this functionality should be inherent to python though. Keep in mind

Re: Problem with tokenize module and indents

2006-08-24 Thread Tim Scheidemantle
Tim wrote: > I ran into a problem with a script i was playing with to check code > indents and need some direction. It seems to depend on if tabsize is > set to 4 in editor and spaces and tabs indents are mixed on consecutive > lines. Works fine when editors tabsize was 8 regardless if inden

Re: Password authentication systems

2006-08-12 Thread Tim Scheidemantle
Enabling shadow passwords stores them in /etc/shadow which is not world readable unlike /etc/passwd. They would be encrytped regardless of the file they are in. AlbaClause wrote: > [EMAIL PROTECTED] wrote: > > >> This may only be tangentially related to Python, but since I am coding >> a pa