mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
(big surprise). new solution is a little less hackish. Code gen adds a TupleArg instance in the argument slot. The tuple arg includes a copy of the names that it is responsble for binding. The PyAssembler uses this information to calculate the correct argcount. all fix this wacky case: del (a, ((b,), c)), d which is the same as: del a, b, c, d (Can't wait for Guido to tell me why.) solution uses findOp which walks a tree to find out whether it contains OP_ASSIGN or OP_DELETE or ... |
||
|---|---|---|
| .. | ||
| audiopy | ||
| bgen | ||
| compiler/compiler | ||
| faqwiz | ||
| freeze | ||
| i18n | ||
| idle | ||
| modulator | ||
| pynche | ||
| scripts | ||
| versioncheck | ||
| webchecker | ||
| world | ||
| README | ||
This directory contains a number of Python programs that are useful while building or extending Python. bgen Generate complete extension modules from a description. Still under development! faqwiz FAQ Wizard. See http://grail.cnri.reston.va.us/cgi-bin/faqw.py for a live example. freeze Create a stand-alone executable from a Python program. modulator Interactively generate boiler plate for an extension module. Works easiest if you have Tk. scripts A number of useful single-file programs, e.g. tabnanny.py (by Tim Peters), which checks for inconsistent mixing of tabs and spaces. versioncheck A tool to automate checking whether you have the latest version of a package (by Jack Jansen). webchecker A link checker for web sites.