Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more complete reference. Change a co.back() call to co.tran() -- | Guido van Rossum | 2001-03-22 | 1 | -1/+2 |
| | | | | that's all that's needed. | ||||
* | Updated to latest PyUnit version (1.31 in PyUnit CVS); test_support.py | Steve Purcell | 2001-03-22 | 2 | -256/+244 |
| | | | | changed accordingly. | ||||
* | Set the line number correctly for a nested function with an exec or | Jeremy Hylton | 2001-03-22 | 2 | -2/+6 |
| | | | | import *. Mark the offending stmt rather than the function def line. | ||||
* | Make error messages clearer for illegal combinations of nested | Jeremy Hylton | 2001-03-22 | 1 | -15/+36 |
| | | | | functions and import */exec. | ||||
* | Remove redundant import | Andrew M. Kuchling | 2001-03-22 | 1 | -1/+1 |
| | |||||
* | Back out conversion to string methods; the Distutils is intended to work | Andrew M. Kuchling | 2001-03-22 | 4 | -13/+13 |
| | | | | with 1.5.2 | ||||
* | Call the write_pkg_info method | Andrew M. Kuchling | 2001-03-22 | 1 | -2/+2 |
| | |||||
* | Add 'platforms' and 'keywords' attributes to the DistributionMetadata class, | Andrew M. Kuchling | 2001-03-22 | 1 | -5/+70 |
| | | | | | | | | along with options to print them. Add a finalize_options() method to Distribution to do final processing on the platform and keyword attributes Add DistributionMetadata.write_pkg_info() method to write a PKG-INFO file into the release tree. | ||||
* | Patch #407434: add rfc822_escape utility function | Andrew M. Kuchling | 2001-03-22 | 1 | -0/+10 |
| | |||||
* | Extend support for from __future__ import nested_scopes | Jeremy Hylton | 2001-03-22 | 5 | -19/+133 |
| | | | | | | | | | | | | | | | | | | | If a module has a future statement enabling nested scopes, they are also enable for the exec statement and the functions compile() and execfile() if they occur in the module. If Python is run with the -i option, which enters interactive mode after executing a script, and the script it runs enables nested scopes, they are also enabled in interactive mode. XXX The use of -i with -c "from __future__ import nested_scopes" is not supported. What's the point? To support these changes, many function variants have been added to pythonrun.c. All the variants names end with Flags and they take an extra PyCompilerFlags * argument. It is possible that this complexity will be eliminated in a future version of the interpreter in which nested scopes are not optional. | ||||
* | If a code object is compiled with nested scopes, define the CO_NESTED flag. | Jeremy Hylton | 2001-03-22 | 4 | -1/+13 |
| | | | | | Add PyEval_GetNestedScopes() which returns a non-zero value if the code for the current interpreter frame has CO_NESTED defined. | ||||
* | Check that f.keys() == [] right after creation -- this prevents bugs | Guido van Rossum | 2001-03-22 | 3 | -3/+6 |
| | | | | like the one I just fixed to come back and haunt us. | ||||
* | Add CONFIG_ARGS Makefile variable (saves the arguments passed | Neil Schemenauer | 2001-03-22 | 2 | -344/+353 |
| | | | | to configure). | ||||
* | - Remove WITH makefile variable. Its not used for anything. | Neil Schemenauer | 2001-03-22 | 1 | -13/+4 |
| | | | | | | - Add CONFIG_ARGS variable and use it to re-run configure rather than using config.status. This prevents an infinite loop if configure dies while re-configuring. | ||||
* | Don't raise MemoryError in keys() when the database is empty. | Guido van Rossum | 2001-03-22 | 1 | -1/+1 |
| | | | | This fixes SF bug #410146 (python 2.1b shelve is broken). | ||||
* | Changed doctest to run tests in alphabetic order of name. | Tim Peters | 2001-03-21 | 3 | -98/+108 |
| | | | | | | This makes verbose-mode output easier to dig thru, and removes an accidental dependence on the order of dict.items() (made visible by recent changes to dictobject.c). | ||||
* | Integrated an expanded version of some text from Neil Schemenauer about | Fred Drake | 2001-03-21 | 1 | -3/+85 |
| | | | | | | | supporting cyclic garbage collection. (This is not all of it, but I'm taking a break!) Also fixed some markup nits. | ||||
* | Test that traceback module works with SyntaxErrors with or without carets. | Jeremy Hylton | 2001-03-21 | 3 | -0/+43 |
| | |||||
* | 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. |