diff options
author | Raymond Hettinger <python@rcn.com> | 2008-01-14 21:39:24 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-01-14 21:39:24 (GMT) |
commit | da3caedc559d6314502ddc4b10cad8534fb9d8d1 (patch) | |
tree | e57f7ae511ed0ff3a1539a5583799058dfa33450 /Misc | |
parent | d32ed6f5117a68037e9cb7bcfd8d0f8d1611f442 (diff) | |
download | cpython-da3caedc559d6314502ddc4b10cad8534fb9d8d1.zip cpython-da3caedc559d6314502ddc4b10cad8534fb9d8d1.tar.gz cpython-da3caedc559d6314502ddc4b10cad8534fb9d8d1.tar.bz2 |
Remove Queue.empty() and Queue.full() in favor of using qsize() or trapping the Empty and Full exceptions.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -352,6 +352,9 @@ Core and Builtins Library ------- +- Removed Queue.empty() and Queue.full(). Instead use Queue.qsize() or + trap the Empty and Full exceptions. + - Removed defunct parts of the random module (the Wichmann-Hill generator and the jumpahead() method). |