[PD-dev] [ pure-data-Patches-3606330 ] don't distribute empty lists to outlets

SourceForge.net noreply at sourceforge.net
Thu Feb 28 10:33:47 CET 2013


Patches item #3606330, was opened at 2013-02-28 01:33
Message generated for change (Tracker Item Submitted) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3606330&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: don't distribute empty lists to outlets

Initial Comment:
sending an empty list to a patchable object that has neither bang-method nor an list- or anything-method, will silently ignore the message.
e.g.
[list(
|
[sin]

the problem comes from Pd's automatic unpacking of lists to the object's inlets, which in case of an empty list just does nothing.
the attached patch will only call the unpacking code if the list is non-empty (and fall back to the default anything method).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3606330&group_id=55736



More information about the Pd-dev mailing list