6 ms·
CPython is the implementation that 98% of the market uses, but you are partially correct for that other 2%. You are also wrong for CPython which does NOT requi
by illumen 12y ago
CPython is the implementation that 98% of the market uses, but you are partially correct for that other 2%.
You are also wrong for CPython which does NOT require the garbage collector to be on, and DOES release the file in a deterministic way.
Simply, the article is misleading with regards to python.
- mwcampbell 12y agoStill, do you want to bake assumptions based on CPython's implementation into your codebase, then have those assumptions invalidated when you later switch to PyPy to take advantage of the JIT compiler?
- apendleton 12y agoIf the garbage collector were turned off and a cycle were to be present, the file would simply never be closed. Though I suppose that would, indeed, be deterministic.