summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* call_sys_exitfunc(): Remove unused variable f.Fred Drake2001-03-231-1/+1
|
* Change rfc822_escape() to ensure there's a consistent amount of whitespaceAndrew M. Kuchling2001-03-231-3/+4
| | | | | after each newline, instead of just blindly inserting a space at the start of each line. (Improvement suggested by Thomas Wouters)
* Add nested scopes spec to appendix.Jeremy Hylton2001-03-234-32/+161
| | | | | | | | | | | Add new opcodes LOAD_CLOSURE, LOAD_DEREF, STORE_DEREF, MAKE_CLOSURE to docs for dis module. Add docs for new function and code members in Sec. 3 of ref manual. They're present regardless of whether nested scopes are used. Remove description of default argument hack from Sec. 7 of the ref manual and refer the reader to the appendix.
* Remove the annoying __version__ definitions.Fred Drake2001-03-233-4/+0
|
* Lots of small changes to make this work with the Python DOM bindingsFred Drake2001-03-231-91/+95
| | | | | | | (minidom in particular); it was using PyDOM which is now obsolete. Only write the output file on success -- this avoids updating the timestamp on the file on failure, which confuses "make".
* setlocale(): In _locale-missing compatibility function, stringBarry Warsaw2001-03-231-2/+1
| | | | comparison should be done with != instead of "is not".
* Pick up the "encode" function from esistools instead of defining our ownFred Drake2001-03-231-15/+9
| | | | | | (broken) version. Remove Conversion.err_write() -- use dbgmsg() consistently.
* No quotes around the "future" in the first use of the term "futureFred Drake2001-03-231-1/+1
| | | | statement".
* Re-write to no longer depend on an old version of PyXML. This nowFred Drake2001-03-231-46/+273
| | | | | | | implements a SAX XMLReader interface instead of the old Builder interface used with PyDOM (now obsolete). This only depends on the standard library, not PyXML.
* Pick the "escape" function from the standard library instead of from PyXML.Fred Drake2001-03-231-1/+1
|
* Add conversions for more of the markup -- not all of this was around whenFred Drake2001-03-231-1/+32
| | | | this file was written!
* Add entry for the futures appendix in the reference manual.Fred Drake2001-03-231-3/+3
| | | | Correct the comment at the top of the file.
* Include the futures appendix.Fred Drake2001-03-231-0/+3
|
* Revise the markup so that this formats and uses markup consistently withFred Drake2001-03-231-28/+32
| | | | the rest of the documentation.
* Several changes for Jython portability. This closes SF patchBarry Warsaw2001-03-231-9/+18
| | | | | | | | | | | | | | | | | #403666. Specifically, In codestr, force `c' to be global. It's unclear what the semantics should be for a code object compiled at module scope, but bound and run in a function. In CPython, `c' is global (by accident?) while in Jython, `c' is local. The intent of the test clearly is to make `c' global, so let's be explicit about it. Jython also does not have a __builtins__ name in the module's namespace, so we use a more portable alternative (though I'm not sure why the test requires "__builtins__" in the g namespace). Finally, skip the new.code() test if the new module doesn't have a `code' attribute. Jython will never have this.
* flesh out __all__Jeremy Hylton2001-03-231-14/+6
| | | | | | remove debugging code in if __debug__: add get_children() method on SymbolTable
* Allow sys.excepthook and sys.exitfunc to quietly exit with a sys.exit().Ka-Ping Yee2001-03-231-32/+37
| | | | sys.exitfunc gets the last word on the exit status of the program.
* Extend isclass() to work for extension classes (by looking for __bases__).Ka-Ping Yee2001-03-231-1/+1
|
* Add some initial text for the appendix on future statements and nested scopes.Jeremy Hylton2001-03-231-0/+149
|
* Note that assignments to __debug__ are illegalJeremy Hylton2001-03-231-0/+2
|
* News items for my recent checkinsJeremy Hylton2001-03-231-0/+16
|
* Script for starting pydoc with a GUI in Windows.Ka-Ping Yee2001-03-231-0/+2
|
* Make it illegal to assign to __debug__ as per Guido's request.Jeremy Hylton2001-03-231-1/+12
|
* Browser compatibility fixes.Ka-Ping Yee2001-03-231-7/+8
| | | | Show methods aliased into a class from other classes.
* Revert to ver 1.22, which was the version before the nested scopesJeremy Hylton2001-03-231-91/+106
| | | | | docs were introduced. This loses a few small changes, but Fred says that's okay.
* Small formatting improvements.Ka-Ping Yee2001-03-231-10/+13
|
* Show inherited methods, with hyperlinks to the base class they came from.Ka-Ping Yee2001-03-231-112/+168
| | | | | | | | | | | Font adjustment to improve viewing in Windows (the default monospaced font, Courier New, seems to have no reasonable size in IE!) Improve error handling. Try very hard to distinguish between failure to find a module and failure during the module importing process. Improve reloading behaviour. (Still needs some work.) Add '.' to sys.path when running as a script at the command-line. Don't automatically assume '-g' based on the platform. We'll just have the batch file supply -g.
* Bump version number.Fred Drake2001-03-231-1/+1
|
* Revert the 1.8 patch, since it's implicated in nasty blowups (see Pyhon-Dev).Tim Peters2001-03-231-1/+1
|
* 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".)