🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: python vs php - potrzebne argumenty

#26749
From: Bart Ogryczak
Date: Tue, 08 Sep 2009 15:13
7 lines
1575 bytes
A jeszcze z upierdliwości PHP, których nie ma w Pythonie:

- w PHP nie można zrobić np. $v = fun()[$x]; trzeba $tmp = fun(); $v =
$tmp[$x];
- w PHP mając 10-argumentową funkcję ze zdefiniowanymi domyślnymi
wartościami dla wszystkich, nie można zrobić fun(dziesiaty=10), trzeba
fun(1,2,3,4,5,6,7,8,9,10);
Technical Details
Message-ID: <e15a8ba1-7147-4ba9-b5f1-5cee80de5f83@q7g2000yqi.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!q7g2000yqi.googlegroups.com!not-for-mail
References: <h83in7$rl3$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!q7g2000yqi.googlegroups.com!not-for-mail
From: Bart Ogryczak <b.ogryczak@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: Re: python vs php - potrzebne argumenty
Date: Tue, 8 Sep 2009 08:13:27 -0700 (PDT)
Organization: http://groups.google.com
Lines: 11
Message-ID: <e15a8ba1-7147-4ba9-b5f1-5cee80de5f83@q7g2000yqi.googlegroups.com>
References: <h83in7$rl3$1@inews.gazeta.pl>
NNTP-Posting-Host: 94.100.112.225
Mime-Version: 1.0
X-Trace: posting.google.com 1252422807 23084 127.0.0.1 (8 Sep 2009 15:13:27 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 8 Sep 2009 15:13:27 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: q7g2000yqi.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; rv:1.9.1.2)  Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) FirePHP/0.3,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit