[PyKDE] Request for more SIP features -- Oops

Gerard Vermeulen gerard.vermeulen at grenoble.cnrs.fr
Fri Nov 26 06:46:32 GMT 2004


On Fri, 26 Nov 2004 07:18:56 +0100
Gerard Vermeulen <gerard.vermeulen at grenoble.cnrs.fr> wrote:

Oops, must have been still sleeping:
> 
> (2) the enums wrapped by SIP are mutable, but Python has the facility to define real constants:
> 
> >>> import termios
> >>> print termios.B110
> 3
> >>> termios.B110 = 0
> >>> print termios.B110
> 0
> >>>

Obviously this disproves my claim of immutable Python constants

Gerard




More information about the PyQt mailing list