Message117969
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. |
|
Date |
User |
Action |
Args |
2010-10-04 17:10:35 | belopolsky | set | recipients:
+ belopolsky, mark.dickinson, eric.smith, benjamin.peterson, eric.araujo, docs@python |
2010-10-04 17:10:32 | belopolsky | link | issue10021 messages |
2010-10-04 17:10:31 | belopolsky | create | |
|