_______________________________________________
Python-Dev mailing list -- pytho...@python.org
To unsubscribe send an email to python-d...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/pytho...@python.org/message/VZYELIYAQWUHHGIIEPPJFREDX6F24KMN/
Code of Conduct: http://python.org/psf/codeofconduct/
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.
If we can get a clean copy of the original sources I think we should put them up under the Python org on GitHub for posterity.
Call me crazy, but... shouldn't they be checked in? I thought we literally had every revision going back to day zero. It should be duck soup to recreate the original sources--all you need is the correct revision number.
CVS to SVN to HG to GIT, oh my,
/arry
I think to resolve this issue to the completion, and avoid possibility
of an intermediary to add any unexpected changes/mistakes to the
original sources, instead of "someone making a tarball", someone should
make a script, which reproduces making a tarball. Then such a script
can be reviewed and tarball reproduced independently (e.g., by the
admins of python.org).
That's exactly what I did, and attached it to the ticket above:
https://github.com/python/pythondotorg/issues/1734#issuecomment-781129337
For extra details, copying my comment there:
---
I attach my version of such a script (and also paste it below for
reference, but if you use it, please use the attached version to avoid
any discrepancies due to copy-paste).
_______________________________________________
Python-Dev mailing list -- pytho...@python.org
To unsubscribe send an email to python-d...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/pytho...@python.org/message/XAKEELGLCWOVW77F4PV2S6MYSC7YFXZR/
Code of Conduct: http://python.org/psf/codeofconduct/
A note to webm...@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': <module 'builtin'>; 'sys': <module 'sys'>; '__main__': <module '__main__'>}
>>> sys.exit(0)
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 -- pytho...@python.org
To unsubscribe send an email to python-d...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Code of Conduct: http://python.org/psf/codeofconduct/
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 "<stdin>", line 1
if (x > 0x7fffffff || x < (double) (long) 0x80000000)
return err_ovf();