summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Initialize new save_warnings_filters data member in ↵Tim Peters2001-03-291-0/+1
| | | | | | | | ModifiedInterpreter.__init__. Was getting mystery ModifiedInterpreter instance has no attribute 'save_warnings_filters' errors at odd times (for sure in a fresh IDLE, fresh file, then Run Script).
* Added example use of weak references, contributed by Tim Peters.Fred Drake2001-03-281-0/+22
|
* Added documentation for PyObject_IsInstance() and PyObject_IsSubclass().Fred Drake2001-03-281-0/+36
|
* Don't show finder-delay-warning on OSX. Untested.Jack Jansen2001-03-281-1/+1
|
* Typo: "ariables" --> "variables"Fred Drake2001-03-281-1/+1
| | | | This fixes SF bug #411118.
* Fix a number of small issues; this closes SF bug #411063.Fred Drake2001-03-281-4/+4
|
* Based on info from Jens@digicool.com, add 'darwin1' to the list ofGuido van Rossum2001-03-281-1/+1
| | | | BSD-style OS'es. Makes sense, really.
* Updated for 2.1b2 distribution.Jack Jansen2001-03-2710-16/+51
|
* Arghh. Fix typo.Martin v. Löwis2001-03-271-1/+1
|
* Added a note about BBPy.lm.Jack Jansen2001-03-271-0/+4
|
* Added a note about the new (since 2.0) OSA architecture.Jack Jansen2001-03-271-1/+10
|
* Oops, ISO translation was off. Fixed.Jack Jansen2001-03-273-27/+27
|
* Add Robin Thomas (author of the slice() comparability hack).Guido van Rossum2001-03-271-0/+1
|
* Use Guido's trick for always extracting the version number from aMartin v. Löwis2001-03-271-1/+4
| | | | CVS Revision string correctly, even under -kv.
* Fix some reloading problems (still more work needed).Ka-Ping Yee2001-03-271-6/+16
| | | | | Add hyperlinks to PEPs at http://www.python.org/peps/pep-%04d.html Remove script directory (dirname of sys.argv[0]) from sys.path.
* Disable fused-add-mul instructions. They give a nonstandard result for some ↵Jack Jansen2001-03-261-0/+0
| | | | things that test_coercion complains about. The added performance is probably minimal for Python anyway.
* Bug fix: compile() called from a nested-scopes-enable Python was notJeremy Hylton2001-03-261-1/+1
| | | | | using nested scopes to compile its argument. Pass compiler flags through to underlying compile call.
* Turn SyntasWarning into SyntaxError for all code enteredGuido van Rossum2001-03-261-1/+12
| | | | interactively.
* Michael Hudson <mwh21@cam.ac.uk>:Fred Drake2001-03-261-0/+329
| | | | | | Add many more constants for some systems. This closes SF patch #410267.
* Add a note that the "kfm" controller supports "konqueror" as well as theFred Drake2001-03-261-1/+3
| | | | old KDE 1 "kfm" command.
* Itamar Shtull-Trauring <itamar@maxnm.com>:Fred Drake2001-03-262-18/+58
| | | | | Add support to zipfile to support opening an archive represented by an open file rather than a file name.
* Update auto-detection for Konqueror to include KDE 2 -- the kfm command isFred Drake2001-03-261-2/+5
| | | | | gone; "konqueror" is the new name, and the command-line args are different. kfmclient has not changed, though.
* Note missing explanationAndrew M. Kuchling2001-03-261-2/+2
|
* Fixed some access paths.Jack Jansen2001-03-261-0/+0
|
* Fixed ref count bug. Patch #411191. Found by Walter Dörwald.Marc-André Lemburg2001-03-251-1/+3
|
* get_version_string(): New function -- returns a Python string object thatFred Drake2001-03-241-3/+24
| | | | | | | | gives the CVS revision of this file even if it does not include the extra RCS "$Revision: " cruft. initpyexpat(): Use get_version_string() instead of hard-coding magic indexes into the RCS string (which may be affected by export options).
* Document use_rawinput. (Although now that I think more about it, aGuido van Rossum2001-03-241-1/+6
| | | | | better solution would have been to factor out the raw_input() call and make it into an overridable method. Oh well, maybe later...)
* This commit was manufactured by cvs2svn to create tag 'r21b2'.v2.1b2cvs2svn2001-03-231-0/+1
|
* main(): Application of SF patch #405851, which allows this test to beBarry Warsaw2001-03-231-0/+12
| | | | | | | 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.
* pydoc changed overnight in such a way that it no longer worked from theTim Peters2001-03-231-3/+3
| | | | Windows start-menu item. This recovers from that.
* Fix a memory leak -- there's no need to INCREF() the result ofGuido van Rossum2001-03-231-1/+0
| | | | newreadlinesobject() in xreadlines().
* In Jython, `@' is not allowed in module names. Extend the TESTFN testBarry Warsaw2001-03-231-3/+7
| | | | to use "$test" when in Jython. Closes SF patch #403668.
* Finishing touch to Ping's changes. This is a patch that Ping sent meGuido van Rossum2001-03-231-11/+11
| | | | | | | | 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.
* Two minor changes for better Jython compatibility. Finn Bock says:Barry Warsaw2001-03-231-3/+3
| | | | | | | | | | | | | 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 SF patch #405853.
* Update Mac OS X platform notes.Fred Drake2001-03-231-4/+8
| | | | This closes SF bug #406191.
* Strengthen the constraints on calling PyObject_GC_Fini().Fred Drake2001-03-231-0/+5
|
* Make socket.getservbyname test optional on socket module having thatBarry Warsaw2001-03-231-5/+6
| | | | | | attribute. Jython does not have this function. Closes SF patch #403667.
* 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
|