[issue5420] Queue deprecation warning patch

2014-04-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Martin von Löwis successfully lobbied to keep these methods. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___

[issue5420] Queue deprecation warning patch

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: No news for 2 years. -- nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue5420] Queue deprecation warning patch

2011-07-09 Thread Éric Araujo
Éric Araujo added the comment: I think the docstrings of empty and full should mention they’re obsolete, to make users of pydoc or other tools aware of the deprecation before they write code using them. -- nosy: +eric.araujo ___ Python tracker

[issue5420] Queue deprecation warning patch

2011-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5420] Queue deprecation warning patch

2009-12-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's too late now for deprecation in 3.2... -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Now, with unit tests... :) Added file: http://bugs.python.org/file13253/queue_patch3.txt ___ Python tracker ___ _

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: You should test that the warnings are given by the deprecated methods. Look at test_py3kwarn for an example of how to do that. ___ Python tracker ___

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Jesse Noller
Jesse Noller added the comment: Quote: Issues: * Noticed no warnings raised as a result of changes to multiprocessing: ergo multiprocessing.queue empty() and full() methods are not currently getting test coverage ? I need to check this. ___ Python tracker

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Jesse Noller
Changes by Jesse Noller : -- nosy: +jnoller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : Removed file: http://bugs.python.org/file13252/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Hi JP, I experimented with stacklevel but to be honest nothing I saw appeared greatly more useful than the default for the tests in question. What form would the unit tests take? Trying to assert that empty() and full() raised a deprecation warning? I'm

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Patch covering all files in a single patch. * Updated warning message * Updated multiprocessing tests to avoid calls to empty and full * Placed deprecation warning in multiprocessing methods * Update wsgui to avoid deprecated calls Issues: * No

[issue5420] Queue deprecation warning patch

2009-03-04 Thread David W. Lambert
Changes by David W. Lambert : -- nosy: +LambertDW ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Unit tests are a great thing as well. Also, the deprecation warnings you've added are the really annoying kind. They refer to users to the source of the deprecated methods themselves! A vastly preferable use of the warnings system is to refer users to th

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can you make a single patch for Lib/queue.py and Misc/NEWS and remove any uses of emtpy/full in the standard library including multiprocessing. Also, for deprecations, it's always nice to have the message suggest an alternative, something like: "The empty()

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Add comment to NEWS as documented... Added file: http://bugs.python.org/file13246/NEWS_patch.txt ___ Python tracker ___ _

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg : A very tiny patch which places a DeprecationWarning inside Queue.empty and Queue.full -- components: Library (Lib) files: queue_patch.txt messages: 83180 nosy: tleeuwenb...@gmail.com severity: normal status: open title: Queue deprecation warnin