Re: Python 0.9.1
Am 16.02.21 um 22:57 schrieb Skip Montanaro: A note to webmas...@python.org from an astute user named Hiromi in Japan* referred us to Guido's shell archives for the 0.9.1 release from 1991. I then pushed the result to a Github repo: https://github.com/smontanaro/python-0.9.1 That's a nice find! Reading the README, it occured to me that it refers to the shell, awk and perl as contenders for Python[1], but not to Tcl. I would have thought that in 1991, Tcl was one of the obvious choices as an extension language. At that time, it had already progressed to version 6 [2] Was Guido not aware of Tcl, or did he not think that it is a contender in the same area? Christian [1] "Python, an extensible interpreted programming language [...] can be used instead of shell, Awk or Perl scripts, to write prototypes of real applications, or as an extension language of large systems, you name it." [2] https://wiki.tcl-lang.org/page/Tcl+chronology -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Re: Python 0.9.1
On Thu, Feb 18, 2021 at 9:39 PM David Mertz wrote: > As Skip pointed out to me privately, there are some minor limitations with > this version. E.g.: > > % python > >>> import glob > >>> import sys > >>> print 'hello' > hello > >>> print 2+2 > 4 > >>> print 2*2 > Unhandled exception: run-time error: integer overflow > Stack backtrace (innermost last): > File "", line 1 > Huh. I wonder what's different about my build: $ /usr/local/cpython-0.9/bin/python below cmd output started 2021 Thu Feb 18 10:24:00 PM PST >>> 2*2 4 >>> print 2*2 4 >>> You can download a script to build it and a bunch of other python versions at https://stromberg.dnsalias.org/~strombrg/cpythons/ It includes all the tarballs you should need, at least for Debian. I believe I used it on CentOS recently as well. I haven't tried it on Ubuntu in a while. It depends on https://stromberg.dnsalias.org/~strombrg/cobble.html - and I'd like to think that's its only external dependency. HTH -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Re: Python 0.9.1
> Also mind > http://www.dalkescientific.com/writings/diary/archive/2009/03/27/python_0_9_1p1.html > for result comparison. Thanks, Paul. I had lost track of Andrew. Good to know he's still out there. I wonder why his tar file was never sucked up into the historical releases page. Whew! My stupid little extraction script did a reasonable job. I see plenty of differences, but a cursory examination shows they are only in leading whitespace. Where I translated "\t" to TAB, it seems Andrew used a suitable number of spaces. Python modules/scripts seem more plausibly indented, and the couple I tried worked, so I'm a bit more confident I have things right: % PYTHONPATH=lib ./src/python >>> import string >>> print string.upper('hello world!') HELLO WORLD! >>> % ./src/python lib/fact.py 9 [3, 3, 41, 271] 4096 [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] The tests don't pass though. 1 * 1 raises an integer overflow exception: >>> 1 * 1 Unhandled exception: run-time error: integer overflow Stack backtrace (innermost last): File "", line 1 I'll let someone figure that out. :-) At any rate, the git repo has been updated. Skip -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Re: Python 0.9.1
> If someone knows how to get the original Usenet messages from what Google > published, let me know. Seems the original shar is there buried in a Javascript string toward the end of the file. I think I've got a handle on it, though it will take a Python script to massage back into correct format. Skip -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Re: Python 0.9.1
> > Wow. Was white-space not significant in this release of Python? I see the >> lack of indentation in the first Python programs. >> > > Indentation most certainly was significant from day 0. I suspect what > happened is that these files got busted somehow by the extraction process > used by Skip or Hiromi. > Yes, that's certainly possible. While it's nice that Google has archived this stuff, their faithfulness to the original formats leaves a bit to be desired (and gmane still doesn't work for me, eliminating that option). Guido's messages are displayed as HTML, and I saw no way to get at the raw Usenet messages. I just copied the shar data and saved the result. It seems clear that tabs copied as spaces. The Makefile indentation was hosed up. It should have dawned on me that the .py, .c and .h files would be messed up as well. I was only concerned with building the interpreter. If someone knows how to get the original Usenet messages from what Google published, let me know. Skip > -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Re: Python 0.9.1
On Tue, Feb 16, 2021 at 2:59 PM Senthil Kumaran wrote: > On Tue, Feb 16, 2021 at 1:58 PM Skip Montanaro > wrote: > >> >> I then pushed the result to a Github repo: >> >> https://github.com/smontanaro/python-0.9.1 >> > > Wow. Was white-space not significant in this release of Python? I see the > lack of indentation in the first Python programs. > Indentation most certainly was significant from day 0. I suspect what happened is that these files got busted somehow by the extraction process used by Skip or Hiromi. -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/> -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Python 0.9.1
On 2/16/21 3:44 PM, Guido van Rossum wrote: Awesome, Skip! Was there a date somewhere? I can't recall if this would have been the first open source release (from just about 30 years ago, sometime in February 1991) or some time later in the same year? Guido van Rossum unread, Python 0.9.1 part 01/21 XThis is Python, an extensible interpreted programming language that Xcombines remarkable power with very clear syntax. X XThis is version 0.9 (the first beta release), patchlevel 2/19/91 -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Python 0.9.1
Awesome, Skip! Was there a date somewhere? I can't recall if this would have been the first open source release (from just about 30 years ago, sometime in February 1991) or some time later in the same year? On Tue, Feb 16, 2021 at 1:57 PM Skip Montanaro wrote: > A note to webmas...@python.org from an astute user named Hiromi in Japan* > referred > us to Guido's shell archives for the 0.9.1 release from 1991. As that > wasn't listed in the historical releases README file: > > https://legacy.python.org/download/releases/src/README > > I pulled the shar files (and a patch), then made a few tweaks to get it to > build: > > % ./python > >>> print 'hello world!' > hello world! > >>> import sys > >>> dir(sys) > ['argv', 'exit', 'modules', 'path', 'ps1', 'ps2', 'stderr', 'stdin', > 'stdout'] > >>> sys.modules > {'builtin': ; 'sys': ; '__main__': '__main__'>} > >>> sys.exit(0) > > I then pushed the result to a Github repo: > > https://github.com/smontanaro/python-0.9.1 > > There is a new directory named "shar" with the original files, a small > README file and a compile.patch file between the original code and the > runnable code. > > It was a pleasant diversion for a couple hours. I was tired of shovelling > snow anyway... Thank you, Hiromi. > > Skip > > * Hiromi is bcc'd on this note in case he cares to comment. I didn't want > to publish his email beyond the bounds of the webmaster alias without his > permission. > > ___ > Python-Dev mailing list -- python-...@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-...@python.org/message/VZYELIYAQWUHHGIIEPPJFREDX6F24KMN/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/> -- https://mail.python.org/mailman/listinfo/python-list
Python 0.9.1
A note to webmas...@python.org from an astute user named Hiromi in Japan* referred us to Guido's shell archives for the 0.9.1 release from 1991. As that wasn't listed in the historical releases README file: https://legacy.python.org/download/releases/src/README I pulled the shar files (and a patch), then made a few tweaks to get it to build: % ./python >>> print 'hello world!' hello world! >>> import sys >>> dir(sys) ['argv', 'exit', 'modules', 'path', 'ps1', 'ps2', 'stderr', 'stdin', 'stdout'] >>> sys.modules {'builtin': ; 'sys': ; '__main__': } >>> sys.exit(0) I then pushed the result to a Github repo: https://github.com/smontanaro/python-0.9.1 There is a new directory named "shar" with the original files, a small README file and a compile.patch file between the original code and the runnable code. It was a pleasant diversion for a couple hours. I was tired of shovelling snow anyway... Thank you, Hiromi. Skip * Hiromi is bcc'd on this note in case he cares to comment. I didn't want to publish his email beyond the bounds of the webmaster alias without his permission. -- https://mail.python.org/mailman/listinfo/python-list
ANN: eGenix mxODBC Connect Database Interface for Python 0.9.1 (beta)
ANNOUNCING eGenix.com mxODBC Connect Database Interface for Python Version 0.9.1 (beta) Our new client-server product for connecting Python applications to relational databases - on all major platforms This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-mxODBC-Connect-0.9.1-beta.html INTRODUCTION The mxODBC Connect Database Interface for Python allows users to easily connect Python applications to all major databases on the market today in a highly portable and convenient way. This makes mxODBC Connect the ideal basis for writing cross-platform database programs and utilities in Python. mxODBC Connect extends our eGenix mx Python Extension series with a new client-server based product, that removes the need to install and configure ODBC drivers on the client side. This greatly simplifies setup and configuration of database driven client applications, while at the same time making the network communication between client and database server more efficient and more secure. * About Python: Python is an object-oriented Open Source programming language which runs on all modern platforms (http://www.python.org/). By integrating ease-of-use, clarity in coding, enterprise application connectivity and rapid application design, Python establishes an ideal programming platform for todays IT challenges. * About eGenix: eGenix is a consulting and software product company focused on providing professional quality services and products to Python users and developers (http://www.egenix.com/). HOW IT WORKS mxODBC Connect consists of two parts: a server installation which typically runs directly on the database server and a client Python package which is installed on the client machine that runs the Python application. The server part uses our high-performance database adapter mxODBC to connect to the database server. The client package communicates with the server part over a TCP/IP network, optionally using SSL encryption, advanced authentication and access controls - a feature that many database drivers fail to deliver. By separating the client application database interface from the server and using mxODBC Connect, you gain several benefits: * high portability and flexibility * centralized configuration and administration * added security * automatic fail-over * scalability * lower costs For more information, please have a look at the product page: http://www.egenix.com/products/python/mxODBCConnect/ NEWS mxODBC Connect 0.9 is a public beta release of our new mxODBC Connect product. If you would like to participate in the beta, please see our beta program page: http://www.egenix.com/products/python/mxODBCConnect/beta.html *SPECIAL OFFER* In order to make participation in the beta program more interesting for our users, we will be giving out *free discount coupons* to all participants who report back bugs in the product. DOWNLOADS The download archives as well as instructions for installation and configuration of the product can be found on the product page: http://www.egenix.com/products/python/mxODBCConnect/ ___ SUPPORT Commercial support for this product is available from eGenix.com. Please see http://www.egenix.com/services/support/ for details about our support offerings. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jun 16 2008) Python/Zope Consulting and Support ...http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/ 2008-07-07: EuroPython 2008, Vilnius, Lithuania20 days to go Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 -- http://mail.python.org/mailman/listinfo/python-list
Re: Install MySQL-python-0.9.1
Thanks, now I am trying with Mysql-python-1.2.0. There is an other issue I am encoutering when trying to build, do u know why? (please see below) === ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 -- http://mail.python.org/mailman/listinfo/python-list
Re: Install MySQL-python-0.9.1
Cathy Hui wrote: > I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The > system has Python 2.3.3 and Mysql 4.0.21 installed. You're wasting your time. Use MySQL-python-1.2.0. -- http://mail.python.org/mailman/listinfo/python-list
Install MySQL-python-0.9.1
I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The system has Python 2.3.3 and Mysql 4.0.21 installed. This is where I downloaded the distribution of the Mysql-python package: http://www.ravenbrook.com/project/p4dti/import/2001-10-16/MySQL-python-0.9.1/MySQL-python-0.9.1.tar.gz I have been doing whatever instructed from the README file. i.e. change the setup.py according to what OS I'm using: elif sys.platform == "sunos5": # Solaris 2.8 include_dirs = ['/usr/local/mysql/include/mysql'] library_dirs = ['/usr/local/mysql/lib/mysql'] libraries = [mysqlclient, "z"] runtime_library_dirs = ['/usr/local/lib:/usr/openwin/lib:/usr/dt/lib'] extra_objects = [] Then run the setup.py script with Python, here is the problem. I am encountering the following issue when running the setup.py script. Do u know why is that? Thanks! == python setup.py build Traceback (most recent call last): File "setup.py", line 123, in ? extra_objects=extra_objects, File "/usr/local/lib/python2.3/distutils/core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "/usr/local/lib/python2.3/distutils/dist.py", line 130, in __init__ setattr(self, method_name, getattr(self.metadata, method_name)) AttributeError: DistributionMetadata instance has no attribute 'get___doc__' python setup.py install Traceback (most recent call last): File "setup.py", line 123, in ? extra_objects=extra_objects, File "/usr/local/lib/python2.3/distutils/core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "/usr/local/lib/python2.3/distutils/dist.py", line 130, in __init__ setattr(self, method_name, getattr(self.metadata, method_name)) AttributeError: DistributionMetadata instance has no attribute 'get___doc__' -- http://mail.python.org/mailman/listinfo/python-list