🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Interpretowany czy kompilowany?

#28083
From: jacek2v
Date: Sun, 29 May 2011 10:20
51 lines
3037 bytes
On 29 Maj, 10:00, jacek2v <jace...@gmail.com> wrote:
> On 29 Maj, 02:09, "Jordan Szubert" <use...@joru.us.to> wrote:
>
>
>
>
>
>
>
>
>
> > Dnia 28-05-2011 o 15:48:40 jacek2v <jace...@gmail.com> napisał(a):
>
> > > Ok. Twój dowód do mnie przemawia :) Aczkolwiek :) podejrzane jest :
> > > >>> issubclass(type(foo), type(object))
> > > False
>
> > Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)]  
> > on win32
> > Type "help", "copyright", "credits" or "license" for more information.>>> def foo():
>
> > ...     pass
> > ...
>
> > >>> type(foo)
> > <class 'function'>
> > >>> type(object)
> > <class 'type'>
> > >>> issubclass(type(foo),type(object))
> > False
> > >>> issubclass(type(foo),object)
> > True
> > >>> object
> > <class 'object'>
>
> > --
> > Jordan Szubert
>
> Ok. My fault :)

Ale...? :) - nigdy nie byłem fanem takiego drążenia języka prog., ale
jak już drążymy, to:
Python 2.7.1
>class Fooc(object):
>
>...     pass
>
> issubclass(type(Fooc), type(object))
>True
A przy funkcji było:
> False
Technical Details
Message-ID: <c1e50bc6-39f1-46a5-9e7a-c43e0fb8f206@l26g2000yqm.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!l26g2000yqm.googlegroups.com!not-for-mail
References: <iqmlha$r29$1@news.onet.pl> <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> <0c2a0c9a-5850-4081-97d3-48b4323d9585@16g2000yqy.googlegroups.com> <op.vv7up6cthilul8@asus7.home> <1d2bd5b5-9564-4eff-8e08-d1574969c828@z13g2000yqg.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!postnews.google.com!l26g2000yqm.googlegroups.com!not-for-mail
From: jacek2v <jacek2v@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: Re: Interpretowany czy kompilowany?
Date: Sun, 29 May 2011 03:20:01 -0700 (PDT)
Organization: http://groups.google.com
Lines: 55
Message-ID: <c1e50bc6-39f1-46a5-9e7a-c43e0fb8f206@l26g2000yqm.googlegroups.com>
References: <iqmlha$r29$1@news.onet.pl> <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> <0c2a0c9a-5850-4081-97d3-48b4323d9585@16g2000yqy.googlegroups.com> <op.vv7up6cthilul8@asus7.home> <1d2bd5b5-9564-4eff-8e08-d1574969c828@z13g2000yqg.googlegroups.com>
NNTP-Posting-Host: 77.253.92.36
Mime-Version: 1.0
X-Trace: posting.google.com 1306664401 32162 127.0.0.1 (29 May 2011 10:20:01 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 29 May 2011 10:20:01 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l26g2000yqm.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