Is pythonic version of scanf() or sscanf() planned?

Grant Edwards invalid at invalid.invalid
Sat Oct 3 21:17:18 EDT 2009


On 2009-10-03, ryniek90 <ryniek90 at gmail.com> wrote:

> So, whether it is or has been planned the core Python
> implementation of *scanf()* ?

One of the fist things I remember being taught as a C progrmmer
was to never use scanf.  Programs that use scanf tend to fail
in rather spectacular ways when presented with simple typos and
other forms of unexpected input.  

Given the bad behavior and general fragility of scanf(), I
doubt there's much demand for something equally broken for
Python.

> Thanks for any helpful answers.

Not sure if mine was helpful...



More information about the Python-list mailing list