[issue4523] logging module __init__ uses has_key

2008-12-13 Thread Benjamin Peterson
Benjamin Peterson musiccomposit...@gmail.com added the comment: Fixed in r67748. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4523

[issue4523] logging module __init__ uses has_key

2008-12-08 Thread Raymond Hettinger
Changes by Raymond Hettinger [EMAIL PROTECTED]: -- assignee: - georg.brandl nosy: +georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4523 ___

[issue4523] logging module __init__ uses has_key

2008-12-04 Thread R. David Murray
New submission from R. David Murray [EMAIL PROTECTED]: I ran my ap with -3 and got the following: /usr/lib/python2.6/logging/__init__.py:849: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator -- components: Library (Lib) messages: 76883 nosy: bitdancer

[issue4523] logging module __init__ uses has_key

2008-12-04 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: The regression tests are already running with -bb. We should also use -3 to detect such bug. But is -3 enough to raise an error (and not just display a message)? -- nosy: +haypo ___ Python tracker

[issue4523] logging module __init__ uses has_key

2008-12-04 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: I tried the whole Python test suite with -3. Some warnings: - no more cPikle and bsddb modules - has_key() (used in many tests) - a b (used in many AST/grammar tests) - an exception have to inherit from Exception - callable() doesn't