Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Michael Hudson: With the (cool!) new call syntax, the longest opcode | Guido van Rossum | 2000-03-30 | 1 | -1/+1 |
| | | | | | name is much longer, which fouls up dis's formatting slightly; this is a "fix" for that. | ||||
* | slightly modified version of Greg Ewing's extended call syntax patch | Jeremy Hylton | 2000-03-28 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | executive summary: Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'. Some file-by-file details follow. Grammar/Grammar: simplify varargslist, replacing '*' '*' with '**' add * & ** options to arglist Include/opcode.h & Lib/dis.py: define three new opcodes CALL_FUNCTION_VAR CALL_FUNCTION_KW CALL_FUNCTION_VAR_KW Python/ceval.c: extend TypeError "keyword parameter redefined" message to include the name of the offending keyword reindent CALL_FUNCTION using four spaces add handling of sequences and dictionaries using extend calls fix function import_from to use PyErr_Format | ||||
* | Added a simple test program to disassemble a file, invoked as __main__. | Guido van Rossum | 2000-02-04 | 1 | -0/+27 |
| | |||||
* | Clarify why we define disco. Suggested by Andrew Dalke. | Guido van Rossum | 1999-05-03 | 1 | -1/+1 |
| | |||||
* | Get rid of some obsolete opcodes. | Guido van Rossum | 1998-07-07 | 1 | -5/+0 |
| | |||||
* | Added docstrings (contributed by Martin von Loewis). | Guido van Rossum | 1997-11-18 | 1 | -1/+13 |
| | |||||
* | Modernized for 1.5 | Guido van Rossum | 1997-05-09 | 1 | -5/+8 |
| | |||||
* | Support disassembly of a variety of objects through dis.dis(). | Guido van Rossum | 1997-03-14 | 1 | -0/+17 |
| | |||||
* | Of course, when the type of the argument to dis() is unsupported, it | Guido van Rossum | 1997-01-17 | 1 | -1/+1 |
| | | | | should raise TypeError, not ValueError... | ||||
* | More user friedly interface: | Guido van Rossum | 1997-01-17 | 1 | -10/+25 |
| | | | | | | | | | | | dis() still disassembles the last frame of the lats stack trace. dis(x) disassembles x, which may be a code object, function, or method. disassemble(co, [lasti]) disassembles a code object; the lasti argument is now optional. disco(...) is an alias for disassemble(...), for backward compatibility. | ||||
* | Merge several mods: | Guido van Rossum | 1997-01-16 | 1 | -2/+12 |
| | | | | | | | | - add opcodes BINARY_LSHIFT ... BINARY_OR - remove RESERVE_FAST - Skip M's suggestion for displaying which comparison operator is meant | ||||
* | Show names of locals in disco (Ka-Ping Yee) | Guido van Rossum | 1996-09-12 | 1 | -0/+6 |
| | |||||
* | Zapped obsolete opcode LOAD_GLOBALS. | Guido van Rossum | 1996-09-10 | 1 | -1/+0 |
| | |||||
* | Added BUILD_SLICE opcode. | Guido van Rossum | 1996-07-30 | 1 | -0/+1 |
| | |||||
* | New opcodes BINARY_POWER, RAISE_VARARGS, CALL_FUNCTION, MAKE_FUNCTION | Guido van Rossum | 1996-07-21 | 1 | -0/+5 |
| | |||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -1/+3 |
| | |||||
* | * string.py: added rindex(), rfind(); changed index() to interpret | Guido van Rossum | 1993-11-08 | 1 | -2/+2 |
| | | | | | | | | | | | negative start indices starting from the right. * ftplib.py: debug() -> set_debuglevel(); change demo to use __init__(). * os.py: added execl, execlp, and execvp. * lambda.py: removed (now that we have built-in map, reduce, bagof, lambda) * test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce * commands.py: use os, not posix * test_grammar.py: make it easy to disable non-portable int overflow tests * dis.py: don't abuse range() | ||||
* | Updated because of new opcodes introduced for "fast" local variables. | Guido van Rossum | 1993-03-30 | 1 | -2/+9 |
| | |||||
* | New == syntax | Guido van Rossum | 1992-01-01 | 1 | -2/+2 |
| | |||||
* | New opcodes: UNPACK_ARG, STORE_GLOBAL, DELETE_GLOBAL, LOAD_LOCAL, LOAD_GLOBAL | Guido van Rossum | 1991-12-16 | 1 | -2/+7 |
| | |||||
* | Initial revision | Guido van Rossum | 1990-12-26 | 1 | -0/+176 |