2017-01-21-2329Z


Python doctests seem to ignore changing global variables, even if you set them using:

>>> globals()['INFER_SCHEMA'] = True

though INFER_SCHEMA was recognized as True in the doctest, the called routine still saw it as False. so I instead added a 3rd arg to the routine to indicate whether to treat the columns as string or double values, and the doctest works. sooner or later, even the program may work. the deadline has been moved up to Tuesday. I'm hopeful.

Back to blog or home page

last updated 2017-01-21 18:34:11. served from tektonic.jcomeau.com