This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: compiler module didn't get updated for "class foo():pass"
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, logistix
Priority: normal Keywords:

Created on 2005-04-03 21:21 by logistix, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
compiler_fix.diff logistix, 2005-04-03 21:21 Fix for compiler module
class_fix_for_parsermodule.diff logistix, 2005-04-03 22:01
Messages (3)
msg24878 - (view) Author: Grant Olson (logistix) Date: 2005-04-03 21:21
Patch with fix and testcase is attached.
msg24879 - (view) Author: Grant Olson (logistix) Date: 2005-04-03 22:01
Logged In: YES 
user_id=699438

The parser module didn't get corrected either.  Here is 
another patch with test case for that.
msg24880 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-04-09 02:34
Logged In: YES 
user_id=357491

OK, committed in rev. XXX for Modules/parsermodule.c, rev.
XXX for Lib/test/test_parser.py, rev. XXX for
Lib/compiler/transformer.py, and rev. XXX for
Lib/test/test_compiler.py .

Only change from patch to what was committed was changing
the formatting for parsermodule.c to meet the coding
standard and a bug where an assignment was being made
instead of a comparison.

Closed as fixed.  Thanks, logistix.
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41801
2005-04-03 21:21:19logistixcreate