summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* _PyImport_Inittab: define the exceptions module's init function.Barry Warsaw2001-01-231-1/+1
| | | | Fixes bug #121706.
* Added a note about the memory size.Jack Jansen2001-01-231-4/+8
| | | | Added Matthias Neeracher and Alexandre Parenteau to the "thank you" list. This should have been done _ages_ ago for Matthias! Shame shame!!
* Upped the default memory size to a whopping 24Mb, which is needed to make ↵Jack Jansen2001-01-231-0/+0
| | | | the autotests run. Sigh. User with low-memory systems will have to adapt the setting.
* Use &# escape for non-ascii chars.Jack Jansen2001-01-231-3/+3
|
* Slight reworking to make it more useful for debuggingBarry Warsaw2001-01-231-5/+12
| | | | | | | | | | Py_Initialize()/Py_Finalize() loop leaks. - allow an optional 3rd argument which is the loop count. -1 means infloop (the default). - Add a setting of Py_NoSiteFlag=1, but leave it commented out by default.
* Updates and changes:Barry Warsaw2001-01-231-2/+2
| | | | | | | - set VERSION to 2.1 - change blddir to ../.. since that seems more common than the old value (at least for my debugging session).
* Add prototype for PyGC_Dump() -- but only inside the #ifdefBarry Warsaw2001-01-231-0/+2
| | | | WITH_CYCLE_GC.
* Add prototype for PyObject_Dump().Barry Warsaw2001-01-231-0/+1
|
* PyObject_Dump(): Use %p format to print the address of the pointer.Barry Warsaw2001-01-231-2/+4
| | | | PyGC_Dump(): Wrap this in a #ifdef WITH_CYCLE_GC.
* A few useful definitions if you're using gdb. Copy to ~/.gdbinit toBarry Warsaw2001-01-231-0/+27
| | | | pull it in automatically.
* A few miscellaneous helpers.Barry Warsaw2001-01-231-2/+26
| | | | | | | | | | | | | | | | PyObject_Dump(): New function that is useful when debugging Python's C runtime. In something like gdb it can be a pain to get some useful information out of PyObject*'s. This function prints the str() of the object to stderr, along with the object's refcount and hex address. PyGC_Dump(): Similar to PyObject_Dump() but knows how to cast from the garbage collector prefix back to the PyObject* structure. [See Misc/gdbinit for some useful gdb hooks] none_dealloc(): Rather than SEGV if we accidentally decref None out of existance, we assign None's and NotImplemented's destructor slot to this function, which just calls abort().
* Leak pluggin', bug fixin' and better documentin'. Specifically,Barry Warsaw2001-01-231-56/+72
| | | | | | | | | | | | | module__doc__: Document the Warning subclass heirarchy. make_class(): Added a "goto finally" so that if populate_methods() fails, the return status will be -1 (failure) instead of 0 (success). fini_exceptions(): When decref'ing the static pointers to the exception classes, clear out their dictionaries too. This breaks a cycle from class->dict->method->class and allows the classes with unbound methods to be reclaimed. This plugs a large memory leak in a common Py_Initialize()/dosomething/Py_Finalize() loop.
* A script to search for methods that are missing in Carbon in PythonJack Jansen2001-01-231-0/+145
| | | | sources. So far only runs under unix, but what gives:-)
* Made the about box a bit larger (Apparently MacOSX does something a little ↵Jack Jansen2001-01-231-0/+0
| | | | different?).
* Fixed autoraise glitches.Eric S. Raymond2001-01-231-5/+5
|
* added a few more __all__ listsSkip Montanaro2001-01-239-1/+26
| | | | fixed typo in ihooks docstring
* Jeremy didn't write PEP 205, Fred did!Andrew M. Kuchling2001-01-231-1/+1
|
* Sigh... First test before committing. InvalWindowRect and friends are window ↵Jack Jansen2001-01-2314-48/+55
| | | | object methods. Fixed.
* Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect.Jack Jansen2001-01-233-6/+6
|
* Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect.Jack Jansen2001-01-2315-48/+48
|
* Expose the autoraise capability. Improve the documentation.Eric S. Raymond2001-01-232-27/+29
|
* Oops...finish a mangled sentence.Eric S. Raymond2001-01-231-1/+1
|
* Rewrite webbrowser.py to fix various bugs following Ka-Ping Yee'sEric S. Raymond2001-01-232-182/+247
| | | | | | | | complaints. The new version moves most of its initialization to package load time; it's simpler, faster, smaller, and adds support for Mozilla and Links. Interpretation of the BROWSER variable now works and is documented. The open_new entry point and methods are marked "deprecated; may be removed in 2.1".
* Restore alphabetic order. Also try to import rlcompleter and curses, butTim Peters2001-01-231-7/+15
| | | | don't fail if they're not available.
* Added notes about setup.py and cygwin build; removed note aboutGuido van Rossum2001-01-231-5/+12
| | | | the previous auto-configuring modules feature (already obsolete :-).
* Add introductory note about this article's draft statusAndrew M. Kuchling2001-01-231-14/+56
| | | | | | Grammatical and typographic fixes from David Goodger Expanded notes about PEP 229 Removed user-visible XXXes; they're in comments now
* Added -O option (to run python or python_d w/ -O),Tim Peters2001-01-231-8/+14
|
* This commit was manufactured by cvs2svn to create tag 'r21a1'.v2.1a1cvs2svn2001-01-231-0/+1
|
* Clean up some comments and the default VERSION.Guido van Rossum2001-01-231-3/+2
|
* Get rid of weird @SET_CXX@ and @SET_DLLLIBRARY@ macro occurrences.Guido van Rossum2001-01-231-2/+2
|
* Get rid of weird @SET_CXX@ macro occurrence.Guido van Rossum2001-01-231-3/+2
|
* Change SET_DLLLIBRARY to DLLLIBRARY=...Guido van Rossum2001-01-231-1/+1
|
* The usualGuido van Rossum2001-01-231-392/+357
|
* Fix some make errors during "make clobber" or "make distclean", causedGuido van Rossum2001-01-231-38/+4
| | | | | | | by weird and (hopefully) unnecessary SET_CXX and SET_DLLLIBRARY macros that occurr at the start of Makefile.in files. - Also removed the already-commented-out SET_CCC macro cruft.
* Add simple test of list comprehension that uses a name that isn'tJeremy Hylton2001-01-232-0/+7
| | | | | otherwise used in the same code block. (Not sure this is the right place, but there is no test_list_comprehensions.py.)
* Use PyThreadState_DeleteCurrent() instead of PyThreadState_Delete()Guido van Rossum2001-01-231-2/+1
| | | | | | | and PyEval_ReleaseThread(). This fixes SF bug #125673 PyThreadState_Delete: invalid tstate (Unix only?).
* Add a new API, PyThreadState_DeleteCurrent() that combinesGuido van Rossum2001-01-232-4/+30
| | | | | PyThreadState_Delete() and PyEval_ReleaseLock(). It is only defined if WITH_THREAD is defined.
* Visit the initial test element of the listmaker for a listJeremy Hylton2001-01-231-1/+2
| | | | comprehension. Fixes bug reported by Tim Peters.
* prevent symtable_params() from dereferencing off the end of theJeremy Hylton2001-01-231-0/+2
| | | | varagslist node. based on fix from Thomas Wouters.
* A few more contributors.Guido van Rossum2001-01-231-0/+4
|
* - Use "exec ... in dict" to avoid having to walk on eggshells; localsGuido van Rossum2001-01-221-14/+20
| | | | | | | | | no don't have to start with underscore. - Add spaces after commas in argument lists. - Only test dbhash if bsddb can be imported. (Wonder if there are more like this?)
* Typo repair.Tim Peters2001-01-221-1/+1
|
* Reorganize pickle/cPickle testing so the tests pass regardless of the orderTim Peters2001-01-224-170/+157
| | | | they're run.
* A variety of updates of out-of-date information.Fred Drake2001-01-221-21/+29
|
* When generating the source package, copy in the LICENSE file from the mainFred Drake2001-01-221-4/+6
| | | | source directory.
* Never mind ignoring a copied LICENSE file; let's do this another way.Fred Drake2001-01-221-1/+0
|
* Ignore the generated LICENSE file needed for the documentation sourceFred Drake2001-01-221-0/+1
| | | | package.
* Change the main targets to generate HTML instead of PostScript.Fred Drake2001-01-221-27/+30
| | | | Update the comments at the beginning of the file.
* Added link to the "Python Codecs" project at SourceForge.Fred Drake2001-01-221-8/+18
| | | | | Changed markup of the list of values for the list of meaningful "errors" values.
* Added dictionary.popitem() and the improved XML modules.Andrew M. Kuchling2001-01-221-18/+41
| | | | | | | | Reorder the smaller items, roughly in decreasing order of visibility to the Python coder Finished an incomplete sentence. Moved the unwritten sections down to the bottom. Bumped version number and added acknowledgements