This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, benjamin.peterson, docs@python, eric.araujo, eric.smith, mark.dickinson
Date 2010-10-04.17:10:31
SpamBayes Score 9.564591e-09
Marked as misclassified No
Message-id <AANLkTiny01DCL4BVDG=js+zux3VJU-UdC0cBS+fr35ZO@mail.gmail.com>
In-reply-to <1286211778.53.0.0157490166428.issue10021@psf.upfronthosting.co.za>
Content
On Mon, Oct 4, 2010 at 1:02 PM, Eric Smith <report@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.
History
Date User Action Args
2010-10-04 17:10:35belopolskysetrecipients: + belopolsky, mark.dickinson, eric.smith, benjamin.peterson, eric.araujo, docs@python
2010-10-04 17:10:32belopolskylinkissue10021 messages
2010-10-04 17:10:31belopolskycreate