summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Inform the cycle-detector that the a weakref object no longer needs to beFred Drake2001-03-221-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 createFred Drake2001-03-221-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 aGuido van Rossum2001-03-221-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 DEBUGGuido van Rossum2001-03-221-15/+15
| | | | instead.
* Bump the version number.Fred Drake2001-03-221-1/+1
|
* Update to the current state of the universe.Fred Drake2001-03-221-5/+18
|
* Be more clear about the specific rules for supporting the cyclic GC in anFred Drake2001-03-221-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 Wouters2001-03-221-1/+1
|
* SRE 2.1b1: don't do unicode tests under 1.5.2, or on unicodeFredrik Lundh2001-03-221-3/+8
| | | | strings/patterns.
* sre 2.1b2 update:Fredrik Lundh2001-03-228-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 DistutilsAndrew M. Kuchling2001-03-221-0/+21
|
* Updated history. Incorporated 1.6.1 license.Guido van Rossum2001-03-221-67/+76
|
* Synchronize with 1.6 of PyXML:Martin v. Löwis2001-03-221-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. Kuchling2001-03-221-2/+2
|
* Set copyright to PSF. Don't bother with 2000.Guido van Rossum2001-03-221-1/+1
|
* Allow the process of reading back what we wrote to a pty to transformThomas Wouters2001-03-221-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 newsGuido van Rossum2001-03-221-3/+55
| | | | | | | | about these packages: - distutils - xml
* Added Gordon McMillan. He should've been in there ages ago. ThanksGuido van Rossum2001-03-221-0/+1
| | | | Moshe for noticing!
* Change co.detach() to co.back() call.Guido van Rossum2001-03-221-1/+1
|
* Add more complete reference. Change a co.back() call to co.tran() --Guido van Rossum2001-03-221-1/+2
| | | | that's all that's needed.
* Updated to latest PyUnit version (1.31 in PyUnit CVS); test_support.pySteve Purcell2001-03-222-256/+244
| | | | changed accordingly.
* Set the line number correctly for a nested function with an exec orJeremy Hylton2001-03-222-2/+6
| | | | import *. Mark the offending stmt rather than the function def line.
* Make error messages clearer for illegal combinations of nestedJeremy Hylton2001-03-221-15/+36
| | | | functions and import */exec.
* Remove redundant importAndrew M. Kuchling2001-03-221-1/+1
|
* Back out conversion to string methods; the Distutils is intended to workAndrew M. Kuchling2001-03-224-13/+13
| | | | with 1.5.2
* Call the write_pkg_info methodAndrew M. Kuchling2001-03-221-2/+2
|
* Add 'platforms' and 'keywords' attributes to the DistributionMetadata class,Andrew M. Kuchling2001-03-221-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 functionAndrew M. Kuchling2001-03-221-0/+10
|
* Extend support for from __future__ import nested_scopesJeremy Hylton2001-03-225-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 Hylton2001-03-224-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 bugsGuido van Rossum2001-03-223-3/+6
| | | | like the one I just fixed to come back and haunt us.
* Add CONFIG_ARGS Makefile variable (saves the arguments passedNeil Schemenauer2001-03-222-344/+353
| | | | to configure).
* - Remove WITH makefile variable. Its not used for anything.Neil Schemenauer2001-03-221-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 Rossum2001-03-221-1/+1
| | | | This fixes SF bug #410146 (python 2.1b shelve is broken).
* Changed doctest to run tests in alphabetic order of name.Tim Peters2001-03-213-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 aboutFred Drake2001-03-211-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 Hylton2001-03-213-0/+43
|
* 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.