[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> __

[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/issue234

[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.pytho

[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.pytho

[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/issue235

[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:/

[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> __ _

[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/file969

[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 PROTECTE

[issue1918] weak references are removed before __del__ is called.

2008-01-23 Thread Jeff Foran
New submission from Jeff Foran: Not sure where to put example code, but here it goes: import weakref class MyObj(object): def __init__(self): self.ref = weakref.ref(self) def __del__(self): print "HERE123", self.ref() o = MyObj(

<    1   2   3   4