bugGNU Octave - Bugs: bug #49158, warning ending in newline does no...

 
 

bug #49158: warning ending in newline does no traceback, but it is not documented

Submitted by:  Francesco Potortì <pot>
Submitted on:  Thu 22 Sep 2016 11:56:58 AM UTC  
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.0.3 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 22 Sep 2016 04:18:45 PM UTC, comment #2:

Looking better at the manual, it will probably make more sense to just make a reference from the warning function to the error function, where the text describing this behaviour is long, detailed and includes two examples which probably would make little sense replicating.

So, I suggest that, after the first paragraph, ending with the words "makes sense for your program to go on.", a new short paragraph be added like this (no changeset, sorry):

Francesco Potortì <pot>
Thu 22 Sep 2016 03:24:13 PM UTC, comment #1:

Should be simple, as you say, to adapth the existing language. If you prepare a changeset I can review and commit it.

Rik <rik5>
Project Administrator
Thu 22 Sep 2016 11:56:58 AM UTC, original submission:

Like errors, warning do not produce a backtrace when the message ends with a newline.

Unlike error(), this behaviour is not documented for warning().

It should be enough to copy and adapt the relevant text from the documentation of error() (look for "traceback messages").

Francesco Potortì <pot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pot (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-22 rik5 StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.3