[New-bugs-announce] [issue2366] Fixer for new metaclass syntax is needed

Brett Cannon report at bugs.python.org
Mon Mar 17 20:54:32 CET 2008

New submission from Brett Cannon <brett at python.org>:

* new metaclass syntax (removing __metaclass__?)
   - __metaclass__ = type at global level disappear
   - __metaclass__ = <anything else> should generate warning
   - __metaclass__ = <something> within a class should use new syntax
   - class __metaclass__ should be warned about
   - any other use of __metaclass__ should be warned about

assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
keywords: 26backport
messages: 63743
nosy: brett.cannon, collinwinter
priority: immediate
severity: normal
status: open
title: Fixer for new metaclass syntax is needed
type: behavior
versions: Python 2.6

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list