Commits

Show all
Author Commit Message Labels Comments Date
cvs2svn
This commit was manufactured by cvs2svn to create tag 'r21b2'.
Tags
v2.1b2
Branches
legacy-trunk
Barry Warsaw
main(): Application of SF patch #405851, which allows this test to be used by Jython. The tests in this module expect C locale, so be explicit about setting that (for CPython). However, in Jython, there is no C locale, so instead be explicit about setting the US locale. Closes the patch.
Branches
legacy-trunk
Tim Peters
pydoc changed overnight in such a way that it no longer worked from the Windows start-menu item. This recovers from that.
Branches
legacy-trunk
Guido van Rossum
Fix a memory leak -- there's no need to INCREF() the result of newreadlinesobject() in xreadlines().
Branches
legacy-trunk
Barry Warsaw
In Jython, `@' is not allowed in module names. Extend the TESTFN test to use "$test" when in Jython. Closes SF patch #403668.
Branches
legacy-trunk
Guido van Rossum
Finishing touch to Ping's changes. This is a patch that Ping sent me but apparently he had to go to school, so I am checking it in for him. This makes PyRun_HandleSystemExit() a static instead, called handle_system_exit(), and let it use the current exception rather than passing in an exception. This slightly simplifies the code.
Branches
legacy-trunk
Barry Warsaw
Two minor changes for better Jython compatibility. Finn Bock says: Change 1: Not all 'modules' in sys.modules have a sensible __file__ attribute. Some of our java package can have the __file__ attribute set to None. Change 2: In jython we have the jython license file in <root> and the CPython license file in <root>/Lib. By reversing the search sequence jython will find and show the jython license file before the CPython file. Closes …
Branches
legacy-trunk
Fred Drake
Update Mac OS X platform notes. This closes SF bug #406191.
Branches
legacy-trunk
Fred Drake
Strengthen the constraints on calling PyObject_GC_Fini().
Branches
legacy-trunk
Barry Warsaw
Make socket.getservbyname test optional on socket module having that attribute. Jython does not have this function. Closes SF patch #403667.
Branches
legacy-trunk
Fred Drake
call_sys_exitfunc(): Remove unused variable f.
Branches
legacy-trunk
Andrew Kuchling
Change rfc822_escape() to ensure there's a consistent amount of whitespace after each newline, instead of just blindly inserting a space at the start of each line. (Improvement suggested by Thomas Wouters)
Branches
legacy-trunk
Jeremy Hylton
Add nested scopes spec to appendix. 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.
Branches
legacy-trunk
Fred Drake
Remove the annoying __version__ definitions.
Branches
legacy-trunk
Fred Drake
Lots of small changes to make this work with the Python DOM bindings (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".
Branches
legacy-trunk
Barry Warsaw
setlocale(): In _locale-missing compatibility function, string comparison should be done with != instead of "is not".
Branches
legacy-trunk
Fred Drake
Pick up the "encode" function from esistools instead of defining our own (broken) version. Remove Conversion.err_write() -- use dbgmsg() consistently.
Branches
legacy-trunk
Fred Drake
No quotes around the "future" in the first use of the term "future statement".
Branches
legacy-trunk
Fred Drake
Re-write to no longer depend on an old version of PyXML. This now 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.
Branches
legacy-trunk
Fred Drake
Pick the "escape" function from the standard library instead of from PyXML.
Branches
legacy-trunk
Fred Drake
Add conversions for more of the markup -- not all of this was around when this file was written!
Branches
legacy-trunk
Fred Drake
Add entry for the futures appendix in the reference manual. Correct the comment at the top of the file.
Branches
legacy-trunk
Fred Drake
Include the futures appendix.
Branches
legacy-trunk
Fred Drake
Revise the markup so that this formats and uses markup consistently with the rest of the documentation.
Branches
legacy-trunk
Barry Warsaw
Several changes for Jython portability. This closes SF patch #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…
Branches
legacy-trunk
Jeremy Hylton
flesh out __all__ remove debugging code in if __debug__: add get_children() method on SymbolTable
Branches
legacy-trunk
Ka-Ping Yee
Allow sys.excepthook and sys.exitfunc to quietly exit with a sys.exit(). sys.exitfunc gets the last word on the exit status of the program.
Branches
legacy-trunk
Ka-Ping Yee
Extend isclass() to work for extension classes (by looking for __bases__).
Branches
legacy-trunk
Jeremy Hylton
Add some initial text for the appendix on future statements and nested scopes.
Branches
legacy-trunk
Jeremy Hylton
Note that assignments to __debug__ are illegal
Branches
legacy-trunk
  1. Prev
  2. Next