summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Provide a StopTokenizing exception for conveniently exiting the loop.Ka-Ping Yee2001-03-231-10/+11
|
* Explain the difference between NL and NEWLINE.Ka-Ping Yee2001-03-231-1/+4
|
* Give a slightly better explanation of excepthook.Ka-Ping Yee2001-03-231-4/+6
|
* Don't have trace() skip the top frame; return them all.Ka-Ping Yee2001-03-232-6/+7
|
* When creating an attribute node using createAttribute() orFred Drake2001-03-231-1/+2
| | | | | | createAttributeNS(), use the parallel setAttributeNode() or setAttributeNodeNS() to add the node to the document -- do not assume that setAttributeNode() will operate properly for both.
* Update to the most recent weakref changes.Fred Drake2001-03-231-11/+4
|
* Convert the weakref test suite to PyUNIT, and add tests that exercise weakFred Drake2001-03-232-260/+252
| | | | references on function objects and both bound and unbound methods.
* When the regression test is run in verbose mode, make the PyUNIT-basedFred Drake2001-03-231-1/+1
| | | | tests a little noisier, providing more progress information.
* Add support for weak references to the function and method types.Fred Drake2001-03-232-3/+13
|
* Add the necessary field for weak reference support to the function andFred Drake2001-03-232-0/+2
| | | | method types.
* Fix memory leak with SyntaxError. (The DECREF was originally hiddenGuido van Rossum2001-03-231-0/+1
| | | | | inside a piece of code that was deemed reduntant; the DECREF was unfortunately *not* redundant!)
* Add a paragraph about obmalloc turning up bugs in extension modulesAndrew M. Kuchling2001-03-231-2/+21
| | | | Mention the new ports
* Add Jeremy's compiler to the Windows install.Tim Peters2001-03-231-0/+18
|
* Add section for PEP 241Andrew M. Kuchling2001-03-231-5/+109
| | | | Add PyUnit and sys.excepthook
* Add sys.excepthook.Ka-Ping Yee2001-03-234-23/+108
| | | | | | | | Update docstring and library reference section on 'sys' module. New API PyErr_Display, just for displaying errors, called by excepthook. Uncaught exceptions now call sys.excepthook; if that fails, we fall back to calling PyErr_Display directly. Also comes with sys.__excepthook__ and sys.__displayhook__.
* Fixes for various issues reported and discovered since Python 9:Ka-Ping Yee2001-03-231-224/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor description of import errors into DocImportError.__str__. Add "docother" and "fail" methods to Doc class. Factor formatting of constants into "docother". Increase max string repr limit to 100 characters. Factor page generation into HTMLDoc.page. Handle aliasing of names (objects appearing under an attribute name different from their intrinsic __name__) by passing the attribute name into each doc* method. Handle methods at top level of modules (e.g. in random). Try to do reloading efficiently. Important fixes still to do: Module reloading is broken by the unfortunate property that failed imports leave an incomplete module in sys. Still need to think of a good solution. Can't document modules in the current directory, due to the other unfortunate property that sys.path gets '.' when you run 'python' but it gets the script directory when you run a script. Need to ponder to find a solution. The synopsis() routine does not work on .so modules. Aliases cause duplicate copies of documentation to appear. This is easy to fix, just more work. Classes appear as their intrinsic name, not their attribute name, in the class hierarchy. This should be fixed. Inherited methods should be listed in class descriptions.
* SRE 2.1b2: increase the chances that the sre test works on otherFredrik Lundh2001-03-222-14/+3
| | | | machines...
* First cut at a high-level symbol table interfaceJeremy Hylton2001-03-221-0/+258
|
* SRE 2.1b2: forgot to update one output file (sorry, Fred!)Fredrik Lundh2001-03-221-0/+8
|
* add DEF_BOUND constantJeremy Hylton2001-03-221-0/+1
|
* Strip \r as trailing whitespace as part of soft line endings.Guido van Rossum2001-03-221-1/+1
| | | | | Inspired by SF patch #408597 (Walter Dörwald): quopri, soft line breaks and CRLF. (I changed (" ", "\t", "\r") into " \t\r".)
* Update the Tix version (long overdue :-).Guido van Rossum2001-03-221-4/+4
| | | | | This is SF patch # #409044, by Internet Discovery: "Update tcl/tk/tix versions".
* Add a wrapper function for ssl() on Windows. Inspired by SF patchGuido van Rossum2001-03-221-6/+11
| | | | | | | # 409287, ssl fix when using _socketobject, by Robin Dunn. I took the opportunity to improve the way it deals with reload(socket) for the socket function as well.
* This is SF patch #405952, by Anthony Baxter:Guido van Rossum2001-03-221-5/+14
| | | | | | | | | | | | | | | cmd.py uses raw_input(); eats SIGCLD: I discovered a rather nasty side effect of the standard cmd.py library today. If it's sitting inside raw_input(), any SIGCLDs that get sent to your application get silently eaten and ignored. I'm assuming that this is something that readline is thoughtfully doing for me. This patch adds an instance attr that allows the user to select to not use raw_input(), but instead use sys.stdin.readline() [Changed slightly to catch EOFError only for raw_input().]
* A small change to the C API for weakly-referencable types: Such typesFred Drake2001-03-223-5/+8
| | | | | | | | must now initialize the extra field used by the weak-ref machinery to NULL themselves, to avoid having to require PyObject_INIT() to check if the type supports weak references and do it there. This causes less work to be done for all objects (the type object does not need to be consulted to check for the Py_TPFLAGS_HAVE_WEAKREFS bit).
* 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