473,769 Members | 6,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Standardization : Wikipedia entry

I would value the opinion of fellow Pythoneers who have also
contributed to Wikipedia, on the issue of "Is Python Standardized".
Specifically in the context of this table:
http://en.wikipedia.org/wiki/Compari...ral_comparison
(Comparison of programming languages)
And this entry in the talk page
http://en.wikipedia.org/wiki/Talk:Co...ized_Python.3F
(Talk:Compariso n of programming languages#Stand ardized Python?)

- Thanks.
Jan 28 '08 #1
13 2464
In article
<be************ *************** *******@y5g2000 hsf.googlegroup s.com>,
ajaksu <aj****@gmail.c omwrote:
On Jan 27, 10:32 pm, Paddy <paddy3...@goog lemail.comwrote :
I would value the opinion of fellow Pythoneers who have also
contributed to Wikipedia, on the issue of "Is Python Standardized".
Specifically in the context of this table:
http://en.wikipedia.org/wiki/Compari...languages#Gene...
(Comparison of programming languages)
And this entry in the talk page
http://en.wikipedia.org/wiki/Talk:Co...ming_languages...
(Talk:Compariso n of programming languages#Stand ardized Python?)

- Thanks.

Hmmm. Seems to me that "Is X Standardized" in the given context means
having a formal, published standard issued by some Standards
organization.
That's exactly what it means. For example, if I'm buying a C++ compiler, I
can specify in the contract, "Must comply with ISO 14882", and everybody
will know what I'm talking about.

On the other side of the fence, if I'm a free-lance C++ developer, I can
specify to my customers that the code I write will work properly when
compiled with a compiler that meets ISO 14882. Whether such a compiler
actually exists, is besides the point :-)

Python has no such standard. Sure, there's the stuff on docs.python.org ,
but it's kind of hard to write a contract which says, "Must comply with the
stuff on docs.python.org ", and have it be meaningful in a legal sense.

So, I think the "No" in the "Standardiz ed?" column for python is exactly
right. That's not to say you can't have something good which isn't
standardized. Sometimes standards committees even go off into left field
and field break stuff in the process of standardizing it. Some things have
so many different standards (i.e. the pletora of unix standards), it's
almost worthless to say it's standardized. But, as it stands, the
Wikipedia article is correct.
Jan 28 '08 #2

"Roy Smith" <ro*@panix.comw rote in message
news:ro******** *************** @70-1-84-166.area1.spcsd ns.net...
| But, surely Python has plenty of "implementa tion defined" aspects.
| Especially in the libraries.

I personally do not consider the libraries as part of the language (as
opposed to the distribution) and was not referring to them. The semantics
of the syntax is pretty tightly defined. The main exception is floating
point, which is a nuisance. Which is why one implementation aspect thereof
is being standardized in the next version.

| Especially those parts of the libraries which
| are thin layers on top of operating system services (os and socket come
to
| mind as two highly variable areas).

I am sure that sockets are not part of the C89 standard. Hence the high
variability. (I don't know about the newer C standard). I would expect
that socket.py makes the variability no worse and presume that it masks at
least a bit of it. Ditto for some os services.

tjr


Jan 29 '08 #3
In article <ma************ *************** **********@pyth on.org>,
"Terry Reedy" <tj*****@udel.e duwrote:
"Roy Smith" <ro*@panix.comw rote in message
news:ro******** *************** @70-1-84-166.area1.spcsd ns.net...
| But, surely Python has plenty of "implementa tion defined" aspects.
| Especially in the libraries.

I personally do not consider the libraries as part of the language (as
opposed to the distribution) and was not referring to them.
I realize that there is a difference between the core language and the
libraries, but Python depends on the libraries more than a lot of other
languages do. They are the "batteries included" part.

Indeed, there is a lot of stuff in the "Python Library Reference" which in
most languages would be considered part of the core. The description of
boolean operations (and, or, not), for example. String, sequence, and
dictionary methods. Where do you draw the line and say, "The core language
ends here; the rest is just libraries"?
Jan 29 '08 #4
Paddy wrote:
I would value the opinion of fellow Pythoneers who have also
contributed to Wikipedia, on the issue of "Is Python Standardized".
Specifically in the context of this table:
http://en.wikipedia.org/wiki/Compari...ral_comparison
(Comparison of programming languages)
And this entry in the talk page
http://en.wikipedia.org/wiki/Talk:Co...ized_Python.3F
(Talk:Compariso n of programming languages#Stand ardized Python?)

- Thanks.
That's correct. Python is not standardized by any standards body. And no
two implementations are even close to compiling the same language.

A consequence of the lack of standardization is that it discourages
implementations . There are about four implementations of something like
Python (other than CPython), and none of them are close to being usable.
Letting the author of one implementation control the language discourages
other implementations .

Submitting Python 2.5 to ISO/ANSI might be a good idea.

John Nagle
Jan 29 '08 #5
John Nagle wrote:
Paddy wrote:
>I would value the opinion of fellow Pythoneers who have also
contributed to Wikipedia, on the issue of "Is Python Standardized".
Specifically in the context of this table:

http://en.wikipedia.org/wiki/Compari...ral_comparison

(Comparison of programming languages)
And this entry in the talk page

http://en.wikipedia.org/wiki/Talk:Co...ized_Python.3F

(Talk:Compariso n of programming languages#Stand ardized Python?)

- Thanks.

That's correct. Python is not standardized by any standards body.
And no
two implementations are even close to compiling the same language.

A consequence of the lack of standardization is that it discourages
implementations . There are about four implementations of something like
Python (other than CPython), and none of them are close to being usable.
Letting the author of one implementation control the language discourages
other implementations .

Submitting Python 2.5 to ISO/ANSI might be a good idea.

John Nagle
Better to wait for 3.0?

Colin W.
Jan 29 '08 #6

"John Nagle" <na***@animats. comwrote in message
news:47******** *************** @news.sonic.net ...
| And no two implementations are even close to compiling the same language.

That is not what some alternate implementors have claimed. How you done
actual tests to prove them wrong? (And, of course, 'close' would need some
discussion.)

| A consequence of the lack of standardization is that it discourages
implementations .

Evidence? My impression is that there were more implementations of C
before it was standardized than after, or certainly now.

Anyway, as I have already said, I think Python is in someways better
standardized (even if 'unofficially') than C. Another example: in Python,
n >i == n//(2**i) for integer n and non-negative integer i. C89 gives
the same for non-negative n but the result is 'implementation defined' for
negative n. (Yes, I know at least partially why the committee could not
agree on a standard definition for this case.)

I think one thing being overlooked in implementation counts is that CPython
is in a real sense several implementations : one each for WinNT, Linux, MAC,
OS, Solaris, and so one. They happen to be nearly the same with the diffs
implemented as C #ifdefs.

The reason for this, in turn, is that CPython is open source *and*
welcoming of patches to make all the different versions. So someone
wanting to write a version for system X does not have to start from scratch
but only has to write miminal patches. (Yes, this is helped by C
standardization , as well as CPython being intentionally writen for
portability.)

The proliferation of C implementations in the 80s was at least partly due
to most being proprietary closed source. So there was a lot of duplication
of effort, as well as the sometimes rather useless variations that
stimulated the official standard.

Terry Jan Reedy


Jan 30 '08 #7
Colin J. Williams wrote:
John Nagle wrote:
>Paddy wrote:
>>I would value the opinion of fellow Pythoneers who have also
contributed to Wikipedia, on the issue of "Is Python Standardized".
Specificall y in the context of this table:

http://en.wikipedia.org/wiki/Compari...ral_comparison

(Comparison of programming languages)
And this entry in the talk page

http://en.wikipedia.org/wiki/Talk:Co...ized_Python.3F

(Talk:Compariso n of programming languages#Stand ardized Python?)

- Thanks.

That's correct. Python is not standardized by any standards body.
And no
two implementations are even close to compiling the same language.

A consequence of the lack of standardization is that it discourages
implementation s. There are about four implementations of something like
Python (other than CPython), and none of them are close to being usable.
Letting the author of one implementation control the language discourages
other implementations .

Submitting Python 2.5 to ISO/ANSI might be a good idea.

John Nagle

Better to wait for 3.0?
I'd argue for standardizing from 2.5, and viewing 3.x as a possible
future upgrade.

John Nagle
Jan 31 '08 #8

"John Nagle" <na***@animats. comwrote in message
news:47******** *************** @news.sonic.net ..

Submitting Python 2.5 to ISO/ANSI might be a good idea.
ANSI does not actually make standards. It make metastandards about how to
make standards (both style and process) and accredites US standard-making
bodies that will follow those metastandards. The processes require
committee meetings and public comment periods -- a few years and some $$$.
There in no guarantee that what would come out of such a process would be
what went in, so 'Standard Python' might easily be a language with no
implementations .

ANSI standards are owned by ANSI or perhaps the accrediting body. In any
case, electronic copies sell for $30. They cannot legally be accessed free
as for the docs at python.org.

Feb 1 '08 #9
On Feb 1, 12:18 am, "Terry Reedy" <tjre...@udel.e duwrote:
"John Nagle" <na...@animats. comwrote in message

news:47******** *************** @news.sonic.net ..
Submitting Python 2.5 to ISO/ANSI might be a good idea.

ANSI does not actually make standards. It make metastandards about how to
make standards (both style and process) and accredites US standard-making
bodies that will follow those metastandards. The processes require
committee meetings and public comment periods -- a few years and some $$$.
There in no guarantee that what would come out of such a process would be
what went in, so 'Standard Python' might easily be a language with no
implementations .

ANSI standards are owned by ANSI or perhaps the accrediting body. In any
case, electronic copies sell for $30. They cannot legally be accessed free
as for the docs at python.org.
HI Terry,
Is their a standardizing body out their to `legitimise` open source
languages like Python?

- Paddy.
Feb 1 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

852
28686
by: Mark Tarver | last post by:
How do you compare Python to Lisp? What specific advantages do you think that one has over the other? Note I'm not a Python person and I have no axes to grind here. This is just a question for my general education. Mark
50
2904
by: Gosi | last post by:
It is quite easy to call J from Python http://groups.google.com/group/J-Programming/browse_thread/thread/5e84b75667f5f64e
22
2942
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created using Perl on the backend, with Javascript providing limited frontend functionality. As an example, an expanding tree would be fully populated on the server-side and then presented to the browser, with Javascript and CSS being used to vary the...
35
315
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created using Perl on the backend, with Javascript providing limited frontend functionality. As an example, an expanding tree would be fully populated on the server-side and then presented to the browser, with Javascript and CSS being used to vary the...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.