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
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
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
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
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
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]
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