summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not print caret when offset is None.Jeremy Hylton2001-03-211-7/+8
|
* Make PyDict_Next safe to use for loops that merely modify the valuesTim Peters2001-03-211-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 anGuido van Rossum2001-03-211-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. SingleJeremy Hylton2001-03-211-50/+68
| | | | line summary followed by blank line and description.
* Update PyNode_CompileSymtable() to understand future statementsJeremy Hylton2001-03-211-9/+15
|
* Move the code implementing isinstance() and issubclass() to new CGuido van Rossum2001-03-213-96/+125
| | | | | APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both returning an int, or -1 for errors.
* Add test cases for the fnmatch module.Fred Drake2001-03-212-0/+43
|
* Just import sys at the top instead of inside lots of functions.Fred Drake2001-03-211-3/+35
| | | | Add some helpers for supporting PyUNIT-based unit testing.
* The unittest module from PyUNIT, by Steve Purcell.Fred Drake2001-03-211-0/+689
|
* Donovan Baarda <abo@users.sourceforge.net>:Fred Drake2001-03-211-9/+5
| | | | | | Patch to make "\" in a character group work properly. This closes SF bug #409651.
* Fixed a bunch of Tabnanny errorsMoshe Zadka2001-03-211-590/+590
|
* Add tests for recent changes:Jeremy Hylton2001-03-212-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 andJeremy Hylton2001-03-213-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öwis2001-03-212-203/+225
| | | | Closes bug #231439.
* Add newline to end of file.Guido van Rossum2001-03-211-1/+1
|
* Document tix directory.Martin v. Löwis2001-03-211-0/+2
|
* Add section on 2.1b2.Martin v. Löwis2001-03-211-0/+11
| | | | Report the addition of the Tix module.
* Remove Tix detection from Tkinter part; lib-tk/Tix attempts to load TixMartin v. Löwis2001-03-211-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öwis2001-03-2138-0/+3794
|
* Patch #409504: Fix regex problems, consider \-continuation lines in MakefileMartin v. Löwis2001-03-212-2/+15
| | | | and Setup.
* Update Windows installer for 2.1b2.Tim Peters2001-03-213-4/+6
|
* Addrf simple test that import is case-sensitive.Tim Peters2001-03-211-1/+10
|
* Started on 2.1b2 release notes. Cleaned out alfa notes, etc.Jack Jansen2001-03-201-20/+11
|
* Added dummy _tkinter module for Carbon, which explains that Tkinter isnt ↵Jack Jansen2001-03-201-1/+1
| | | | supported under Carbon.
* Dummy _tkinter module for Carbon, which explains that Tkinter isnt supported ↵Jack Jansen2001-03-203-0/+29
| | | | under Carbon.
* Moved the description of the tzparse module to the "Obsolete" sectionFred Drake2001-03-201-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 Jansen2001-03-201-3/+2
|
* Got module to work under Carbon. Also disabled a few more bits of cfm68k ↵Jack Jansen2001-03-201-12/+21
| | | | support.
* Added riscos modules to modules that don't have to be included.Jack Jansen2001-03-201-1/+3
|
* Lawrence Hudson, SF #401702: Modify co_filename in frozen programsGuido van Rossum2001-03-202-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 Rossum2001-03-201-3/+3
|
* Add a deprecation warning to this module.Guido van Rossum2001-03-201-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. Kuchling2001-03-201-6/+0
| | | | | to check for them (instead of calling them and then ignoring an IOError)
* * Fixing the password-proxy bugMoshe Zadka2001-03-201-7/+8
| | | | * Not sending content-type and content-length twice
* Get rid of --with-check-import-case. (Jason Tishler, SF #409924)Guido van Rossum2001-03-204-383/+343
|
* SF patch #408326 by Robin Thomas: slice objects comparable, notGuido van Rossum2001-03-201-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 Peters2001-03-201-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 alsoJeremy Hylton2001-03-201-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 partJeremy Hylton2001-03-192-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 comprehensionsJeremy Hylton2001-03-191-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 directoryTim Peters2001-03-191-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 Rossum2001-03-191-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 Drake2001-03-191-1/+1
|
* Repair test_doctest's expected-output file (Guido added some new output).Tim Peters2001-03-181-0/+2
|
* add errorTab to __all__ on win*Skip Montanaro2001-03-181-0/+1
| | | | closes bug #406642
* Committing patch 405101Moshe Zadka2001-03-181-0/+27
|
* Make doctest's self-test succeed after the previous change.Guido van Rossum2001-03-181-0/+2
|
* Print a bunch of asterisks before the failure summary, to separate itGuido van Rossum2001-03-181-0/+1
| | | | from the last failure report.
* Teach Tools/freeze/makeconfig.py and Tools/freeze/parsesetup.py to useEric S. Raymond2001-03-182-10/+12
| | | | the re package rather than the obsolete regex.
* SF bug [ #409448 ] Complex division is braindeadTim Peters2001-03-183-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.