473,386 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

I love "shelf" BUT

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
3 1124
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: pom | last post by:
What dynamnic open-source content management system(s) would you look at to meet the following specific situation? - The requirement is for a large institutional client who wishes to build a...
2
by: van | last post by:
Has anyone used oemPro? It's made by Octeth. http://www.oemp.com/ I'd like to find a PHP email marketing tool that can manage a large opt-in email list, and can handle server bounces by deleting...
114
by: muldoon | last post by:
Americans consider having a "British accent" a sign of sophistication and high intelligence. Many companies hire salespersons from Britain to represent their products,etc. Question: When the...
8
by: Joe | last post by:
I need an Access application that can search dealers from my dealer list, in a 30 miles distance from the user. You may see many applications like this on the web if you search under "find a...
8
by: Jerry | last post by:
I have an off-the-shelf app that uses an Access database as its backend. One of the tables contains a field with an "OLE Object" datatype. I'm writing some reports against this database, and I...
38
by: Jack Klein | last post by:
Many people, including me, like having hard copy books at hand, along with electronic editions. When I first heard of this book several months ago, I pre-ordered a copy. It arrived from...
3
by: Bill Borg | last post by:
Hello all, Not sure what to call it, but when you go to some sites, you are forced to retype a graphic (looks like graffiti) password to continue. I presume this is to thwart bots, DOS attacks,...
206
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a...
92
by: ureuffyrtu955 | last post by:
Python is a good programming language, but "Python" is not a good name. First, python also means snake, Monty Python. If we search "python" in google, emule, many results are not programming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.