Re: [Twisted-Python] doc suggestion

2012-11-15 Thread Glyph
On Nov 15, 2012, at 3:48 AM, exar...@twistedmatrix.com wrote: > On 08:03 am, gl...@twistedmatrix.com wrote: >> A long time ago, we made an informal policy decision about redundancy >> between documentation of instance variables and constructor parameters. >> Specifically we decided that if an i

Re: [Twisted-Python] passing exception object to log.err doesn't log traceback?

2012-11-15 Thread Paul Wiseman
Ah I doubted it was a bug but the behaviour surprised me. Thanks for explaining! On 15 November 2012 14:56, Itamar Turner-Trauring < ita...@futurefoundries.com> wrote: > > > On Thu, Nov 15, 2012 at 9:02 AM, Paul Wiseman wrote: > >> I was just looking at some logs and some of the errors logged wi

Re: [Twisted-Python] passing exception object to log.err doesn't log traceback?

2012-11-15 Thread Itamar Turner-Trauring
On Thu, Nov 15, 2012 at 9:02 AM, Paul Wiseman wrote: > I was just looking at some logs and some of the errors logged without > tracebacks, I work out it was when I wasn't passing the error object to > log.err- Is this by design? > In Python 2.x, exception objects do not have any reference to the

[Twisted-Python] passing exception object to log.err doesn't log traceback?

2012-11-15 Thread Paul Wiseman
I was just looking at some logs and some of the errors logged without tracebacks, I work out it was when I wasn't passing the error object to log.err- Is this by design? Here is some code which shows it logging and not logging the traceback import os from twisted.python import log from twisted.py

Re: [Twisted-Python] FW: No module names "twisted.names" due to confuse twisted-core library folder

2012-11-15 Thread Anil KARADAG
Hi Jean, Thanks for reply. I passed the problem with the below approach; Why am I getting ImportErrors for Twisted subpackages on my 64bit installation of RedHat/Fedora/CentOS? Red Hat and derived Linux distributions arrange to have certain Python libraries installed in /usr/lib/ and

Re: [Twisted-Python] FW: No module names "twisted.names" due to confuse twisted-core library folder

2012-11-15 Thread exarkun
On 09:27 am, akara...@netas.com.tr wrote: >Hi all, > >I have a problem about twisted-core library location. I downloaded and >installed twisted-10.2-core(TwistedCore-10.2.0.tar.bz2) and >names(TwistedNames-10.2.0.tar.bz2) from source code[1]. But python does >not find "names" plugin. Because twiste

Re: [Twisted-Python] doc suggestion

2012-11-15 Thread exarkun
On 08:03 am, gl...@twistedmatrix.com wrote: >A long time ago, we made an informal policy decision about redundancy >between documentation of instance variables and constructor parameters. >Specifically we decided that if an initializer simply takes a bunch of >parameters, then sets them as attri

Re: [Twisted-Python] doc suggestion

2012-11-15 Thread 王富文
I want to unsubscribe please; At 2012-11-15 16:03:39,Glyph wrote: A long time ago, we made an informal policy decision about redundancy between documentation of instance variables and constructor parameters. Specifically we decided that if an initializer simply takes a bunch of parameters,

[Twisted-Python] FW: No module names "twisted.names" due to confuse twisted-core library folder

2012-11-15 Thread Anil KARADAG
Hi all, I have a problem about twisted-core library location. I downloaded and installed twisted-10.2-core(TwistedCore-10.2.0.tar.bz2) and names(TwistedNames-10.2.0.tar.bz2) from source code[1]. But python does not find "names" plugin. Because twisted-core has been installed under /usr/lib64

[Twisted-Python] doc suggestion

2012-11-15 Thread Glyph
A long time ago, we made an informal policy decision about redundancy between documentation of instance variables and constructor parameters. Specifically we decided that if an initializer simply takes a bunch of parameters, then sets them as attributes on self under the same name, it would be