Changes by Carsten Grohmann :
--
nosy: +cgrohmann
___
Python tracker
<http://bugs.python.org/issue23102>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Carsten Grohmann :
--
nosy: +cgrohmann
___
Python tracker
<http://bugs.python.org/issue11159>
___
___
Python-bugs-list mailing list
Unsubscribe:
Carsten Grohmann added the comment:
Setting dp to an empty string is only a workaround from my perspective.
I get the value of the places parameter from a configuration instance and have
to implement an additional check "places == 0" every time I call the original
moneyfmt(). To r
New submission from Carsten Grohmann :
Hi,
the documentation of the decimal module contains a small recipe called
moneyfmt() for format decimal values. It's very usefull.
I'd like to suggest a small improvement because the output is incorrect with
given dp="." (d
Carsten Grohmann <[EMAIL PROTECTED]> added the comment:
"current local unix seconds" means seconds since the Epoch in local
timezone.
I've attached a small example to show that is no difference between the
time returned by time.localtime() and time.time(). So I assume
New submission from Carsten Grohmann <[EMAIL PROTECTED]>:
The current python documentation of the time module
(http://docs.python.org/lib/module-time.html) means that time.time()
returns the "seconds since the epoch, in UTC".
But in the current source documentation of the t
New submission from Carsten Grohmann <[EMAIL PROTECTED]>:
The current version of the receipe moneyfmt doesn't have a leading "0"
for 1 < value < -1.
The attached patch adds a new parameter "zero". The parameter is empty
per default and can set to &quo
New submission from Carsten Grohmann:
The example for property() contains a typo / small bug:
class C(object):
def __init__(self): self.__x = None
[...]
should be:
class C(object):
def __init__(self): self._x = None
[...]
Source: http://docs.python.org/lib/built-in-funcs.html