➜

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.

作者 meador.inge
收信人 eric.smith, mark.dickinson, meador.inge
日期 2010-02-26.04:03:16
SpamBayes Score 2.4156532e-09
Marked as misclassified 否
Message-id <1267157000.27.0.281385521679.issue7994@psf.upfronthosting.co.za>
In-reply-to
内容
The patch looks reasonable.  I built on it with the following changes:

   1. Added some extra test cases to cover Unicode format strings, 
      since the code was changed to handle these as well.
   2. Changed test_builtin.py by 
      s/m[0].message.message/str(w[0].message)/, since 
      BaseException.message was deprecated in 2.6.

I also have the following general comments:

   1. PEP 3101 explicitly defines the string conversion for 
      object.__format__.  What is the rationale behind this?  Should
      we find out before making this change?
   2. I don't think the comments in 'abstract.c' and 'typeobject.c'
      explaining that the warning will eventually become an error are
      needed.  I think it would be better to open separate issues for
      these migration steps as they can be tracked easier and will be 
      more visible.
   3. test_unicode, test_str have cases that trigger the added 
      warning.  Should they be altered now or when (if) this becomes 
      an error?
历史
日期 用户 动作 参数
2010-02-26 04:03:20meador.inge修改recipients: + meador.inge, mark.dickinson, eric.smith
2010-02-26 04:03:20meador.inge修改messageid: <1267157000.27.0.281385521679.issue7994@psf.upfronthosting.co.za>
2010-02-26 04:03:18meador.inge链接issue7994 messages
2010-02-26 04:03:17meador.inge创建