summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Renamed all command classes so they're exactly the same as the name of theGreg Ward2000-02-1810-10/+10
| | | | | command itself: no more of this "FooBar class for foo_bar command" silliness.
* Changed 'dist' to 'sdist'.Greg Ward2000-02-181-1/+1
|
* The 'sdist' command to create a source distribution. This is derived from theGreg Ward2000-02-171-0/+716
| | | | | | old 'dist' command, but the code for dealing with manifests is completely redone -- and renaming the command to 'sdist' is more symmetric with the soon-to-exist 'bdist' command.
* The 'dist' command is dead -- long live the 'sdist' command!Greg Ward2000-02-171-558/+0
|
* changes to _lookupNameJeremy Hylton2000-02-172-28/+26
| | | | | | - removed now (happily) unused second arg - need to verify results of [].index are correct; for building consts, need to have same value and same type, e.g. 2 not the same as 2L
* the previous quick hack to fix def foo((x,y)) failed on some casesJeremy Hylton2000-02-174-32/+96
| | | | | | | | | | | | | | | (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 ...
* add varargs and kwargs flags to Lambda nodesJeremy Hylton2000-02-172-0/+10
|
* satisfy the tabnannyJeremy Hylton2000-02-172-394/+398
| | | | fix broken references to filename var in generateXXX methods
* Update the description of int() to include the radix parameter;Fred Drake2000-02-171-12/+16
| | | | | | | omission noted on c.l.py by Aahz Maruch. Swapped the order of the descriptions of int() and intern() so that int() comes first (the functions are in alphabetic order).
* Typo in a comment: "wheter" --> "whether"Fred Drake2000-02-171-1/+1
|
* Patches by Piers Lauder.Guido van Rossum2000-02-171-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasons for patches: 1st patch (15,21): version change 2nd patch (66,72): This is a patch I found in a Zope product release (quite by accident!). It relaxes the conditions for matching a literal. I've looked over the logic, and tested it, and it seems sensible. 3rd patch (117,123): It appears the quoting matcher was too general, and that the IMAP4 protocol requires characters like ':' in commands to be unquoted. (This is the patch already sent to Guido.) 4th patch (699,705): Spelling correction in comment. 5th patch (753,761): Another patch from the Zope product. It seems that some IMAP4 servers produce unexpected responses in the middle of valid command/response sequences. This patch ignores the unexpected responses in this situation. (How I wish users would send me bug reports with examples!). last 2 patches: (1015,1028) (1038,1044): Minor improvements to test code.
* Add primitive customization of window size and font.Guido van Rossum2000-02-171-3/+19
| | | | A few alternative selections can be made by changing "if 0" to "if 1".
* Patch by Mark Hammond:Guido van Rossum2000-02-171-15/+75
| | | | | | | | | | * Changes to a recent patch by Chris Tismer to errors.c. Chris' patch always used FormatMessage() to get the error message passing the error code from errno - but errno and FormatMessage use a different numbering scheme. The main reason the patch looked OK was that ENOFILE==ERROR_FILE_NOT_FOUND - but that is about the only shared error code :-). The MS CRT docs tell you to use _sys_errlist()/_sys_nerr. My patch does also this, and adds a very similar function specifically for win32 error codes.
* Changes by Mark Hammond related to the new WindowsError exception.Guido van Rossum2000-02-171-0/+6
|
* Declarations related to new WindowsError exception.Guido van Rossum2000-02-171-0/+7
|
* Added WindowsError, for Mark Hammond's extensions.Guido van Rossum2000-02-171-0/+6
|
* Added docs for new crc32() function. By Jim Ahlstrom.Guido van Rossum2000-02-161-0/+12
| | | | (Fred, please check.)
* Added test for new crc32() function.Guido van Rossum2000-02-161-0/+6
|
* 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
|