🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Interpretowany czy kompilowany?

#28080
From: jacek2v
Date: Sat, 28 May 2011 13:48
29 lines
2924 bytes
On 27 Maj, 16:40, "Jordan Szubert" <use...@joru.us.to> wrote:
> Dnia 27-05-2011 o 12:48:58 jacek2v <jace...@gmail.com> napisał(a):
> obawiam się, że albo Cię nie rozumiem, albo nie masz jednak racji: mi  
> wychodzi, że funkcje są tej samej klasy, nie jest generowana oddzielna  
> klasa dla każdej funkcji, a dopiero wtedy bym uznał określenie "singleton"  
> za zasadne.

> Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit  
> (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.>>> def foo():
>
> ...     pass
> ...>>> def bar():
>
> ...     pass
> ...
>
> >>> type(foo) is type(bar)
> True
> >>> foo.__class__ is bar.__class__
> True
> >>> type(foo)
> <type 'function'>
>

Ok. Twój dowód do mnie przemawia :) Aczkolwiek :) podejrzane jest :
> issubclass(type(foo), type(object))
False
Pzdr.
Technical Details
Message-ID: <0c2a0c9a-5850-4081-97d3-48b4323d9585@16g2000yqy.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!goblin1!goblin2!goblin.stu.neva.ru!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!16g2000yqy.googlegroups.com!not-for-mail
References: <iqmlha$r29$1@news.onet.pl> <ir58gg$me$1@speranza.aioe.org> <2f93f4ca-ccb1-42a5-b199-2d9902ee8629@l18g2000yql.googlegroups.com> <ir90vs$nd8$1@speranza.aioe.org> <b807128c-8325-4ef6-93a9-c41ba1609583@h7g2000yqa.googlegroups.com> <irbh66$4fa$1@news.onet.pl> <c4a63f8f-afbc-4dab-ab9e-4c241433ab38@28g2000yqu.googlegroups.com> <irg9ua$pb6$1@news.onet.pl> <3ede9f91-b3da-4845-94e3-697e9301d530@d1g2000yqm.googlegroups.com> <20110525202013.b67a5b5a.gryf_esm-no@spam-o2.pl> <31a73c32-7483-4f0b-b2fa-386103875cf4@x6g2000yqj.googlegroups.com> <c72bf0b2-afa1-4e1b-80aa-7198e59e2e45@b42g2000yqi.googlegroups.com> <irjnsg$g0e$1@inews.gazeta.pl> <4f2c76ae-c4f5-4cac-99c8-138ec0019139@y12g2000yqh.googlegroups.com> <irm8uf$293$1@inews.gazeta.pl> <da18f5f5-5eba-4d14-a818-f9256cc31ae5@c41g2000yqm.googlegroups.com> <op.vv49ptxhhilul8@asus7.home>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!goblin1!goblin2!goblin.stu.neva.ru!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!16g2000yqy.googlegroups.com!not-for-mail
From: jacek2v <jacek2v@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: Re: Interpretowany czy kompilowany?
Date: Sat, 28 May 2011 06:48:40 -0700 (PDT)
Organization: http://groups.google.com
Lines: 33
Message-ID: <0c2a0c9a-5850-4081-97d3-48b4323d9585@16g2000yqy.googlegroups.com>
References: <iqmlha$r29$1@news.onet.pl> <ir58gg$me$1@speranza.aioe.org> <2f93f4ca-ccb1-42a5-b199-2d9902ee8629@l18g2000yql.googlegroups.com> <ir90vs$nd8$1@speranza.aioe.org> <b807128c-8325-4ef6-93a9-c41ba1609583@h7g2000yqa.googlegroups.com> <irbh66$4fa$1@news.onet.pl> <c4a63f8f-afbc-4dab-ab9e-4c241433ab38@28g2000yqu.googlegroups.com> <irg9ua$pb6$1@news.onet.pl> <3ede9f91-b3da-4845-94e3-697e9301d530@d1g2000yqm.googlegroups.com> <20110525202013.b67a5b5a.gryf_esm-no@spam-o2.pl> <31a73c32-7483-4f0b-b2fa-386103875cf4@x6g2000yqj.googlegroups.com> <c72bf0b2-afa1-4e1b-80aa-7198e59e2e45@b42g2000yqi.googlegroups.com> <irjnsg$g0e$1@inews.gazeta.pl> <4f2c76ae-c4f5-4cac-99c8-138ec0019139@y12g2000yqh.googlegroups.com> <irm8uf$293$1@inews.gazeta.pl> <da18f5f5-5eba-4d14-a818-f9256cc31ae5@c41g2000yqm.googlegroups.com> <op.vv49ptxhhilul8@asus7.home>
NNTP-Posting-Host: 77.253.92.36
Mime-Version: 1.0
X-Trace: posting.google.com 1306590520 11078 127.0.0.1 (28 May 2011 13:48:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 28 May 2011 13:48:40 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 16g2000yqy.googlegroups.com; posting-host=77.253.92.36; posting-account=eZNabgoAAAATP5GyCUr-uXZ_s7vjxVeX
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HNKRUAELSC
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24,gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit