summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch by Jim Ahlstrom to add crc32, a useful checksum functionGuido van Rossum2000-02-161-0/+141
| | | | | | | | | | | (e.g. used for ZIP files). The patch includes code that says: + Copyright (C) 1986 Gary S. Brown. You may use this program, or + code or tables extracted from it, as desired without restriction. My interpretation (and Jim's) is that Gary S Brown has no claims under copyright, patent or other rights or interests. Lawyers might disagree.
* The 0.5 release happened on 2/15, not on 2/14. :-)Guido van Rossum2000-02-161-1/+1
|
* support for arglists with implicit tuple unpacksJeremy Hylton2000-02-162-30/+122
| | | | | | | | | | | | | | - added a number of support methods to generate code just before the body - hack protocol for communicating number of args to PyAssembler fix TryExcept generation for case where exception handler has no body fix visitAssAttr add comment about incomplete visitAssName stop using the ExampleASTVisitor change script invocation to accept a list of .py files (e.g. Lib/*.py)
* more robust assignment of lineno for keyword argsJeremy Hylton2000-02-162-6/+6
| | | | | | | | get the lineno from the name of the keyword arg example of case that didn't work-- def foo(x, y, a = None, b = None):
* fix argcount generation for arg lists containing tuple unpacksJeremy Hylton2000-02-162-4/+26
| | | | this is sort of a hack
* add flatten helper functionJeremy Hylton2000-02-162-0/+22
|
* finish first impl of code generatorJeremy Hylton2000-02-152-24/+140
| | | | | add support for nodes TryExcept, TryFinally, Sliceobj fix visitSubscript to properly handle x[a,b,c]
* fix creation of Ellipsis nodeJeremy Hylton2000-02-152-2/+2
|
* add a little debugging support when new.code raises SystemErrorJeremy Hylton2000-02-152-10/+42
|
* no real change -- testing syncmailJeremy Hylton2000-02-151-1/+1
|
* add line numbers to nodes in the except clause (when possible)Jeremy Hylton2000-02-152-2/+6
|
* tidy up tryexcept and tryfinally nodesJeremy Hylton2000-02-152-28/+40
|
* A bit restructured.Guido van Rossum2000-02-151-15/+40
|
* Oops, somehow the initial checkin was botched. :-(Guido van Rossum2000-02-151-0/+336
|
* Added some clarifications.Guido van Rossum2000-02-151-4/+8
|
* Temporarily add a copy here for easy distribution.Guido van Rossum2000-02-151-0/+0
|
* More changes.Guido van Rossum2000-02-151-1/+20
|
* Notice status back and stack viewer.Guido van Rossum2000-02-151-0/+5
|
* Support for Moshe's status bar.Guido van Rossum2000-02-151-2/+20
|
* Status bar code -- by Moshe Zadka.Guido van Rossum2000-02-151-0/+32
|
* 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).