pcp
[Top] [All Lists]

Re: pcp-programmers-guide.xml

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: pcp-programmers-guide.xml
From: Stan Cox <scox@xxxxxxxxxx>
Date: Wed, 12 Feb 2014 14:07:39 -0500
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1064102940.1296710.1392011264511.JavaMail.zimbra@xxxxxxxxxx>
References: <52F50F51.1020504@xxxxxxxxxx> <1064102940.1296710.1392011264511.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
I think I caught everything you noted.  The current version is on:
 ssh://sourceware.org/git/pcpfans.git
 branch "scox/pcp-books"


- pmNameID vs pmNameInDom -> different style (str vs "string")

I went with the "string description" style. I put every user variable name in italics.

Re the python exception handling - er, wow - its that easy?  :]
Can you really import a module within an exception handler?
Also, should the "print freemem" be earlier on?

Yes indeed. I pulled that from a live example. The print is okay, just a pythonism, it is undented after the exception handler.

> Its a tough slog working on these books

I tried using xmlcopyeditor but ended up using emacs nXML mode side by side with the pdf output.

<Prev in Thread] Current Thread [Next in Thread>