[issue3936] Faulty suppression of 'as' keyword warning

2008-09-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66618. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-25 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pyth

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Thu, Sep 25, 2008 at 2:46 AM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > > Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > > Patch is good to me. > > Actually 2.5 is not in "Release Candidate" stage, do we really nee

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Patch is good to me. Actually 2.5 is not in "Release Candidate" stage, do we really need formal review? -- keywords: -needs review ___ Python tracker <[EMAIL PROTECTED]>

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-24 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: You're right; I should put it within the started block. Actually, no import cases are currently handled by the warning to avoid conflicting with "import foo as bar". This isn't really an issue, though because using the module name "as.attri

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I would be more comfortable if "started = 1" was also executed in the NEWLINE case. I'm not sure to understand the exact use of its value. And do you think if it's possible to add the type==SEMICOLON case? This would properly show the

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-23 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Attaching patch and test. -- keywords: +needs review, patch nosy: +benjamin.peterson priority: -> high Added file: http://bugs.python.org/file11577/fix_warning_after_import.patch ___ Python tra

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-23 Thread Koen van de Sande
Koen van de Sande <[EMAIL PROTECTED]> added the comment: I was wondering why I didn't have any warnings in my code in 2.5, when it started failing with errors on import in 2.6. Now I know. -- nosy: +koen ___ Python tracker <[EMAIL PROTECTED]>

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-22 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: Copied from c.l.p post by F. Lundh I have no idea if this has implications for warnings in 2.6 > >>> from sympy.mpmath import specfun > >>> > > So what could be suppressing the warning? [about 'as' becoming a keyw