[issue21243] Auto-generate exceptions.c from a Python file

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21243] Auto-generate exceptions.c from a Python file

2015-11-03 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue21243] Auto-generate exceptions.c from a Python file

2015-11-03 Thread Emanuel Barry
Changes by Emanuel Barry : -- nosy: +ebarry ___ Python tracker ___ ___ Python-bugs-list

[issue21243] Auto-generate exceptions.c from a Python file

2015-04-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I think I have understood your issue, but can you explain with more details. If I can develop this part, I can propose a patch for your issue. Thank you for your time -- nosy: +matrixise ___ Python tracker

[issue21243] Auto-generate exceptions.c from a Python file

2015-04-29 Thread Brett Cannon
Brett Cannon added the comment: All of the exception code is written in C. My hypothesis is that it isn't necessary to define *all* exceptions in C. Using a technique similar to importlib, I suspect we could write a bunch of the exceptions that are not critical to interpreter startup in

[issue21243] Auto-generate exceptions.c from a Python file

2014-04-15 Thread Brett Cannon
New submission from Brett Cannon: There isn't very much that's special about the various exceptions (although maybe there will be some day). Anyway, it seems like we could, if we so desired, define the exceptions in Python and then auto-generate the C code. The other option is to obviously