Re: Threads and time.strptime()

2006-07-04 Thread Maximilian Michel
; so normally Python doesn't set locales according to my system environment, but in a separate thread it does... strange (or i just didn't set something correctly?). Thank you so much! max John Machin wrote: > On 3/07/2006 6:57 PM, Maximilian Michel wrote: > > Hi all, > >

Re: Threads and time.strptime()

2006-07-04 Thread Maximilian Michel
The parsing thread reads also the file from the disk. placid wrote: > Maximilian Michel wrote: > > Hi all, > > > > I have an interesting problem: > > I have written code, that reads a logfile and parses it for date string > > (Thu Jun 29 14:01:23 2006). > &g

Threads and time.strptime()

2006-07-03 Thread Maximilian Michel
Hi all, I have an interesting problem: I have written code, that reads a logfile and parses it for date string (Thu Jun 29 14:01:23 2006). Standalone everthing works fine, all is recognized. But if I let the same code run in a thread, with the same file as input I get the following error: ... F