summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding the old stack viewer implementation back, for the debugger.Guido van Rossum2000-02-151-0/+276
|
* New stack viewer, uses a tree widget.Guido van Rossum2000-02-151-230/+89
| | | | (XXX: the debugger doesn't yet use this.)
* Correct a typo and remove an unqualified except that was hiding the error.Guido van Rossum2000-02-151-2/+2
|
* Add an XXX comment about the ClassBrowser AIP.Guido van Rossum2000-02-151-0/+2
|
* Updated change log.Guido van Rossum2000-02-151-0/+434
|
* News update. Probably incomplete; what else is new?Guido van Rossum2000-02-151-0/+27
|
* Updated for pending IDLE 0.5 release (still very rough -- just gettingGuido van Rossum2000-02-151-5/+5
| | | | it out in a more convenient format than CVS).
* Tiny addition.Guido van Rossum2000-02-151-1/+1
|
* In response to one particular complaint on edu-sig, change some errorGuido van Rossum2000-02-151-3/+3
| | | | | | messages from "OverflowError: integer pow()" to "OverflowError: integer exponentiation". (Not that this takes care of the complaint in general that the error messages could be greatly improved. :-)
* edit a doc stringJeremy Hylton2000-02-142-2/+12
| | | | (real intent is to test out rsync install)
* Make multiplying a sequence by a long integer (5L * 'b') legalAndrew M. Kuchling2000-02-141-2/+13
|
* get rid of spurious printJeremy Hylton2000-02-142-2/+0
|
* Patch by Gerrit Holl:Guido van Rossum2000-02-142-4/+4
| | | | * In crlf.py and lfcr.py: regsub -> re
* Patch by Gerrit Holl:Guido van Rossum2000-02-141-2/+6
| | | | | | * In logmerge.py: added '-r' flag to show the oldest checkin first instead of the newest, and getopt.getopt was used wrong.
* looks like everything is working except for try/except (pystoneJeremy Hylton2000-02-142-12/+28
| | | | compiles correctly)
* LeftShift & RightShift: fix reprs, change attr names to left and rightJeremy Hylton2000-02-142-20/+20
| | | | (so they are common with other binary ops)
* Fix the question marks next to the expansions of some of theFred Drake2000-02-141-2/+2
| | | | | colorspace name abbreviations, based on email from Gerrit Holl <gerrit.holl@pobox.com>.
* rename several of the generic attribute names for nodes. new node attrs are:Jeremy Hylton2000-02-142-24/+24
| | | | | | Exec: expr, locals, globals Dict: items Assert: test, fail
* (), [], and {} should not be represented as constant expressions, theyJeremy Hylton2000-02-142-6/+6
| | | | should be calls to BUILD_ ops for these types with no arguments
* Patch by Jack Jansen:Guido van Rossum2000-02-141-0/+12
| | | | | | If we attempt to import a dynamic module in a newer (or older) version of Python give an error message tailored to the situation (Python too new/old).
* split compile.py into two filesJeremy Hylton2000-02-144-1072/+1246
| | | | | add StackDepthFinder (and remove push/pop from CodeGen) add several nodes, including Ellipsis, Bit&|^, Exec
* change MODULE_NAMESPACE/FUNCTION_NAMESPACE stuff to have a single flagJeremy Hylton2000-02-122-68/+174
| | | | | | | | | | | | | | | | | named OPTIMIZED, which matches compile.c and makes more sense for classes revamp call signature for PythonVMCode.__init__; doesn't really matter 'cuz this code is going to be refactored out of existence add generateClassCode and modify Func & Lambda generation add support for nodes Classdef, Keyword, fix CallFunc to generate right op arg when calling w/ keywords add ugly hack to properly compute offsets when the same stack ref is used multiple times
* And added a note about needing two "cvs update"s.Jack Jansen2000-02-111-0/+6
|
* Explained that you have to checkout the Mac portion of Python in a separateJack Jansen2000-02-111-3/+24
| | | | folder and then move it to the Python hierarchy.
* add support for Lambda nodesJeremy Hylton2000-02-112-16/+56
| | | | | | | change resolution of local name ops (LOAD_FAST). i think it makes sense now. if it is an argument or a local var name that it used, it must be in varnames. if it is a local var name that is used, it must also be in names
* Ditched '_find_SET()', since it was a no-value-added wrapper aroundGreg Ward2000-02-111-23/+14
| | | | | | | | 'get_msvc_paths()'. Renamed '_do_SET()' to 'set_path_env_var()', tweaked docstring, and cosmetically tweaked code. Stylistic changes to MSVCCompiler constructor (variable renaming and type consistency).
* Latest patch from Thomas Heller/Robin Becker:Greg Ward2000-02-111-47/+68
| | | | | | | | | | * tweak my docstrings * fix None returns to empty list * reshuffle responsibilities between '_find_exe()', '_find_SET()', and the MSVCCompiler constructor -- now the constructor worries about fetching the version list and determining the most recent one * added "/W3" compile option Also, I added/tweaked some docstrings.
* add loop handling viaJeremy Hylton2000-02-102-26/+126
| | | | | | | Loop object to handle StackRegs loops stack attr on CodeGenreeator to hold the current loop object add support for nodes While, Break, Continue
* add an __len__ to Set and StackJeremy Hylton2000-02-102-0/+8
|
* Document the API changes to the nntplib module (exceptions becomeBarry Warsaw2000-02-101-14/+40
| | | | | classes, NNTP.__init__() grows a new optional argument to set reader mode on the server).
* Added new exception classes:Barry Warsaw2000-02-101-28/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | NNTPError - derived from Exception, it's the base class for all other exceptions in this module NNTPReplyError - what used to be error_reply NNTPTemporaryError - what used to be error_temp NNTPPermanentError - what used to be error_perm NNTPProtocolError - what used to be error_proto NNTPDataError - what used to be error_data All the old names are retained for backwards compatibility; they point to the class that replaces them. Also, any code in this module that raises an exception, now does so with the exception class. NNTP.__init__(): Added a new optional argument `readermode', which is a flag that defaults to false. When set to true, the "mode reader" command is sent to the NNTP server before user authentication. Reader mode is sometimes necessary if you are connecting to an NNTP server on the local machine and intend to call reader-specific comamnds, such as `group'. If you get unexpected NNTPPermanentErrors, you might need to set readermode. Patch provided by Thomas Wouters (who include the standard disclaimer on is patches@python.org submission), and inspired by Jim Tittsler.
* Enable -t when compiling Python library modules in libinstall (.pycFred Drake2000-02-101-2/+2
| | | | | | | | version only). Enable -tt for the regression test. Very similar to Skip's patch.
* add namespace attr to CodeGenerator, can be either MODULE_NAMESPACE orJeremy Hylton2000-02-102-44/+70
| | | | | | | | | | | FUNCTION_NAMESPACE. initialize in __init__ and reset in generateFunctionCode. replace direct issue of STORE_FAST, STORE_GLOBAL, etc. with call to storeName; same for loadName and deleteName the new {store,load,delete}Name methods use the namespace attr and the local variable stack to determine the correct bytecode to issue
* Untabify to pass the -tt test.Fred Drake2000-02-108-807/+807
|
* Detabify.Fred Drake2000-02-101-28/+28
| | | | I ran "expand" instead of using Skip's patch, but it's all the same.
* In AskYesNoCancel() treat the "yes" and "no" buttons the same way as the cancelJack Jansen2000-02-101-4/+10
| | | | button (i.e. an empty label hides the button).
* Make this pass the -tt test.Fred Drake2000-02-101-8/+8
|
* Stylistic changes to the registry-grovelling code: code formatting, changedGreg Ward2000-02-101-23/+51
| | | | function names, dbetter (hopefully) ocstrings, and comments.
* Typecheck 'output_dir' argument to compile/link methods.Greg Ward2000-02-101-0/+6
|
* Path from Thomas Heller: resurrect the .def file kludge while preserving theGreg Ward2000-02-101-2/+14
| | | | /export option mini-kludge.
* Patch from Thomas heller:Greg Ward2000-02-101-11/+33
| | | | | | | * don't need to mention python<ver>.lib -- it's done by a pragma * add debug flags for compile and link, and use them * fix 'link_shared_library()' to pass everything to 'link_shared_object()' * change filename when shared object with debug info (ugh)
* add ExampleASTVisitor:Jeremy Hylton2000-02-102-110/+398
| | | | | | | | | | | | | | | | | | | | | | * prints out examples of nodes that are handled by visitor. simply a development convenience remove NestedCodeGenerator -- it was bogus after all replace with generateFunctionCode, a method to call to generate code for a function instead of a top-level module fix impl of visitDiscard (most pop stack) emit lineno for pass handle the following new node types: Import, From, Getattr, Subscript, Slice, AssAttr, AssTuple, Mod, Not, And, Or, List LocalNameFinder: remove names declared as globals for locals PythonVMCode: pass arg names to constructor, force varnames to contain them all (even if they aren't referenced) add -q option on command line to disable stdout
* add remove method to setJeremy Hylton2000-02-102-0/+4
|
* Added 'debug' option, and changed compile/link calls to use it.Greg Ward2000-02-093-10/+30
|
* Added 'debug' option (just there for 'build_ext' and 'build_lib' commandsGreg Ward2000-02-091-0/+3
| | | | to fallback to if the user doesn't set it for those commands.
* Added 'debug' flags to compile and link methods, and added dummy code forGreg Ward2000-02-091-3/+13
| | | | | | someone who knows Windows/MSVC++ to come along and add the right flags. Comment noting that 'link_static_lib()' signature is inconsistent with the other compiler classes (uh-oh!)
* Added 'debug' flags to compile and link methods, and modified code to addGreg Ward2000-02-091-1/+13
| | | | '-g' flag to compiler/linker command lines when it's true.
* Added 'debug' flag to compile and link method signatures.Greg Ward2000-02-091-23/+43
| | | | | Doc fix: several paragraphs under 'link_static_lib()' moved to 'link_shared_lib()', where they belong.
* add optional verbose arg to walk function. it overrides the globalJeremy Hylton2000-02-082-58/+274
| | | | | | | | | | | | | | | | VERBOSE setting for the ASTVisitor add getopt handling for one or more -v args rename ForwardRef to StackRef, because it isn't necessarily directional CodeGenerator: * add assertStackEmpty method. prints warning if stack is not empty when it should be * define methods for AssName, UNARY_*, For PythonVMCode: * fix mix up between hasjrel and hasjabs for address calculation
* make all unary operators have a single child node called exprJeremy Hylton2000-02-082-8/+8
|