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


Groups > comp.lang.python > #36089 > unrolled thread

Re: Can't seem to start on this

Started byKene Meniru <Kene.Meniru@illom.org>
First post2013-01-03 18:48 -0500
Last post2013-01-03 18:48 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#36089 — Re: Can't seem to start on this

FromKene Meniru <Kene.Meniru@illom.org>
Date2013-01-03 18:48 -0500
SubjectRe: Can't seem to start on this
Message-ID<mailman.63.1357256924.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web