[issue23102] distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution

2014-12-27 Thread Carsten Grohmann
Changes by Carsten Grohmann carstengrohm...@gmx.de: -- nosy: +cgrohmann ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23102 ___ ___ Python-bugs

[issue11159] Sax parser crashes if given unicode file name

2012-12-08 Thread Carsten Grohmann
Changes by Carsten Grohmann carstengrohm...@gmx.de: -- nosy: +cgrohmann ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11159 ___ ___ Python-bugs

[issue10813] Suppress adding decimal point for places=0 in moneyfmt()

2011-01-06 Thread Carsten Grohmann
Carsten Grohmann carstengrohm...@gmx.de 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

[issue10813] Suppress adding decimal point for places=0 in moneyfmt()

2011-01-03 Thread Carsten Grohmann
New submission from Carsten Grohmann carstengrohm...@gmx.de: 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=. (default

[issue3185] Documentation of time.time() differs from source documentation

2008-06-24 Thread Carsten Grohmann
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 that time.time() also returns

[issue3185] Documentation of time.time() differs from source documentation

2008-06-23 Thread Carsten Grohmann
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 time module (http

[issue2648] decimal receipe moneyfmt suppress leading 0

2008-04-17 Thread Carsten Grohmann
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 0 print a leading 0. The examples are updated also

[issue1063] Small typo in properties example

2007-08-30 Thread Carsten Grohmann
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