Y
Hacker News
new
|
ask
|
show
|
jobs
by
linuxftw
1287 days ago
Python is a language with several implementations (PyPy, CPython, JPython). Not all python programs work in all of those implementations.
So, I think this might qualify as much as a python implementation as PyPy.
1 comments
e12e
1287 days ago
I don't think python without heterogenous lists and dictionaries is really python?
link
linuxftw
1287 days ago
I can't think of a time I ever needed to do such a thing, and I've written many thousand lines of python. Python supports OOP, so classes will get you quite far in this regard.
link
e12e
1287 days ago
Wouldn't that exclude (most) nested lists?
link
linuxftw
1286 days ago
What do you mean by nested lists? A list of lists, that's a list with a single type.
link
e12e
1286 days ago
I was thinking more a tree-like structure, with lists or values.
link