4 ms·
> Python 0.9.1 programs (Earliest I used) This inspired me to download Python 0.9.1. to find out what field access control was. I did find it. https://www.pyt
by true_religion 6y ago
> Python 0.9.1 programs (Earliest I used)
This inspired me to download Python 0.9.1. to find out what field access control was.
I did find it. https://www.python.org/download/releases/early/ https://www.python.org/download/releases/early/
And amazingly it compiles, and does so in just 1.5 seconds on an iMac (unlike my Typescript project which is compiling at 90 seconds and counting.... hmmm).
Unfortunately, even now with access to the source code I can't find anything about field access control.
What was it? How did you use it?
- beagle3 6y agoPython had keywords that were supposed to make methods and fields private or read only or something like that. I remember they were gone by 1.4; I never liked or used them. I am on phone now, and all google results now are referring to name mangling and underscores. When I am on desktop, I’ll dig up the version and syntax.
- beagle3 6y agoOk, I've just downloaded the 0.9.1 sources, and it's not there yet, and in 1.4 it's not there anymore, must have been somewhere in between, maybe 0.9.4 or so; I'm not sure if they were ever properly implemented, but there was a point in time in which the grammar had some provision for declaring methods private and/or fields read-only or something like that. I do remember I disliked the idea and never used it, and likely it wasn't popular because it's gone. I can't find any version other than 0.9.1 to download, and trying to do newgroup archeology through Google Groups is incredibly frustrating. I've given up after about an hour of trying to find old mentions.