Rather than a new function, maybe a flag?

read(n, strict=True)

(Not sure if a block flag would also be useful, but maybe)

-CHB

-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/D63IOGCQF7XGR4JIPZ2BH3ELOHAMBWVB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to