Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'cc:addr :python-list': 0.09; 'any)': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subject:Object': 0.09; 'subject:design': 0.09; 'thu,': 0.15; '"python': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'googling': 0.16; 'hits': 0.16; 'message- id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'do.': 0.22; 'arrays': 0.22; 'errors': 0.23; 'header:In-Reply- To:1': 0.24; '+0200,': 0.27; 'received:se': 0.29; 'array': 0.29; 'cc:no real name:2**1': 0.29; 'code': 0.30; 'post': 0.31; 'especially': 0.32; 'implement': 0.32; 'related': 0.32; 'problem': 0.33; 'gets': 0.35; '(and': 0.36; 'subject:: ': 0.37; 'charset:us- ascii': 0.37; 'data': 0.39; 'some': 0.40; 'your': 0.60; 'header :Message-Id:1': 0.61; 'jul': 0.72; 'received:89': 0.80; '>how': 0.84; 'ali': 0.95 To: Abder-Rahman Ali cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Object Pool design pattern In-Reply-To: Message from Abder-Rahman Ali of "Thu, 23 Jul 2015 23:09:38 +0200." References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13401.1437714619.1@fido> Date: Fri, 24 Jul 2015 07:10:19 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Fri, 24 Jul 2015 07:10:21 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437714626 news.xs4all.nl 2935 [2001:888:2000:d::a6]:51527 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!usenetcore.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:94490 In a message of Thu, 23 Jul 2015 23:09:38 +0200, Abder-Rahman Ali writes: >Hello, > >How can we implement the Object Pool design pattern in Python, especially >when the pool consists of array data types? > >Thanks. Is your problem 'I don't know how to implement the Object Pool Design pattern at all?' -- in which case Googling "python object pool design pattern" gets you some nice hits -- or you are having some particular problem related to your use of arrays -- in which case post code (and errors if you have any) and we will see what we can do. Laura