By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,761 Members | 1,010 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,761 IT Pros & Developers. It's quick & easy.

I love "shelf" BUT

P: n/a
ok, I know its an over discussed topic. Althought I understand why it
is there I cant constantly see it in my argument list in parenthesis.

can someone give me an insight of the cons of a syntax like this:
class Class:
def self.method(arguments):
etc, etc
In other words def method(self, arg1, arg2 ,argN) becomes- def
self.method(arg1, arg2 ,argN)

Jul 28 '08 #1
Share this Question
Share on Google+
3 Replies

P: n/a
On Jul 28, 12:46*pm, Sera Jackson <q2w3q...@gmail.comwrote:
ok, I know its an over discussed topic. Althought I understand why it
is there I cant constantly see it in my argument list in parenthesis.

can someone give me an insight of the cons of a syntax like this:
class Class:
* * def self.method(arguments):
* * * * etc, etc

In other words def method(self, arg1, arg2 ,argN) becomes-*def
self.method(arg1, arg2 ,argN)
Did you bother to check the group? You would've noticed it's being
discussed -right now-:
http://groups.google.com/group/comp....e9dd04719e439a

And this -exact- suggestion has been turned down by Guido:
http://mail.python.org/pipermail/pyt...il/000793.html
Jul 28 '08 #2

P: n/a
On Jul 28, 6:25*am, alex23 <wuwe...@gmail.comwrote:
On Jul 28, 12:46*pm, Sera Jackson <q2w3q...@gmail.comwrote:
ok, I know its an over discussed topic. Althought I understand why it
is there I cant constantly see it in my argument list in parenthesis.
can someone give me an insight of the cons of a syntax like this:
class Class:
* * def self.method(arguments):
* * * * etc, etc
In other words def method(self, arg1, arg2 ,argN) becomes-*def
self.method(arg1, arg2 ,argN)

Did you bother to check the group? You would've noticed it's being
discussed -right now-:http://groups.google.com/group/comp....frm/thread/a5f...

And this -exact- suggestion has been turned down by Guido:http://mail.python.org/pipermail/pyt...il/000793.html
alex thank you very much!

I searched excessively python mailing list but unforurtunately I was
using <site:mail.python.org "def self method"as query and I missed
it, although I knew it should had been there. I mostly found threads
insisting on a complete removal...

And I sincerely apologise for missing the discussion here, I was tired
digging python old mailing list. :D.

Lot of thanks again, that's what I wanted to find, arguments against
it, I was aware I wan not speaking of sth new.
Jul 28 '08 #3

P: n/a
On Jul 28, 1:44*pm, Sera Jackson <q2w3q...@gmail.comwrote:
Lot of thanks again, that's what I wanted to find, arguments against
it, I was aware I wan not speaking of sth new.
Guido seems to keep hinting that someone should write a PEP, just so
it can be officially denied and then there'll be a place to point to
when the question arises again (as it inevitably will...)

So if you wanna take a shot... :)
Jul 28 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.