Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Inform the cycle-detector that the a weakref object no longer needs to be | Fred Drake | 2001-03-22 | 1 | -1/+1 |
| | | | | | | tracked as soon as it is clear; this can decrease the number of roots for the cycle detector sooner rather than later in applications which hold on to weak references beyond the time of the invalidation. | ||||
* | Make cPickle use the recently-added PyInstance_NewRaw() API to create | Fred Drake | 2001-03-22 | 1 | -11/+3 |
| | | | | | instance objects without calling the constructor. This is the same as the new.instance() function. | ||||
* | Make this IDLE version 0.8. (We have to skip 0.7 because that was a | Guido van Rossum | 2001-03-22 | 1 | -1/+1 |
| | | | | | CNRI release in a corner of the basement of a government building on a planet circling Aldebaran.) | ||||
* | Don't use __debug__ as if it were some module global. Use DEBUG | Guido van Rossum | 2001-03-22 | 1 | -15/+15 |
| | | | | instead. | ||||
* | Bump the version number. | Fred Drake | 2001-03-22 | 1 | -1/+1 |
| | |||||
* | Update to the current state of the universe. | Fred Drake | 2001-03-22 | 1 | -5/+18 |
| | |||||
* | Be more clear about the specific rules for supporting the cyclic GC in an | Fred Drake | 2001-03-22 | 1 | -4/+126 |
| | | | | | | | extension object. Also included an example showing exactly what needs to be done and nothing else. This closes SF bug #228591. | ||||
* | Fix typo in history. | Thomas Wouters | 2001-03-22 | 1 | -1/+1 |
| | |||||
* | SRE 2.1b1: don't do unicode tests under 1.5.2, or on unicode | Fredrik Lundh | 2001-03-22 | 1 | -3/+8 |
| | | | | strings/patterns. | ||||
* | sre 2.1b2 update: | Fredrik Lundh | 2001-03-22 | 8 | -49/+165 |
| | | | | | | - take locale into account for word boundary anchors (#410271) - restored 2.0's *? behaviour (#233283, #408936 and others) - speed up re.sub/re.subn | ||||
* | Added news items for the Distutils | Andrew M. Kuchling | 2001-03-22 | 1 | -0/+21 |
| | |||||
* | Updated history. Incorporated 1.6.1 license. | Guido van Rossum | 2001-03-22 | 1 | -67/+76 |
| | |||||
* | Synchronize with 1.6 of PyXML: | Martin v. Löwis | 2001-03-22 | 1 | -3/+11 |
| | | | | | Retrieve relevant information at construction time, as it may be lost when the exception is printed. | ||||
* | Use the get_contact*() accessors instead of get_maintainer*() | Andrew M. Kuchling | 2001-03-22 | 1 | -2/+2 |
| | |||||
* | Set copyright to PSF. Don't bother with 2000. | Guido van Rossum | 2001-03-22 | 1 | -1/+1 |
| | |||||
* | Allow the process of reading back what we wrote to a pty to transform | Thomas Wouters | 2001-03-22 | 1 | -24/+36 |
| | | | | | linefeeds into carriagereturn-linefeeds (which is apparently what IRIX does.) Also add some comments, an extra test and reorganize it a bit. | ||||
* | Add some news for 2.1b2. I'd still like someone else to add news | Guido van Rossum | 2001-03-22 | 1 | -3/+55 |
| | | | | | | | | about these packages: - distutils - xml | ||||
* | Added Gordon McMillan. He should've been in there ages ago. Thanks | Guido van Rossum | 2001-03-22 | 1 | -0/+1 |
| | | | | Moshe for noticing! | ||||
* | Change co.detach() to co.back() call. | Guido van Rossum | 2001-03-22 | 1 | -1/+1 |
| | |||||
* | 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. |