nce between null pointer and wrong type. Of course if
the error message tells you that you had null there, it is not a
problem, but what if you somehow lose the error message and get only
the exception class name? (Yes, you should always keep the message
too, but it does happen.)
--
Ilpo Nyyssönen # biny # /* :-) */
--
http://mail.python.org/mailman/listinfo/python-list
that level Java might be less error-prone as it does restrict
the ways you can shoot yourself more.
--
Ilpo Nyyssönen # biny # /* :-) */
--
http://mail.python.org/mailman/listinfo/python-list
on might be outdated).
There is this:
http://mail.python.org/pipermail/image-sig/2004-September/002931.html
--
Ilpo Nyyssönen # biny # /* :-) */
--
http://mail.python.org/mailman/listinfo/python-list
Ville Vainio <[EMAIL PROTECTED]> writes:
>>>>>> "Ilpo" == Ilpo Nyyssönen writes:
>
> Ilpo> Pickle doesn't have validation. I am not comfortable for
> Ilpo> using it as storage format that should be reliable over
> Ilpo>
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> Ilpo Nyyssönen wrote:
>
>> What is the point in doing validation if it isn't done every time? Why
>> wouldn't I do it every time? It isn't that slow thing to do.
>
> DTD validation is useful in tw
e regexps themselves aren't there
> either.
How can it work automatically in separate module? Replacing the
re.compile with something sounds possible way of getting the regexps,
but how and where to store the compiled data? Is there a way to put it
to the byte code file?
Maybe I need to take a look at it when I find the time...
--
Ilpo Nyyssönen # biny # /* :-) */
--
http://mail.python.org/mailman/listinfo/python-list
ing better than DOM, must be object
oriented.)
I don't want to make my programs ugly (read: use some more low level
interface) and error prone (read: no validation) to make them fast.
--
Ilpo Nyyssönen # biny # /* :-) */
--
http://mail.python.org/mailman/listinfo/python-list
Ville Vainio <[EMAIL PROTECTED]> writes:
>>>>>> "Ilpo" == Ilpo Nyyssönen writes:
>
> Ilpo> The problem in python here is that it needs to always
> Ilpo> recompile the regexp. I would like to have a way to write a
> Ilpo> r
nd line apps.
Of course we do have ways to go around that limitation, but that is
just ugly.
--
Ilpo Nyyssönen # biny # /* :-) */
--
http://mail.python.org/mailman/listinfo/python-list