[issue2332] Renaming of attributes on functions need to be backported.

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: It should be double-checked that the renaming of attributes from functions has been completed. -- assignee: nnorwitz components: Interpreter Core keywords: 26backport messages: 63689 nosy: brett.cannon, nnorwitz priority: imm

[issue2333] Backport dict comprehensions

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Dict comprehensions need to be backported. -- components: Interpreter Core keywords: 26backport messages: 63690 nosy: brett.cannon priority: immediate severity: normal status: open title: Backport dict comprehensions type: be

[issue2334] Backport set comprehensions

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Set comprehensions need to be backported. -- components: Interpreter Core keywords: 26backport messages: 63691 nosy: brett.cannon priority: immediate severity: normal status: open title: Backport set comprehensions versions:

[issue2335] Backport set literals

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Set literals need to be backported. -- components: Interpreter Core keywords: 26backport messages: 63692 nosy: brett.cannon priority: immediate severity: normal status: open title: Backport set literals type: behavior ve

[issue2337] Backport oct() and hex() to use __index__

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: oct() and hex() need to use __index__ when available and then emit a Py3K warning when they fall back on __oct__ and __hex__. -- components: Interpreter Core keywords: 26backport messages: 63695 nosy: brett.cannon priority: imm

[issue2338] Backport reload() moving to imp.reload()

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer to change calls from reload() to imp.reload() needs to happen. Plus imp.reload() should come into existence. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 6369

[issue2339] Backport intern() -> sys.intern()

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: intern() needs to be added as sys.intern(). Then a 2to3 fixer needs to be written. -- components: Interpreter Core keywords: 26backport messages: 63698 nosy: brett.cannon priority: immediate severity: normal status: open

[issue2338] Backport reload() moving to imp.reload()

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- components: +Interpreter Core -2to3 (2.x to 3.0 conversion tool) __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2340] Backport PEP 3132 (extended iterable unpacking)

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: PEP 3132 (extended iterable unpacking) needs to be backported. -- components: Interpreter Core keywords: 26backport messages: 63699 nosy: brett.cannon priority: immediate severity: normal status: open title: Backport PE

[issue2336] Backport PEP 3114 (__next__)

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: PEP 3114 needs to be backported. Most likely the best approach is to backport the next() built-in but to have it call next() on the iterator instead of __next__(). That should hopefully minimize breakage while allowing for moving over

[issue2291] Raise a Py3K warning for catching non-BaseException exceptions

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: -> immediate title: Catching all exceptions with 'object' -> Raise a Py3K warning for catching non-BaseException exceptions __ Tracker <[EMAIL PROTECTED]> <h

[issue2341] Raise a Py3K warning when raise non-BaseException exceptions

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Raising exceptions that do not inherit from BaseException (e.g., classic classes) should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63700 nosy: brett.cannon priority: immediate se

