[issue2962] Goodbye, 'global' statement!

2008-05-25 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: First, global is frowned upon in large projects, but sometimes useful in quick & dirty scripts. Second, the time for such changes to Python 3.0 is past. Third, this at least needs a PEP. -- nosy: +georg.brandl resolution: -> rejected

[issue2962] Goodbye, 'global' statement!

2008-05-24 Thread Chester
New submission from Chester <[EMAIL PROTECTED]>: The 'global' statement is used to mark a variable as global. It is used in functions to allow statements in the function body to rebind global variables. Using the 'global' statement is generally considered poor style and should be avoided whenever