Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A variant on webchecker that creates a mirror copy of a remote site. | Guido van Rossum | 1997-10-06 | 1 | -0/+131 |
| | |||||
* | Several changes: | Guido van Rossum | 1997-10-06 | 1 | -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 Warsaw | 1997-10-06 | 2 | -0/+10 |
| | |||||
* | UserDict.get(): New method to mirror built-in dictionaries' get() | Barry Warsaw | 1997-10-06 | 1 | -0/+5 |
| | | | | method. | ||||
* | dict_get(): New method for item access with different semantics than | Barry Warsaw | 1997-10-06 | 1 | -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 Drake | 1997-10-06 | 1 | -1/+3 |
| | | | | | | | | | This allows stuff like this out of the box: try: ... except socket.error, (code, msg): ... | ||||
* | New "re" regular expression support. | Guido van Rossum | 1997-10-06 | 2 | -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 Rossum | 1997-10-06 | 4 | -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 Drake | 1997-10-06 | 1 | -0/+4 |
| | |||||
* | Done with tread state descriptions. Sigh! | Guido van Rossum | 1997-10-06 | 2 | -100/+618 |
| | |||||
* | Oops -- needed to fix another place affected by the change back to | Guido van Rossum | 1997-10-06 | 1 | -7/+8 |
| | | | | | $(MACHDEP) being just the platform name, without "plat-" prefix... (To be precise, the libainstall target was totally broken.) | ||||
* | Added strerror() | Guido van Rossum | 1997-10-05 | 2 | -0/+8 |
| | |||||
* | Removed emacs.py | Guido van Rossum | 1997-10-05 | 2 | -4/+0 |
| | |||||
* | Fixed some stuff that was incorrectly copied from regex. | Guido van Rossum | 1997-10-05 | 2 | -20/+22 |
| | |||||
* | Documented __import__, callable, isinstance, issubclass, | Guido van Rossum | 1997-10-05 | 2 | -10/+166 |
| | | | | and slice. | ||||
* | Documented new exceptions and exception classes. | Guido van Rossum | 1997-10-05 | 2 | -40/+234 |
| | |||||
* | Add -N0 to dvips flags to generate page structure comments. | Guido van Rossum | 1997-10-05 | 1 | -1/+1 |
| | |||||
* | Checkpoint. Added docs for the new exception handling APIs and for | Guido van Rossum | 1997-10-05 | 2 | -70/+506 |
| | | | | the interfaces defined in import.h. | ||||
* | The directory containing config.h has changed. | Guido van Rossum | 1997-10-05 | 1 | -1/+2 |
| | |||||
* | Turns out whatsound.py and sndhdr.py were identical modules. | Guido van Rossum | 1997-10-04 | 2 | -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 in | Fred Drake | 1997-10-04 | 1 | -0/+17 |
| | | | | $exec_prefix/lib/python$VERSION/site-packages by default. | ||||
* | Install install-sh with the other config files. | Guido van Rossum | 1997-10-04 | 1 | -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 Rossum | 1997-10-03 | 1 | -14/+35 |
| | |||||
* | Initialize Py_UseClassExceptionsFlag to 1. | Guido van Rossum | 1997-10-03 | 1 | -1/+1 |
| | |||||
* | Remove unreachable "return 1" at end of ensure_fromlist(). | Guido van Rossum | 1997-10-03 | 1 | -1/+1 |
| | |||||
* | Fix small omission: with all the new code, sys.exit(None) would print | Guido van Rossum | 1997-10-03 | 1 | -0/+2 |
| | | | | "None"; this should be equivalent to sys.exit(0). | ||||
* | Argh; do the same for the "Release" version of the config. | Fred Drake | 1997-10-02 | 1 | -1/+1 |
| | |||||
* | Fix up include directories for compiling the resources. | Fred Drake | 1997-10-02 | 1 | -1/+1 |
| | |||||
* | Fix path search for test data file so it works under more circumstances. | Guido van Rossum | 1997-10-01 | 1 | -1/+6 |
| | |||||
* | Oops, forgot one. | Guido van Rossum | 1997-10-01 | 1 | -1/+1 |
| | |||||
* | There was actually a test that ensured that raising an exception A | Guido van Rossum | 1997-10-01 | 1 | -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 Rossum | 1997-10-01 | 1 | -1/+2 |
| | |||||
* | Apply two changes, systematically: | Guido van Rossum | 1997-10-01 | 27 | -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 to | Guido van Rossum | 1997-09-30 | 1 | -1/+1 |
| | | | | plat-win, get rid of test (which is now a package). | ||||
* | Change PyEval_SaveThread() and PyEval_RestoreThread() to always do the | Guido van Rossum | 1997-09-30 | 1 | -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 option | Guido van Rossum | 1997-09-30 | 1 | -1/+4 |
| | | | | was a single '-'. Thanks to Andrew Kuchling. | ||||
* | Fixed up formatting. | Fred Drake | 1997-09-30 | 2 | -114/+184 |
| | |||||
* | Fixed up formatting, added descriptions for previously undocumented functions. | Fred Drake | 1997-09-30 | 2 | -74/+138 |
| | |||||
* | Removed extern declaration of strdup(). Doesn't appear to be important and | Fred Drake | 1997-09-30 | 1 | -10/+0 |
| | | | | causes ugly noises under Windows. | ||||
* | PyExc_NumberError -> PyExc_ArithmeticError | Fred Drake | 1997-09-30 | 1 | -1/+1 |
| | |||||
* | Handy utility to guess MIME type from extension. | Guido van Rossum | 1997-09-30 | 1 | -0/+190 |
| | |||||
* | PyErr_NormalizeException(): If the exception's type is a class and the | Barry Warsaw | 1997-09-30 | 1 | -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 Rossum | 1997-09-29 | 1 | -0/+2 |
| | |||||
* | Seem to be some changes related to DLL version from string resource, | Guido van Rossum | 1997-09-29 | 2 | -5/+44 |
| | | | | again (Mark Hammond is the cause of all this). | ||||
* | DLL version is now loaded from a string resource. | Guido van Rossum | 1997-09-29 | 1 | -0/+7 |
| | |||||
* | Remove #ifdef __cplusplus. | Guido van Rossum | 1997-09-29 | 1 | -6/+6 |
| | |||||
* | Bump version and store DLL version in a string variable (for branding). | Guido van Rossum | 1997-09-29 | 1 | -1/+9 |
| | |||||
* | Get DLL version from a variable. | Guido van Rossum | 1997-09-29 | 1 | -1/+3 |
| | |||||
* | Don't intern the key string for getitem and delitem. | Guido van Rossum | 1997-09-29 | 1 | -3/+1 |
| | |||||
* | Removed special Windows defines, at Mark Hammond's request. | Guido van Rossum | 1997-09-29 | 1 | -8/+4 |
| |