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: Implemented new 'class foo():pass' syntax
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: nascheme Nosy List: brett.cannon, logistix, nascheme
Priority: normal Keywords: patch

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

Files
File name Uploaded Description Edit
new_class_syntax.diff logistix, 2005-04-03 21:47 patch for new syntax
Messages (5)
msg48145 - (view) Author: Grant Olson (logistix) Date: 2005-04-03 21:47
This patch implements the new 'class foo():pass' syntax 
for the ast branch.  It also includes minor modifications 
required to run build graminit.c on windows machines.
msg48146 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-04-04 19:25
Logged In: YES 
user_id=357491

Do you know why graminit.c stopped working on Windows? 
Kurt's report on the merger didn't show any issues on
Windows and so I wonder if the problem goes back to the main
branch as well.
msg48147 - (view) Author: Grant Olson (logistix) Date: 2005-04-04 20:53
Logged In: YES 
user_id=699438

graminit.c is generated by pgen.exe.  This process isn't fully 
automated on a windows build (like I'm guessing it is on 
linux).  There is a provided makefile that works with visual 
studio's nmake for windows users.  It just referenced an older 
version of the python lib file (2.3 instead of 2.5).

I presume this hasn't caused problems in the past becuase 
people modifying grammar/grammar have been running some 
form of *nix.

Now I'm starting to wonder if pgen generates any other files 
(i.e. header files) that I didn't include in the patch.  I'll verify 
when I get home.
msg48148 - (view) Author: Grant Olson (logistix) Date: 2005-04-04 21:49
Logged In: YES 
user_id=699438

Just to confirm, pgen did generate a new graminit.h file, but 
there were no changes to it because we didn't add any new 
symbols.  The patch I submitted is fine.
msg48149 - (view) Author: Neil Schemenauer (nascheme) * (Python committer) Date: 2005-04-15 02:19
Logged In: YES 
user_id=35752

Looks good.  Check into the AST branch.  Thanks for the patch.
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41802
2005-04-03 21:47:09logistixcreate