[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: When you compare disparate types through something other than == and != a Py3K warning should be raised. -- components: Interpreter Core keywords: 26backport messages: 63702 nosy: brett.cannon priority: immediate severity:

[issue2343] Raise a Py3K warning when using a float where an int is expected

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using a float where an int should only be used (e.g., ``[].insert(.5, 0)``) should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63704 nosy: brett.cannon priority: immediate severity:

[issue2344] Using an iteration variable outside a list comprehension needs a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: If you use a iteration variable from a list comprehension from outside the list comprehension itself should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63706 nosy: brett.cannon pr

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: If one tries to use an exception bound to a variable in an 'except' clause it should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63708 nosy: brett.cannon priority: immediate

[issue2346] Py3K warn against using __members__

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using __members__ should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63713 nosy: brett.cannon priority: immediate severity: normal status: open title: Py3K warn against using __mem

[issue2347] Py3K warn for using __methods__

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using __methods__ should trigger a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63715 nosy: brett.cannon priority: immediate severity: normal status: open title: Py3K warn for using __met

[issue2348] Py3K warn using file.whitespace

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A Py3K warning should be raised if file.whitespace is used in any way. -- components: Interpreter Core keywords: 26backport messages: 63716 nosy: brett.cannon priority: immediate severity: normal status: open title: Py3K warn

[issue2349] Py3K warn against assigning to True/False

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Assigning to True of False should raise at least a Py3K warning (maybe something more severe?). -- components: Interpreter Core keywords: 26backport messages: 63717 nosy: brett.cannon priority: immediate severity: normal status

[issue2350] Warn against importing 'exceptions'

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Importing 'exceptions' should raise at least a Py3K warning, if not a full DeprecationWarning. -- keywords: 26backport messages: 63718 nosy: brett.cannon priority: immediate severity: normal status: open title: Warn a

[issue2351] Using __(get|set|del)slice__ needs a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using any of the slicing methods (e.g., __getslice__) should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63721 nosy: brett.cannon priority: immediate severity: normal status: open title:

[issue2352] Use of __oct__/__hex__ should raise a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Use of __hex__ and __oct__ should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63722 nosy: brett.cannon priority: immediate severity: normal status: open title: Use of __oct__/__hex__

[issue2353] Use of file.xreadlines() should raise a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using file.xreadlines() should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63724 nosy: brett.cannon priority: immediate severity: normal status: open title: Use of file.xreadlines()

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

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: The cmp argument for list.sort() and sorted() should raise a Py3K warning. -- keywords: 26backport messages: 63725 nosy: brett.cannon priority: immediate severity: normal status: open title: cmp argument to list.sort()/

[issue2355] Using buffer() should raise a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using buffer() should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63726 nosy: brett.cannon priority: immediate severity: normal status: open title: Using buffer() should raise a Py3K w

[issue2356] sys.exitfunc should raise a Py3K warning

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: sys.exitfunc should raise a Py3K warning when set/used. -- components: Interpreter Core keywords: 26backport messages: 63731 nosy: brett.cannon priority: immediate severity: normal status: open title: sys.exitfunc should raise

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

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using sys.exc_{type,values,traceback} should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63732 nosy: brett.cannon priority: immediate severity: normal status: open title: sys.exc_{type,

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

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Using sys.exc_clear should raise a Py3K warning. -- components: Interpreter Core keywords: 26backport messages: 63733 nosy: brett.cannon priority: immediate severity: normal status: open title: Using sys.exc_clear should raise

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

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: array.{read,write} from the array module should raise at least a Py3K warning, if not a DeprecationWarning. -- components: Interpreter Core keywords: 26backport messages: 63735 nosy: brett.cannon priority: immediate severity:

[issue2360] Fixer for itertools.imap() -> map()

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer for converting itertools.imap() to -> map() is needed. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 63736 nosy: brett.cannon, collinwinter priority: immediate

[issue2361] Fixer for itertools.ifilter() -> filter()

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer to go from itertools.ifilter() to filter() is needed. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 63737 nosy: brett.cannon, collinwinter priority: immediate se

[issue2362] Fixer for itertools.izip() -> zip()

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer for itertools.izip() to zip() is needed. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 63738 nosy: brett.cannon, collinwinter priority: immediate severity:

[issue2363] Fixer for itertools.ifilterfalse() -> itertools.filterfalse()

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer is needed to go from itertools.ifilterfalse() to itertools.filterfalse(). -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 63739 nosy: brett.cannon, collinwinter pr

[issue2365] Fixer for filter(None, ...) -> filter(bool, ...)

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer to go from filter(None, ..) to filter(bool, ..) is needed. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 63742 nosy: brett.cannon, collinwinter priority: imm

[issue2366] Fixer for new metaclass syntax is needed

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: * new metaclass syntax (removing __metaclass__?) - __metaclass__ = type at global level disappear - __metaclass__ = should generate warning - __metaclass__ = within a class should use new syntax - class __metaclass__ sho

[issue2367] Fixer to handle new places where parentheses are needed

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Py3K has some places where parentheses are now required (e.g., ``[x for x in 1, 2]`` to ``[x for x in (1, 2)``). A fixer is needed to handle the conversion. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversio

[issue2368] Backport __builtin__ to 'builtins'

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: 'builtins' needs to be added as a module for __builtin__. A fixer will also be needed. -- components: Interpreter Core keywords: 26backport messages: 63745 nosy: brett.cannon priority: immediate severity: normal st

[issue2356] sys.exitfunc should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: A fixer to use the atexit module is needed. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2356> __ __

[issue2369] Fixer for new integer literals are needed

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer(s) to handle the new integer literals are needed. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 63749 nosy: brett.cannon, collinwinter priority: immediate se

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

2008-03-17 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: A fixer to use sys.exc_info is needed. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2357> __ __

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

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: A fixer for operator.{isCallable,sequenceIncludes} similar to the one for callable() is needed. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) keywords: 26backport messages: 63751 nosy: brett.

[issue2322] Clean up getargs.c and its formatting possibilities

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2322> __ ___ Pyt

[issue2323] Unify structseq and namedtuple's API

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2323> __ ___ Pyt

[issue2327] Backport keyword-only arguments to 2.6

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2327> __ ___ Pyt

[issue2331] Backport parameter annotations

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2331> __ ___ Pyt

[issue2332] Renaming of attributes on functions need to be backported.

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2332> __ ___ Pyt

[issue2333] Backport dict comprehensions

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2333> __ ___ Pyt

[issue2334] Backport set comprehensions

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2334> __ ___ Pyt

[issue2335] Backport set literals

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2335> __ ___ Pyt

[issue2338] Backport reload() moving to imp.reload()

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2338> __ ___ Pyt

[issue2337] Backport oct() and hex() to use __index__

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2337> __ ___ Pyt

[issue2340] Backport PEP 3132 (extended iterable unpacking)

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2340> __ ___ Pyt

[issue2291] Raise a Py3K warning for catching non-BaseException exceptions

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2291> __ ___ Pyt

[issue2341] Raise a Py3K warning when raise non-BaseException exceptions

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2341> __ ___ Pyt

[issue2336] Backport PEP 3114 (__next__)

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2336> __ ___ Pyt

[issue2343] Raise a Py3K warning when using a float where an int is expected

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2343> __ ___ Pyt

[issue2344] Using an iteration variable outside a list comprehension needs a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2344> __ ___ Pyt

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2345> __ ___ Pyt

[issue2346] Py3K warn against using __members__

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2346> __ ___ Pyt

[issue2347] Py3K warn for using __methods__

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2347> __ ___ Pyt

[issue2348] Py3K warn using file.whitespace

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2348> __ ___ Pyt

[issue2349] Py3K warn against assigning to True/False

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2349> __ ___ Pyt

[issue2350] Warn against importing 'exceptions'

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2350> __ ___ Pyt

[issue2351] Using __(get|set|del)slice__ needs a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2351> __ ___ Pyt

[issue2352] Use of __oct__/__hex__ should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2352> __ ___ Pyt

[issue2353] Use of file.xreadlines() should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2353> __ ___ Pyt

[issue2355] Using buffer() should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2355> __ ___ Pyt

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

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2358> __ ___ Pyt

[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2342> __ ___ Pyt

[issue2360] Fixer for itertools.imap() -> map()

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2360> __ ___ Pyt

[issue2361] Fixer for itertools.ifilter() -> filter()

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2361> __ ___ Pyt

[issue2362] Fixer for itertools.izip() -> zip()

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2362> __ ___ Pyt

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

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2359> __ ___ Pyt

[issue2366] Fixer for new metaclass syntax is needed

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2366> __ ___ Pyt

[issue2365] Fixer for filter(None, ...) -> filter(bool, ...)

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2365> __ ___ Pyt

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

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2370> __ ___ Pyt

[issue2339] Backport intern() -> sys.intern()

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2339> __ ___ Pyt

[issue2369] Fixer for new integer literals are needed

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2369> __ ___ Pyt

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

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

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

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2357> __ ___ Pyt

[issue2356] sys.exitfunc should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2356> __ ___ Pyt

[issue2368] Backport __builtin__ to 'builtins'

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2368> __ ___ Pyt

[issue2367] Fixer to handle new places where parentheses are needed

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2367> __ ___ Pyt

[issue2363] Fixer for itertools.ifilterfalse() -> itertools.filterfalse()

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: immediate -> urgent __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2363> __ ___ Pyt

[issue2349] Py3K warn against assigning to True/False

2008-03-17 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Mon, Mar 17, 2008 at 3:41 PM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > > Raymond Hettinger <[EMAIL PROTECTED]> added the comment: > > I would like to review the patch on this one. > > I think it

[issue2348] Py3K warn using file.softspace

2008-03-17 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: That should read file.softspace. -- title: Py3K warn using file.whitespace -> Py3K warn using file.softspace __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2377] Replace import.c with a pure Python implementation

2008-03-17 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Python/import.c should be replaced by the implementation under development contained in the py3k-importlib branch. -- assignee: brett.cannon components: Interpreter Core messages: 63851 nosy: brett.cannon priority: critical se

[issue667770] import C API mess

2008-03-17 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: I was planning to do that in order to make my life simpler when I have to re-implement the C API. Tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue2386] os.strerror missing/HAVE_STRERROR not defined

2008-03-18 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Fixed in revision 61523. Thanks for reminding me to remove those references, Ralf. -- assignee: -> brett.cannon resolution: -> fixed status: open -> closed __ Tracker <[EMAIL

[issue2398] test_errno fails with unexpected error value EREMOTEIO

2008-03-18 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Thanks for the patch, Andy, but I went ahead and fixed test_errno to only explicitly test errno values from Standard C. That way we are not constantly chasing our tail to support every errno value on every platform that Python r

[issue2196] Fix hasattr's exception problems

2008-03-18 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Tue, Mar 18, 2008 at 4:48 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > > Further comments? I have not looked at the patch yet (and I do

[issue2411] test_nis.py fails if NIS is not configured or used

2008-03-18 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- assignee: -> brett.cannon nosy: +brett.cannon __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2411> __ _

[issue1631171] implement warnings module in C

2008-03-18 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9490/c_warnings.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1631171] implement warnings module in C

2008-03-18 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9667/c_warnings.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1631171] implement warnings module in C

2008-03-18 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Attached is what I think is a completely working version of warnings implemented in a mixture of C and Python. I am not worrying about documenting the new C APIs I had to add since they are pretty specific to internal stuff. Probably

[issue2411] test_nis.py fails if NIS is not configured or used

2008-03-19 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Applied in revision 61627. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2349] Py3K warn against assigning to True/False

2008-03-19 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Actually, the patch is incomplete. You can still do assignment through things such as ``def True(): pass``. If you go through ast.c and find the various places None is protected (search for \"None\" and note the places where an

[issue2425] test_py3kwarn doesn't use sys.py3kwarning

2008-03-19 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Fixed in revision 61631. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2090] __import__ with fromlist=[''] causes double initialization of modules

2008-03-19 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: As you said, it's a hack, so supporting an abuse of the API is not reasonable. You don't have to set the fromlist for the import to work. And if you are doing it to get the tail module, you can write some simple code to use g

<    6   7   8   9   10   11   12   13   14   15   >