[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Majeed Arni
Majeed Arni added the comment: Though %f is a valid format from Python's doc https://docs.python.org/2/library/datetime.html, the fix just ignores it on Windows? can we atleast get milliseconds on Windows and Micro on Linux? %f Microsecond as a decimal number, zero-padded on the left

[issue24244] Python Crash on strftime with %f on Python 3

2015-05-20 Thread Majeed Arni
Majeed Arni added the comment: When we have this for format: date_format = '%Y %m %d %H:%M:%S %z' I see our logs as: [2015 05 19 17:36:09 -0500] watcher modified When I change the format to: [2015 05 20 08:51:24 -0500] stderr AttributeError: 'StreamLogger' object has no attribute 'flush

[issue24244] Python Crash on strftime with %f on Python 3 and Python 2

2015-05-20 Thread Majeed Arni
Majeed Arni added the comment: Actually it is happening in Python 2.7 too.. Here is the format we are trying to use: date_format = '%Y %m %d %H:%M:%S:%f %z' Also, is there something millisecond if not microsecond? -- title: Python Crash on strftime with %f on Python 3 - Python Crash

[issue24244] Python Crash on strftime with %f on Python 3

2015-05-19 Thread Majeed Arni
New submission from Majeed Arni: http://bugs.python.org/issue11735 fixed in 2.7, but in 3.4 and 3.5 the same problem exists. Just crashes python. -- components: Library (Lib) messages: 243641 nosy: MajeedArni priority: normal severity: normal status: open title: Python Crash

[issue10762] strftime('%f') segfault

2015-05-19 Thread Majeed Arni
Majeed Arni added the comment: The problem still exists in 3.4 and 3.5 a4 Unhandled exception in thread started by -- nosy: +MajeedArni versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep

Re: trying to match a string

2008-07-18 Thread arni
On Jul 18, 3:46 pm, [EMAIL PROTECTED] (Eddie Corns) wrote: [EMAIL PROTECTED] writes: Hi, Hi, I am taking a string as an input from the user and it should only contain the chars:L , M or R I tried the folllowing in kodos but they are still not perfect: [^A-K,^N-Q,^S-Z,^0-9] [L][M][R]

Re: trying to match a string

2008-07-18 Thread arni
On Jul 18, 7:51 pm, Andrew Freeman [EMAIL PROTECTED] wrote: Andrew Freeman wrote: oj wrote: On Jul 18, 12:10 pm, John Machin [EMAIL PROTECTED] wrote: On Jul 18, 9:05 pm, oj [EMAIL PROTECTED] wrote: On Jul 18, 11:33 am, [EMAIL PROTECTED] wrote: Hi,         Hi,         I am taking