Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36089

Re: Can't seem to start on this

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'coordinates': 0.16; 'dictionary,': 0.16; 'fine.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'situation.': 0.16; 'subject:start': 0.16; 'wrote:': 0.17; 'creates': 0.18; 'user.': 0.23; 'header:User-Agent:1': 0.26; '(e.g.': 0.27; 'header:X -Complaints-To:1': 0.28; 'objects': 0.29; 'error': 0.30; 'instances': 0.33; 'received:comcast.net': 0.33; 'to:addr:python- list': 0.33; 'knowledge': 0.33; 'skip:: 10': 0.35; 'doing': 0.35; 'there': 0.35; 'add': 0.36; 'received:org': 0.36; 'created': 0.36; 'but': 0.36; 'coordinator': 0.36; 'reported': 0.37; 'does': 0.37; 'two': 0.37; 'being': 0.37; 'why': 0.37; 'communicate': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'ever': 0.63; 'email addr:gmail.com': 0.63; 'other.': 0.64; 'overall': 0.66; 'header :Reply-To:1': 0.68; 'building,': 0.71; 'reply-to:no real name:2**0': 0.72; 'subject:this': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Kene Meniru <Kene.Meniru@illom.org>
Subject Re: Can't seem to start on this
Followup-To gmane.comp.python.general
Date Thu, 03 Jan 2013 18:48:27 -0500
Organization illom.org
References <kc31l4$27v$1@ger.gmane.org> <50E50D08.201@lightbird.net> <kc3553$pn7$1@ger.gmane.org> <50E51BED.1030008@lightbird.net> <kc3uvi$7k1$1@ger.gmane.org> <50E5CA01.3090200@lightbird.net> <kc4m83$7lj$1@ger.gmane.org> <50E60C05.5060506@lightbird.net>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host c-69-143-75-245.hsd1.md.comcast.net
User-Agent KNode/4.4.7
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To Kene.Meniru@illom.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.63.1357256924.2939.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357256924 news.xs4all.nl 6890 [2001:888:2000:d::a6]:34709
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36089

Followups directed to: gmane.comp.python.general

Show key headers only | View raw


Mitya Sirenef wrote:

> 
> Ok but if the user creates two sites, how does he then manipulate them,
> if you are not binding instances in A? (e.g. you are not doing site1 =
> Site("New Site")).
> 
> If the user only ever needs one site, that's fine.
> 
>   -m
> 

There can only be one site for each building(s) so the super object that 
coordinates the creation of the entire building, will check and deal with 
this situation. This is where the building knowledge kicks in and is part of 
why I am designing it this way. That is with an overall coordinator that has 
the knowledge of all objects being created and provides the means for them 
to communicate with each other.

So onces there is a site object in the dictionary, an attempt to add a new 
one will be caught and an error reported to the user.

-- 

Kene
::::::::::::::::::
KeMeniru@gmail.com

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Can't seem to start on this Kene Meniru <Kene.Meniru@illom.org> - 2013-01-03 18:48 -0500

csiph-web