[Python-checkins] r67424 - in python/trunk/Doc/includes: mp_benchmarks.py mp_distributing.py mp_newtype.py mp_pool.py mp_synchronize.py mp_webserver.py mp_workers.py

christian.heimes python-checkins at python.org
Fri Nov 28 20:33:33 CET 2008


Author: christian.heimes
Date: Fri Nov 28 20:33:33 2008
New Revision: 67424

Log:
Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5

Modified:
   python/trunk/Doc/includes/mp_benchmarks.py
   python/trunk/Doc/includes/mp_distributing.py
   python/trunk/Doc/includes/mp_newtype.py
   python/trunk/Doc/includes/mp_pool.py
   python/trunk/Doc/includes/mp_synchronize.py
   python/trunk/Doc/includes/mp_webserver.py
   python/trunk/Doc/includes/mp_workers.py

Modified: python/trunk/Doc/includes/mp_benchmarks.py
==============================================================================
--- python/trunk/Doc/includes/mp_benchmarks.py	(original)
+++ python/trunk/Doc/includes/mp_benchmarks.py	Fri Nov 28 20:33:33 2008
@@ -1,6 +1,9 @@
 #
 # Simple benchmarks for the multiprocessing package
 #
+# Copyright (c) 2006-2008, R Oudkerk
+# All rights reserved.
+#
 
 import time, sys, multiprocessing, threading, Queue, gc
 

Modified: python/trunk/Doc/includes/mp_distributing.py
==============================================================================
--- python/trunk/Doc/includes/mp_distributing.py	(original)
+++ python/trunk/Doc/includes/mp_distributing.py	Fri Nov 28 20:33:33 2008
@@ -3,6 +3,9 @@
 #
 # Depends on `multiprocessing` package -- tested with `processing-0.60`
 #
+# Copyright (c) 2006-2008, R Oudkerk
+# All rights reserved.
+#
 
 __all__ = ['Cluster', 'Host', 'get_logger', 'current_process']
 

Modified: python/trunk/Doc/includes/mp_newtype.py
==============================================================================
--- python/trunk/Doc/includes/mp_newtype.py	(original)
+++ python/trunk/Doc/includes/mp_newtype.py	Fri Nov 28 20:33:33 2008
@@ -2,6 +2,9 @@
 # This module shows how to use arbitrary callables with a subclass of
 # `BaseManager`.
 #
+# Copyright (c) 2006-2008, R Oudkerk
+# All rights reserved.
+#
 
 from multiprocessing import freeze_support
 from multiprocessing.managers import BaseManager, BaseProxy

Modified: python/trunk/Doc/includes/mp_pool.py
==============================================================================
--- python/trunk/Doc/includes/mp_pool.py	(original)
+++ python/trunk/Doc/includes/mp_pool.py	Fri Nov 28 20:33:33 2008
@@ -1,6 +1,9 @@
 #
 # A test of `multiprocessing.Pool` class
 #
+# Copyright (c) 2006-2008, R Oudkerk
+# All rights reserved.
+#
 
 import multiprocessing
 import time

Modified: python/trunk/Doc/includes/mp_synchronize.py
==============================================================================
--- python/trunk/Doc/includes/mp_synchronize.py	(original)
+++ python/trunk/Doc/includes/mp_synchronize.py	Fri Nov 28 20:33:33 2008
@@ -1,6 +1,9 @@
 #
 # A test file for the `multiprocessing` package
 #
+# Copyright (c) 2006-2008, R Oudkerk
+# All rights reserved.
+#
 
 import time, sys, random
 from Queue import Empty

Modified: python/trunk/Doc/includes/mp_webserver.py
==============================================================================
--- python/trunk/Doc/includes/mp_webserver.py	(original)
+++ python/trunk/Doc/includes/mp_webserver.py	Fri Nov 28 20:33:33 2008
@@ -8,6 +8,9 @@
 # Not sure if we should synchronize access to `socket.accept()` method by
 # using a process-shared lock -- does not seem to be necessary.
 #
+# Copyright (c) 2006-2008, R Oudkerk
+# All rights reserved.
+#
 
 import os
 import sys

Modified: python/trunk/Doc/includes/mp_workers.py
==============================================================================
--- python/trunk/Doc/includes/mp_workers.py	(original)
+++ python/trunk/Doc/includes/mp_workers.py	Fri Nov 28 20:33:33 2008
@@ -7,6 +7,9 @@
 # in the original order then consider using `Pool.map()` or
 # `Pool.imap()` (which will save on the amount of code needed anyway).
 #
+# Copyright (c) 2006-2008, R Oudkerk
+# All rights reserved.
+#
 
 import time
 import random


More information about the Python-checkins mailing list