Re: Please wait with release

Bram Moolenaar <[email protected]> Mon, 24 Jan 2005 12:38:02 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Lars Ivar Igesund wrote:

> More extensive testing in linux has revealed at least one more bug in
> the D module. I'll ship a patch later (hopefully this evening). 

OK, I'll wait a bit then.

> Also, doing something like 
>  
> @if not _top.DDEPCHECK: 
>  
> crashes if the variable isn't set using version 1.070 and 1.072 in Gentoo 
> Linux. The error message: 
>  
> Aap: Internal Error 
> Aap: Traceback (most recent call last): 
>    File "/usr/share/aap/Process.py", line 1163, in Process 
>     exec script_string in recdict, recdict 
>    File "<string>", line 18, in ? 
>    File "/usr/share/aap/Scope.py", line 48, in __getattr__ 
>     return self.data[key] 
>  KeyError: 'DDEPCHECK' 
>  
> Aap: Aborted 
>  
> Python version 2.3.4, compiled with GCC 3.3.4. Linux kernel 2.6.9. 
>  
> The workaround is simple in this case, but this shouldn't happen? 

Why should this not happen?  You can use get() if the variable might not
be defined.

-- 
JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN
                    WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE
                    BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE
                    EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR
                    LAUNCELOT
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl