Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not print caret when offset is None. | Jeremy Hylton | 2001-03-21 | 1 | -7/+8 |
| | |||||
* | Make PyDict_Next safe to use for loops that merely modify the values | Tim Peters | 2001-03-21 | 1 | -8/+32 |
| | | | | | | associated with existing dict keys. This is a variant of part of Michael Hudson's patch #409864 "lazy fix for Pings bizarre scoping crash". | ||||
* | Use PyObject_IsInstance() to check whether the first argument to an | Guido van Rossum | 2001-03-21 | 1 | -13/+19 |
| | | | | | unbound method is of the right type. Hopefully this solves SF patch #409355 (Meta-class inheritance problem); I have no easy way to test. | ||||
* | Reformat and edit docstrings to follow modern conventions. Single | Jeremy Hylton | 2001-03-21 | 1 | -50/+68 |
| | | | | line summary followed by blank line and description. | ||||
* | Update PyNode_CompileSymtable() to understand future statements | Jeremy Hylton | 2001-03-21 | 1 | -9/+15 |
| | |||||
* | Move the code implementing isinstance() and issubclass() to new C | Guido van Rossum | 2001-03-21 | 3 | -96/+125 |
| | | | | | APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both returning an int, or -1 for errors. | ||||
* | Add test cases for the fnmatch module. | Fred Drake | 2001-03-21 | 2 | -0/+43 |
| | |||||
* | Just import sys at the top instead of inside lots of functions. | Fred Drake | 2001-03-21 | 1 | -3/+35 |
| | | | | Add some helpers for supporting PyUNIT-based unit testing. | ||||
* | The unittest module from PyUNIT, by Steve Purcell. | Fred Drake | 2001-03-21 | 1 | -0/+689 |
| | |||||
* | Donovan Baarda <abo@users.sourceforge.net>: | Fred Drake | 2001-03-21 | 1 | -9/+5 |
| | | | | | | Patch to make "\" in a character group work properly. This closes SF bug #409651. | ||||
* | Fixed a bunch of Tabnanny errors | Moshe Zadka | 2001-03-21 | 1 | -590/+590 |
| | |||||
* | Add tests for recent changes: | Jeremy Hylton | 2001-03-21 | 2 | -0/+32 |
| | | | | | - global stmt in class does not affect free vars in methods - locals() works with free and cell vars | ||||
* | Fix PyFrame_FastToLocals() and counterpart to deal with cells and | Jeremy Hylton | 2001-03-21 | 3 | -75/+182 |
| | | | | | | | | | | | | | | frees. Note there doesn't seem to be any way to test LocalsToFast(), because the instructions that trigger it are illegal in nested scopes with free variables. Fix allocation strategy for cells that are also formal parameters. Instead of emitting LOAD_FAST / STORE_DEREF pairs for each parameter, have the argument handling code in eval_code2() do the right thing. A side-effect of this change is that cell variables that are also arguments are listed at the front of co_cellvars in the order they appear in the argument list. | ||||
* | Use proper compiler flags on UnixWare. | Martin v. Löwis | 2001-03-21 | 2 | -203/+225 |
| | | | | Closes bug #231439. | ||||
* | Add newline to end of file. | Guido van Rossum | 2001-03-21 | 1 | -1/+1 |
| | |||||
* | Document tix directory. | Martin v. Löwis | 2001-03-21 | 1 | -0/+2 |
| | |||||
* | Add section on 2.1b2. | Martin v. Löwis | 2001-03-21 | 1 | -0/+11 |
| | | | | Report the addition of the Tix module. | ||||
* | Remove Tix detection from Tkinter part; lib-tk/Tix attempts to load Tix | Martin v. Löwis | 2001-03-21 | 1 | -15/+1 |
| | | | | | by requiring it. Also remove commentary from Setup.dist about commenting in and out stuff. | ||||
* | Patch #410231: Add the Python Tix library. | Martin v. Löwis | 2001-03-21 | 38 | -0/+3794 |
| | |||||
* | Patch #409504: Fix regex problems, consider \-continuation lines in Makefile | Martin v. Löwis | 2001-03-21 | 2 | -2/+15 |
| | | | | and Setup. | ||||
* | Update Windows installer for 2.1b2. | Tim Peters | 2001-03-21 | 3 | -4/+6 |
| | |||||
* | Addrf simple test that import is case-sensitive. | Tim Peters | 2001-03-21 | 1 | -1/+10 |
| | |||||
* | Started on 2.1b2 release notes. Cleaned out alfa notes, etc. | Jack Jansen | 2001-03-20 | 1 | -20/+11 |
| | |||||
* | Added dummy _tkinter module for Carbon, which explains that Tkinter isnt ↵ | Jack Jansen | 2001-03-20 | 1 | -1/+1 |
| | | | | supported under Carbon. | ||||
* | Dummy _tkinter module for Carbon, which explains that Tkinter isnt supported ↵ | Jack Jansen | 2001-03-20 | 3 | -0/+29 |
| | | | | under Carbon. | ||||
* | Moved the description of the tzparse module to the "Obsolete" section | Fred Drake | 2001-03-20 | 1 | -4/+5 |
| | | | | | | and note that it fails when the TZ environment variable is not set. This closes SF bug #409683. | ||||
* | Case-checking was broken on the Macintosh. Fixed. | Jack Jansen | 2001-03-20 | 1 | -3/+2 |
| | |||||
* | Got module to work under Carbon. Also disabled a few more bits of cfm68k ↵ | Jack Jansen | 2001-03-20 | 1 | -12/+21 |
| | | | | support. | ||||
* | Added riscos modules to modules that don't have to be included. | Jack Jansen | 2001-03-20 | 1 | -1/+3 |
| | |||||
* | Lawrence Hudson, SF #401702: Modify co_filename in frozen programs | Guido van Rossum | 2001-03-20 | 2 | -3/+42 |
| | | | | | | | | | | | | | | | This patch was developed primarily to reduce the size of the frozen binary. It is particularly useful when freezing for 'small' platforms, such as Palm OS, where you really want to save that last miserable byte. A limitation of this patch is that it does not provide any feedback about the replacements being made. As the path matching is case-sensitive this may lead to unexpected behaviour for DOS and Windows people, eg > freeze.py -r C:\Python\Lib\=py\ goats.py should probably be: > freeze.py -r c:\python\lib\=py\ goats.py | ||||
* | Bump version to 2.1b2. | Guido van Rossum | 2001-03-20 | 1 | -3/+3 |
| | |||||
* | Add a deprecation warning to this module. | Guido van Rossum | 2001-03-20 | 1 | -0/+5 |
| | | | | | Importing it typically fails anyway (no TZ variable defined), so this is no great loss. | ||||
* | Bug #409419: delete seek() and tell() methods, so callers can use getattr() | Andrew M. Kuchling | 2001-03-20 | 1 | -6/+0 |
| | | | | | to check for them (instead of calling them and then ignoring an IOError) | ||||
* | * Fixing the password-proxy bug | Moshe Zadka | 2001-03-20 | 1 | -7/+8 |
| | | | | * Not sending content-type and content-length twice | ||||
* | Get rid of --with-check-import-case. (Jason Tishler, SF #409924) | Guido van Rossum | 2001-03-20 | 4 | -383/+343 |
| | |||||
* | SF patch #408326 by Robin Thomas: slice objects comparable, not | Guido van Rossum | 2001-03-20 | 1 | -3/+23 |
| | | | | | | | | | | | | | | | | | | hashable This patch changes the behavior of slice objects in the following manner: - Slice objects are now comparable with other slice objects as though they were logically tuples of (start,stop,step). The tuple is not created in the comparison function, but the comparison behavior is logically equivalent. - Slice objects are not hashable. With the above change to being comparable, slice objects now cannot be used as keys in dictionaries. [I've edited the patch for style. Note that this fixes the problem that dict[i:j] seemed to work but was meaningless. --GvR] | ||||
* | SF patch 407758, "timemodule patches for Cygwin", from Norman Vine. | Tim Peters | 2001-03-20 | 1 | -0/+7 |
| | | | | http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470 | ||||
* | Fixup handling of free variables in methods when the class scope also | Jeremy Hylton | 2001-03-20 | 1 | -3/+12 |
| | | | | | | | | | | has a binding for the name. The fix is in two places: - in symtable_update_free_vars, ignore a global stmt in a class scope - in symtable_load_symbols, add extra handling for names that are defined at class scope and free in a method Closes SF bug 407800 | ||||
* | Add test for a list comprehension that is nested in the left-hand part | Jeremy Hylton | 2001-03-19 | 2 | -0/+6 |
| | | | | | | | | | of another list comp. This caused crashes reported as SF bugs 409230 and 407800. Note that the new tests are in a function so that the name lookup code isn't affected by how many *other* list comprehensions are in the same scope. | ||||
* | Fix crashes in nested list comprehensions | Jeremy Hylton | 2001-03-19 | 1 | -8/+10 |
| | | | | | | SF bugs 409230 and 407800 Also remove bogus list comp code from symtable_assign(). | ||||
* | When building the installer, prompt for the location of the system directory | Tim Peters | 2001-03-19 | 1 | -3/+5 |
| | | | | | on the current machine. Wise doesn't seem to know this itself, and it varies across Windows flavors. | ||||
* | Add a whole lot of stuff to __all__. | Guido van Rossum | 2001-03-19 | 1 | -3/+6 |
| | | | | | (Excluding the logging stuff, which doesn't lend itself to use via "from cgi import *" -- it manipulates globals.) | ||||
* | Markup nit: For the Python documents, we use \empt instead of \textit. | Fred Drake | 2001-03-19 | 1 | -1/+1 |
| | |||||
* | Repair test_doctest's expected-output file (Guido added some new output). | Tim Peters | 2001-03-18 | 1 | -0/+2 |
| | |||||
* | add errorTab to __all__ on win* | Skip Montanaro | 2001-03-18 | 1 | -0/+1 |
| | | | | closes bug #406642 | ||||
* | Committing patch 405101 | Moshe Zadka | 2001-03-18 | 1 | -0/+27 |
| | |||||
* | Make doctest's self-test succeed after the previous change. | Guido van Rossum | 2001-03-18 | 1 | -0/+2 |
| | |||||
* | Print a bunch of asterisks before the failure summary, to separate it | Guido van Rossum | 2001-03-18 | 1 | -0/+1 |
| | | | | from the last failure report. | ||||
* | Teach Tools/freeze/makeconfig.py and Tools/freeze/parsesetup.py to use | Eric S. Raymond | 2001-03-18 | 2 | -10/+12 |
| | | | | the re package rather than the obsolete regex. | ||||
* | SF bug [ #409448 ] Complex division is braindead | Tim Peters | 2001-03-18 | 3 | -8/+124 |
| | | | | | | http://sourceforge.net/tracker/?func=detail&aid=409448&group_id=5470&atid=105470 Now less braindead. Also added test_complex.py, which doesn't test much, but fails without this patch. |