Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

On Mon, Oct 4, 2010 at 1:02 PM, Eric Smith <rep...@bugs.python.org> wrote:
..
> Ah, but I don't need to in order to comply with the PEP!

This is true and this is the reason I changed this issue from bug to
doc.   I seem to remember this having been discussed before, but I
cannot find the right thread.   There are at least two reasons cpython
docs should mention this:

1. From current documentation, users are likely to expect a value
error from format(".$#@", ..) rather than an attribute error.
2. Naive proxy objects may implement __getattribute__ that blindly
inserts attribute name into database queries leading to all kinds of
undesired behaviors.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10021>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to