[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-05-06 Thread Jeff Balogh
Changes by Jeff Balogh [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9779/issue2370.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2370 __ ___ Python-bugs

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-05-06 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: doh! Attaching a new patch that actually contains a fixer. Added file: http://bugs.python.org/file10205/issue2370.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2370

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-05-06 Thread Jeff Balogh
Changes by Jeff Balogh [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9787/operator-warnings.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2370 __ ___ Python

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-05-06 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Updating the deprecation warnings patch to use PyErr_WarnPy3k and apply correctly against current trunk. Added file: http://bugs.python.org/file10206/operator-warnings.diff __ Tracker [EMAIL PROTECTED] http

[issue2359] A Py3K warning for array.array.{read,write} is needed

2008-03-20 Thread Jeff Balogh
Changes by Jeff Balogh [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9702/issue2359.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2359 __ ___ Python-bugs

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-03-20 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that adds deprecation warnings in trunk. Added file: http://bugs.python.org/file9787/operator-warnings.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2370

[issue2354] cmp argument to list.sort()/sorted() should raise a Py3K warning

2008-03-19 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Fixing the compare to raise the warning when cmp != NULL, and adding a test -- keywords: +patch nosy: +jeff.balogh Added file: http://bugs.python.org/file9769/sort-cmp.diff __ Tracker [EMAIL PROTECTED

[issue2425] test_py3kwarn doesn't use sys.py3kwarning

2008-03-19 Thread Jeff Balogh
New submission from Jeff Balogh [EMAIL PROTECTED]: This patch fixes the TODO in test_py3kwarn -- components: Tests files: py3kwarn-refactor.diff keywords: patch messages: 64073 nosy: brett.cannon, jeff.balogh severity: normal status: open title: test_py3kwarn doesn't use sys.py3kwarning

[issue2358] Using sys.exc_clear should raise a Py3K warning

2008-03-19 Thread Jeff Balogh
Changes by Jeff Balogh [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9707/issue2358.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2358 __ ___ Python-bugs

[issue2348] Py3K warn using file.softspace

2008-03-19 Thread Jeff Balogh
Changes by Jeff Balogh [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9717/issue2348.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2348 __ ___ Python-bugs

[issue2348] Py3K warn using file.softspace

2008-03-19 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Here's a new patch that uses PyErr_WarnEx, has a test, and even updates Misc/NEWS. Added file: http://bugs.python.org/file9774/issue2348.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2348

[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it

2008-03-19 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: The patch works for me, and doesn't change anything except the test strings. Not having spaces in your path also helps. ;) -- nosy: +jeff.balogh __ Tracker [EMAIL PROTECTED] http://bugs.python.org

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-03-19 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a revised patch that has a ``warnsunchanged`` test case. Added file: http://bugs.python.org/file9779/issue2370.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2370

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-03-19 Thread Jeff Balogh
Changes by Jeff Balogh [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9736/issue2370.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2370 __ ___ Python-bugs

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: I'll get this one. -- nosy: +jeff.balogh __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2370 __ ___ Python-bugs-list

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that operator.{isCallable,sequenceIncludes}, including tests. -- keywords: +patch Added file: http://bugs.python.org/file9736/issue2370.diff __ Tracker [EMAIL PROTECTED] http

[issue2357] sys.exc_{type, values, traceback} should raise a Py3K warning

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that provides fixers for sys.exc_ {type,value,traceback} Added file: http://bugs.python.org/file9749/issue2357.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2357

[issue2409] regrtest should not just skip imports that fail

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that implements optional_import(). The only arg included from __import__ is fromfile, as it's the only one I needed to fix up the stdlib. -- keywords: +patch nosy: +jeff.balogh Added file: http://bugs.python.org

[issue2409] regrtest should not just skip imports that fail

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that removes ``from _winreg import *`` in test_winreg.py, which will allow usage of optional_import. Added file: http://bugs.python.org/file9757/winreg-refactor.diff __ Tracker [EMAIL PROTECTED

[issue2409] regrtest should not just skip imports that fail

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that refactors the test_sunaudiodev.py imports. Added file: http://bugs.python.org/file9758/sunaudiodev-refactor.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2409

[issue2409] regrtest should not just skip imports that fail

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: The previous winreg refactor patch didn't catch all the changes; attaching a new patch that fixes everything, with help from Trent Nelson. Added file: http://bugs.python.org/file9759/winreg-refactor.diff

[issue2409] regrtest should not just skip imports that fail

2008-03-18 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch, based on the previous patches, that fixes the stdlib to use optional_import where ImportError was raised. These need testing on various platforms to make sure all the ImportErrors are caught. I'm on x86 Linux. Added file

[issue2282] TextIOWrapper.seekable() always returns False

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that fixes this issue and adds a regression test. -- keywords: +patch nosy: +jbalogh Added file: http://bugs.python.org/file9690/issue2282.diff __ Tracker [EMAIL PROTECTED] http

[issue2091] file accepts 'rU+' as a mode

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that checks for '+' in the mode string, updates the docs, and tests bad mode strings. -- keywords: +patch nosy: +jbalogh Added file: http://bugs.python.org/file9697/issue2091.diff

[issue2359] A Py3K warning for array.array.{read,write} is needed

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: I've got this one. -- nosy: +jbalogh __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2359 __ ___ Python-bugs-list

[issue2359] A Py3K warning for array.array.{read,write} is needed

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that adds the deprecation warnings. It's a bit dirty because there isn't a read or write function anymore, so I had to make stubs that contain the warnings. -- keywords: +patch Added file: http://bugs.python.org

[issue2358] Using sys.exc_clear should raise a Py3K warning

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that raises the warning. Should the method documentation metion the deprecation as well? -- keywords: +patch nosy: +jbalogh Added file: http://bugs.python.org/file9707/issue2358.diff

[issue2358] Using sys.exc_clear should raise a Py3K warning

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a fixed patch that follows PEP 7 and updates Misc/NEWS. Added file: http://bugs.python.org/file9708/issue2358-stylefix.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2358

[issue2359] A Py3K warning for array.array.{read,write} is needed

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a fixed patch that follows PEP 7. Added file: http://bugs.python.org/file9709/issue2359-stylefix.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2359

[issue2348] Py3K warn using file.softspace

2008-03-17 Thread Jeff Balogh
Jeff Balogh [EMAIL PROTECTED] added the comment: Attaching a patch that adds {get,set}_attr wrappers for fileobject which warn about softspace usage. -- keywords: +patch nosy: +jbalogh Added file: http://bugs.python.org/file9717/issue2348.diff