BIND 10 master, updated. 351b82d0ed7d964803be52b433706377d7b2f780 [master] Use alternate syntax for shallow copy

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jul 1 15:13:08 UTC 2013


The branch, master has been updated
       via  351b82d0ed7d964803be52b433706377d7b2f780 (commit)
       via  e42db3d2834457c04e19c256a67f4059cd36860d (commit)
      from  fa4e16aaa9ee6e680606f0211c71c92669b8e74f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 351b82d0ed7d964803be52b433706377d7b2f780
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Jul 1 20:42:04 2013 +0530

    [master] Use alternate syntax for shallow copy
    
    This is recommended by:
    http://docs.python.org/3/library/copy.html

commit e42db3d2834457c04e19c256a67f4059cd36860d
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Jul 1 20:37:42 2013 +0530

    [master] Use list() instead of .copy() (as it is a Python 3.3 feature)
    
    Suggested by Michal.

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

Summary of changes:
 src/lib/python/isc/memmgr/builder.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/memmgr/builder.py b/src/lib/python/isc/memmgr/builder.py
index 411c224..5b4eed9 100644
--- a/src/lib/python/isc/memmgr/builder.py
+++ b/src/lib/python/isc/memmgr/builder.py
@@ -68,7 +68,7 @@ class MemorySegmentBuilder:
                     self._cv.wait()
                 # Move the queue content to a local queue. Be careful of
                 # not making assignments to reference variables.
-                local_command_queue = self._command_queue.copy()
+                local_command_queue = self._command_queue[:]
                 del self._command_queue[:]
 
                 # Run commands passed in the command queue sequentially



More information about the bind10-changes mailing list