summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* A variant on webchecker that creates a mirror copy of a remote site.Guido van Rossum1997-10-061-0/+131
|
* Several changes:Guido van Rossum1997-10-061-6/+24
| | | | | | | | | | - Change the code that looks for robots.txt to always look in /, even if the "root" path is somewhere deep down below. - Add link processing in <AREA> tags. - Change safeclose() to avoid crashing when the file has no geturl() method.
* Document the mapping object's new get() method.Barry Warsaw1997-10-062-0/+10
|
* UserDict.get(): New method to mirror built-in dictionaries' get()Barry Warsaw1997-10-061-0/+5
| | | | method.
* dict_get(): New method for item access with different semantics thanBarry Warsaw1997-10-061-0/+38
| | | | | | | | | __getitem__(). This method never raises an exception; if the key is not in the dictionary, the second (optional) argument is returned. If the second argument is not provided and the key is missing, None is returned. mapp_methods: added "get" method.
* Move the __getitem__() definition from StandardException to Exception.Fred Drake1997-10-061-1/+3
| | | | | | | | | This allows stuff like this out of the box: try: ... except socket.error, (code, msg): ...
* New "re" regular expression support.Guido van Rossum1997-10-062-1145/+1575
| | | | | | The new re module was written by Andrew Kuchling and uses the pcre code in ../Modules/. The old re module has been renamed to re1, just in case you need it for comparison.
* New "re" regular expression support.Guido van Rossum1997-10-064-0/+5135
| | | | | This code is written by Philip Hazel and Andrew Kuchling. It requires a new "re.py" module, too.
* Add the four latex2html output directories: api, ext, lib, tut.Fred Drake1997-10-061-0/+4
|
* Done with tread state descriptions. Sigh!Guido van Rossum1997-10-062-100/+618
|
* Oops -- needed to fix another place affected by the change back toGuido van Rossum1997-10-061-7/+8
| | | | | $(MACHDEP) being just the platform name, without "plat-" prefix... (To be precise, the libainstall target was totally broken.)
* Added strerror()Guido van Rossum1997-10-052-0/+8
|
* Removed emacs.pyGuido van Rossum1997-10-052-4/+0
|
* Fixed some stuff that was incorrectly copied from regex.Guido van Rossum1997-10-052-20/+22
|
* Documented __import__, callable, isinstance, issubclass,Guido van Rossum1997-10-052-10/+166
| | | | and slice.
* Documented new exceptions and exception classes.Guido van Rossum1997-10-052-40/+234
|
* Add -N0 to dvips flags to generate page structure comments.Guido van Rossum1997-10-051-1/+1
|
* Checkpoint. Added docs for the new exception handling APIs and forGuido van Rossum1997-10-052-70/+506
| | | | the interfaces defined in import.h.
* The directory containing config.h has changed.Guido van Rossum1997-10-051-1/+2
|
* Turns out whatsound.py and sndhdr.py were identical modules.Guido van Rossum1997-10-042-540/+2
| | | | | | Since there's also an imghdr.py file, I propose to make sndhdr.py the official one. For compatibility, whatsound.py imports * from sndhdr.py.
* install: New target that installs shared modules inFred Drake1997-10-041-0/+17
| | | | $exec_prefix/lib/python$VERSION/site-packages by default.
* Install install-sh with the other config files.Guido van Rossum1997-10-041-0/+1
| | | | Could be useful for an install target in Misc/Makefile.pre.in.
* New version of PyErr_NewException() that is compatible with -X option.Guido van Rossum1997-10-031-14/+35
|
* Initialize Py_UseClassExceptionsFlag to 1.Guido van Rossum1997-10-031-1/+1
|
* Remove unreachable "return 1" at end of ensure_fromlist().Guido van Rossum1997-10-031-1/+1
|
* Fix small omission: with all the new code, sys.exit(None) would printGuido van Rossum1997-10-031-0/+2
| | | | "None"; this should be equivalent to sys.exit(0).
* Argh; do the same for the "Release" version of the config.Fred Drake1997-10-021-1/+1
|
* Fix up include directories for compiling the resources.Fred Drake1997-10-021-1/+1
|
* Fix path search for test data file so it works under more circumstances.Guido van Rossum1997-10-011-1/+6
|
* Oops, forgot one.Guido van Rossum1997-10-011-1/+1
|
* There was actually a test that ensured that raising an exception AGuido van Rossum1997-10-011-3/+2
| | | | | | | with an instance of a derived class B would really raise an A, not a B. Since Barry fixed this anomalous behaviour, I though I might as well fix the test! (Hmm, Barry, did you not run the tests or did you miss that test_opcodes failed?)
* Fixed test for socket.error to work when it's a class exception.Guido van Rossum1997-10-011-1/+2
|
* Apply two changes, systematically:Guido van Rossum1997-10-0127-166/+78
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Fix PYTHONPATH for new names; rename tkinter to lib-tk, rename win toGuido van Rossum1997-09-301-1/+1
| | | | plat-win, get rid of test (which is now a package).
* Change PyEval_SaveThread() and PyEval_RestoreThread() to always do theGuido van Rossum1997-09-301-12/+9
| | | | | | tstate swapping. Only the acquiring and releasing of the lock is conditional (twice, under ``#ifdef WITH_THREAD'' and inside ``if (interpreter_lock)'').
* Fix a bug in this code that made it do the wrong thing when an optionGuido van Rossum1997-09-301-1/+4
| | | | was a single '-'. Thanks to Andrew Kuchling.
* Fixed up formatting.Fred Drake1997-09-302-114/+184
|
* Fixed up formatting, added descriptions for previously undocumented functions.Fred Drake1997-09-302-74/+138
|
* Removed extern declaration of strdup(). Doesn't appear to be important andFred Drake1997-09-301-10/+0
| | | | causes ugly noises under Windows.
* PyExc_NumberError -> PyExc_ArithmeticErrorFred Drake1997-09-301-1/+1
|
* Handy utility to guess MIME type from extension.Guido van Rossum1997-09-301-0/+190
|
* PyErr_NormalizeException(): If the exception's type is a class and theBarry Warsaw1997-09-301-0/+8
| | | | | instance's class is a subclass of this, then use the instance's class as the exception type.
* Added PyExc_Exception and PyErr_NewException.Guido van Rossum1997-09-291-0/+2
|
* Seem to be some changes related to DLL version from string resource,Guido van Rossum1997-09-292-5/+44
| | | | again (Mark Hammond is the cause of all this).
* DLL version is now loaded from a string resource.Guido van Rossum1997-09-291-0/+7
|
* Remove #ifdef __cplusplus.Guido van Rossum1997-09-291-6/+6
|
* Bump version and store DLL version in a string variable (for branding).Guido van Rossum1997-09-291-1/+9
|
* Get DLL version from a variable.Guido van Rossum1997-09-291-1/+3
|
* Don't intern the key string for getitem and delitem.Guido van Rossum1997-09-291-3/+1
|
* Removed special Windows defines, at Mark Hammond's request.Guido van Rossum1997-09-291-8/+4
|