<div dir="ltr">Thank you for your feedback on this topic.<div>Based on your replies we have decided to let the "publish()" function print a warning when being invoked without the keyword "queue_size".</div>
<div>The warning message itself will point to the wiki page about rospy publishers for more information.</div><div><br></div><div>As any warning printed via Pythons warnings module it can be disabled with an environment variable.</div>
<div>Since deprecation warnings are not printed by default we used a UserWarning instead.</div><div><br></div><div>These changes will be done for "Indigo".</div><div>For future ROS distros we can revisit the decision if we should keep the Indigo behavior or change the warning into an error or change the default behavior.</div>
<div><br></div><div>Thank you,</div><div>- Dirk</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 8, 2014 at 1:43 AM, Thibault Kruse <span dir="ltr"><<a href="mailto:kruset@in.tum.de" target="_blank">kruset@in.tum.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 06.03.2014 09:32, Daniel Stonier wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So back to my earlier question - is setting a queue size expensive in the python implementation? If there isn't a technical weakness there, then I'm all for a) warnings and a migration point sometime in the future - it wouldn't be very costly to mechanically search and destroy all rospy.Publisher instances in a ros workspace.<br>

<br>
</blockquote></div>
I agree. I would say a warning here should include a deprecation warning. Even if actual removal of the old API cannot yet be scheduled for j-turtle or k-turtle, deprecation seems to be the way to go.<div class="HOEnZb">
<div class="h5"><br>
______________________________<u></u>_________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.ros.org" target="_blank">ros-users@lists.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-users" target="_blank">http://lists.ros.org/mailman/<u></u>listinfo/ros-users</a><br>
</div></div></blockquote></div><br></div>