🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #27358

Re: Przestrzeń nazw (?)

#27358
From: Bart Ogryczak
Date: Mon, 15 Mar 2010 09:54
20 lines
1641 bytes
On Mar 14, 1:06 pm, pr <crico...@gmail.com> wrote:
> Witam,
>
> Czy w Pythonie (3.1) można zrobić coś takiego (jeden plik):
>
> class A:
>   class AA:
>     obj = B()
>
> class B:
>   class BB:
>     obj = A()
>
> A()
> B()
>
> ?

Już pare razy tu o tym było -- jeśli czegoś takiego potrzebujesz, to
znaczy, że masz spitolony model.
Technical Details
Message-ID: <37685a2c-ec66-4da7-99b2-d1431c9a2226@u9g2000yqb.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!u9g2000yqb.googlegroups.com!not-for-mail
References: <9100aa5e-8f93-493a-8e57-23dd86779de2@o3g2000yqb.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!u9g2000yqb.googlegroups.com!not-for-mail
From: Bart Ogryczak <b.ogryczak@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: Re: Przestrzeń nazw (?)
Date: Mon, 15 Mar 2010 02:54:53 -0700 (PDT)
Organization: http://groups.google.com
Lines: 23
Message-ID: <37685a2c-ec66-4da7-99b2-d1431c9a2226@u9g2000yqb.googlegroups.com>
References: <9100aa5e-8f93-493a-8e57-23dd86779de2@o3g2000yqb.googlegroups.com>
NNTP-Posting-Host: 94.100.112.225
Mime-Version: 1.0
X-Trace: posting.google.com 1268646893 26904 127.0.0.1 (15 Mar 2010 09:54:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 15 Mar 2010 09:54:53 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: u9g2000yqb.googlegroups.com; posting-host=94.100.112.225;  posting-account=1kG_1AoAAADLEA3eucGvO2J-Uo4aPCW_
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)  AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1030  Safari/532.5,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit