Hi Jesse,<br><br>I'm not sure what the most appropriate thing to do is. I could:<br> (a) leave any multiprocessing changes to you, <br> (b) alter the functioning of the method queue_empty inside test_multiprocessing to test for emptiness in a different manner<br>
<br>I'm happy to go ahead and try my hand at making the appropriate changes but I don't want to tread in areas of the code that other people have ownership of.<br><br>It appears as though the only place in multiprocessing which uses the deprecated call is in the test_multiprocessing file.<br>
<br>I also found a call to Queue.empty in wsgui.py. I don't see any authorship tags at the top of this file but the last commiter was Andrew Kuchling. Do I need to contact him regarding this or is it appropriate for me to make the appropriate modifications without consulting him?<br>
<br>Apologies to anyone if I appear to be overly tentative OR overly pushy -- I am aware that some people take a great deal of personal ownership of their works, while others are impatient with a soft approach.<br><br>Regards,<br>
-Tennessee<br><br><div class="gmail_quote">On Thu, Mar 5, 2009 at 12:41 PM, <span dir="ltr"><<a href="mailto:jnoller@gmail.com">jnoller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yup, I'd need to remove support in multiprocessing too.<div><div></div><div class="h5"><br><br>On Mar 4, 2009 8:39pm, Tennessee Leeuwenburg <<a href="mailto:tleeuwenburg@gmail.com" target="_blank">tleeuwenburg@gmail.com</a>> wrote:<br>
> Hi all, just FYI... sorry for any list pollution<br>> <br>> I went ahead and tried adding a warning to my local checkout. The test suite raised a DeprecationWarning -- it appears those methods are currently in use by other Lib code:<br>
> <br>> <br>> <br>> test_multibytecodec_support<br>> test_multiprocessing<br>> /home/tjl/python3/lib/python3.1/queue.py:98: DeprecationWarning: Queue.empty() is deprecated, and won't be in 3.2.<br>> DeprecationWarning)<br>
> /home/tjl/python3/lib/python3.1/queue.py:109: DeprecationWarning: Queue.full() is deprecated, and won't be in 3.2.<br>> <br>> DeprecationWarning)<br>> /home/tjl/python3/lib/python3.1/queue.py:98: DeprecationWarning: Queue.empty() is deprecated, and won't be in 3.2.<br>
> DeprecationWarning)<br>> /home/tjl/python3/lib/python3.1/queue.py:109: DeprecationWarning: Queue.full() is deprecated, and won't be in 3.2.<br>> <br>> DeprecationWarning)<br>> test_mutants<br>> test_netrc<br>
> test_nis<br>> <br>> Regards,<br>> -T<br>> <br>> On Thu, Mar 5, 2009 at 12:30 PM, Raymond Hettinger <a href="mailto:python@rcn.com" target="_blank">python@rcn.com</a>> wrote:<br>> <br>> <br>> <br>
> Just noticed that the empty() and full() methods were still there.<br>> <br>> IIRC, we agreed to take them out (but leaving qsize() exposed).<br>> <br>> The docs entries and test cases were taken out, but the actual<br>
> <br>> methods were accidentally left in.<br>> <br>> <br>> <br>> <br>> <br>> If so, the only thing to do is deprecate it in 3.1 for removal in 3.2.<br>> <br>> <br>> <br>> <br>> <br>
> I recommend adding a warning to 3.0.2 and removing in 3.1.<br>> <br>> Waiting for more 3.x uptake doesn't serve our users well.<br>> <br>> IIRC, that was the rationale for cmp() removal in 3.0.1.<br>> <br>
> Even in 2.x, these methods were documented as being unreliable and were removed from the 3.0 docs entirely.<br>> <br>> We discussed removing them and most of the work was done. <br>> <br>> <br>> <br>> Guido, any thoughts?<br>
> <br>> <br>> <br>> <br>> <br>> Raymond<br>> <br>> <br>> _______________________________________________<br>> <br>> Python-Dev mailing list<br>> <br>> <a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
> <br>> <a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>> <br>> Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/tleeuwenburg%40gmail.com" target="_blank">http://mail.python.org/mailman/options/python-dev/tleeuwenburg%40gmail.com</a><br>
> <br>> <br>> <br>> <br>> <br>> <br>> -- <br>> --------------------------------------------------<br>> Tennessee Leeuwenburg<br>> <a href="http://myownhat.blogspot.com/" target="_blank">http://myownhat.blogspot.com/</a><br>
> "Don't believe everything you think"<br>></div></div></blockquote></div><br><br clear="all"><br>-- <br>--------------------------------------------------<br>Tennessee Leeuwenburg<br><a href="http://myownhat.blogspot.com/">http://myownhat.blogspot.com/</a><br>
"Don't believe everything you think"<br>