Message76834
| Author |
gvanrossum |
| Recipients |
barry, benjamin.peterson, georg.brandl, gvanrossum, pitrou, skip.montanaro, vstinner |
| Date |
2008年12月03日.17:42:37 |
| SpamBayes Score |
4.146422e-07 |
| Marked as misclassified |
No |
| Message-id |
<ca471dc20812030942r1f968f64i22ca1d2bed3e8f32@mail.gmail.com> |
| In-reply-to |
<1228296969.9481.22.camel@localhost> |
| Content |
On Wed, Dec 3, 2008 at 1:36 AM, Antoine Pitrou <report@bugs.python.org> wrote:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> Some small mistakes :
>
> * « an object always compares equal to itself (i.e., ``x is y`` implies
> ``x == y``; this is true even for *NaN*) ». Actually NaN is not equal to
> itself:
>
> True
>>>> f == f
> False
Raymond pointed this out too and I fixed it before Barry got to the tagging.
> * « The traceback printed when an unhandled exception occurs walks the
> chain of :attr:`__cause__` and :attr:`__context__` attributes and prints
> a separate traceback for each component of the chain, with the primary
> exception at the top. » If by "primary exception" you mean the latest
> one, then it's printed at the bottom, not the top.
No, I mean the first one (as the example tries to clarify).
Thanks for reviewing! I definitely cut it too close this time, due to
various other commitments. :-( |
|