New submission from nickeubank:
Found an odd behavior I'd never known about today, not sure if it's a bug or
known. Python 3.4.4 (anaconda)
True, False, 0, 1 can all be used as dictionary keys.
But
Apparently True and 1 hash to the same item and False and 0 hash to the same
ite
nickeubank added the comment:
Seems like existence of a method in the stdlib (or at least in the pathlib part
of the stdlib) suggests issues with text encoding can be overcome.
IMHO I would suggest most people have no idea about that method (I've been
doing python for years and thi
New submission from nickeubank:
As a social scientists trying to help other social scientists move from
language like R, Stata, and Matlab into Python, one of the behaviors I've found
unnecessarily difficult to explain is the "file.open()/file.close()" idiom (or,
alterna