summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test that "import sys.imp" fails as it should.Guido van Rossum1998-05-191-1/+12
|
* Fix a curious bug: statements like "import sys.time" would succeed,Guido van Rossum1998-05-191-3/+10
| | | | | | because the path through the code would notice that sys.__path__ did not exist and it would fall back to the default path (builtins + sys.path) instead of failing). No longer.
* Add mimetypes documentation to library reference dependencies.Fred Drake1998-05-191-1/+2
|
* Add section documenting mimetypes module.Fred Drake1998-05-192-0/+95
|
* More ME patches:Barry Warsaw1998-05-191-2/+7
| | | | | | | | (py-shell): Recognize the Python debugger prompt (py-jump-to-exception): Force into python-mode any buffer that gets jumped to on exception. Cope with py-exception-buffer possibly a cons.
* #Documentation and comment typos patch given by Michael Ernst. MoreBarry Warsaw1998-05-191-17/+17
| | | | #of his patches to follow.
* Add a feature to support specifying an additional search directory forGuido van Rossum1998-05-181-17/+30
| | | | | | packages. (Mark Hammond) Folded some long lines.
* Remove Emacs cruft.Guido van Rossum1998-05-183-12/+0
|
* Add a feature to support specifying an additional search directory forGuido van Rossum1998-05-181-4/+17
| | | | | | packages. (Mark Hammond) Remove Emacs cruft.
* guess_extension(): New function. Performs a reverse mapping from MIME typeFred Drake1998-05-181-1/+18
| | | | to filename extension.
* Neatify the _timezones table and remove a misleading comment aboutGuido van Rossum1998-05-181-12/+5
| | | | inaccuracies in mktime_tz().
* Fixed typo in docstring: suffixes_map --> suffix_map.Fred Drake1998-05-181-1/+1
|
* Subject: bug fixes for imaplib.pyGuido van Rossum1998-05-181-35/+48
| | | | | | | | | | From: Piers Lauder <piers@staff.cs.usyd.edu.au> To: Python List <python-list@cwi.nl> Date: Mon, 18 May 1998 09:51:53 +1000 Following is a context diff for imaplib.py in the Python1.5.1 distribution. It fixes 2 bugs. One to do with argument quoting, and the other to do with caching of un-tagged responses. Apologies for its size.
* Add file extension .xml, mapping it to text/xml.Guido van Rossum1998-05-181-0/+1
|
* Remove use of RTLD_GLOBAL.Guido van Rossum1998-05-181-6/+4
|
* Fix another oldie (item (b) only):Guido van Rossum1998-05-161-1/+1
| | | | | | | | | | | | | | | Date: Fri, 20 Dec 1996 14:47:50 +0100 From: Lele Gaifax <lele@nautilus.eclipse.it> To: Python List <python-list@cwi.nl> Subject: Typos in ref manual Hi all, browsing the reference manual I noticed what seem two small errors: a) in the list of keywords (section 2.3.1) 'exec' is missing b) in the Operator Precedence table (5.12) the comparison operators include '=', but probably '==' was intended. Hope this help, lele.
* Install config.h.Guido van Rossum1998-05-161-9/+15
| | | | Adapt to new build conventions (get rid of Release directory).
* Another veeeeeery old patch...Guido van Rossum1998-05-151-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Thu, 14 Sep 1995 12:18:20 -0400 From: Alan Morse <alan@dvcorp.com> To: python-list@cwi.nl Subject: getargs bug in 1.2 and 1.3 BETA We have found a bug in the part of the getargs code that we added and submitted, and which was incorporated into 1.1. The parsing of "O?" format specifiers is not handled correctly; there is no "else" for the "if" and therefore it can never fail. What's worse, the advancing of the varargs pointer is not handled properly, so from then on it is out of sync, wreaking all sorts of havoc. (If it had failed properly, then the out-of-sync varargs would not have been an issue.) Below is the context diff for the change. Note that I have made a few stylistic changes beyond adding the else case, namely: 1) Making the "O" case follow the convention established by the other format specifiers of getting all their vararg arguments before performing the test, rather than getting some before and some after the test passes. 2) Making the logic of the tests parallel, so the "if" part indicates that the format is accepted and the "else" part indicates that the format has failed. They were inconsistent with each other and with the the other format specifiers. -Alan Morse (amorse@dvcorp.com)
* Change the output names. Do away with the Release and DebugGuido van Rossum1998-05-157-46/+39
| | | | | | | | | | | | | | subdirectories. All final products go into the current directory (i.e., PCbuild). Object files go into temp-release and temp-debug. Debug versions of DLLs have _d appended to their basename, e.g. the debug version of python15.dll is python15_d.dll, the debug version of python.exe is python_d.exe, and the debug version of parser.pyd is parser_d.pyd. (See corresponding patch to importdl.c.) Uniformly changed all extension modules to use .pyd, not .dll.
* In debug mode on MS Windows, DLLs are called foo_d.pyd or foo_d.dll.Guido van Rossum1998-05-151-0/+5
|
* Add some symbols. Remove the LIBRARY statement at the top (and theGuido van Rossum1998-05-151-4/+4
| | | | commented-out CODE/DATA statements).
* Small change to the l2h target allowing the output dir, $(HTMLDIR), to beFred Drake1998-05-151-1/+3
| | | | a sibling of the html/ directory in the distribution.
* Update to use latex2html 98.1p5.Fred Drake1998-05-152-36/+32
|
* Update to use latex2html 98.1p5.Fred Drake1998-05-151-1/+2
| | | | Cleanup temporary files produced by latex2html in the output directory.
* Update note about latex2html version required.Fred Drake1998-05-151-2/+3
|
* Add support for the Macintosh Library Modules document.Fred Drake1998-05-152-8/+22
|
* Revise comment about \let support a little to more accurately reflect theFred Drake1998-05-151-1/+1
| | | | support that's offered.
* Ignore the mac/ directory....Fred Drake1998-05-151-0/+1
|
* Update to use the output names used by latex2html for the Python ReferenceFred Drake1998-05-151-1/+1
| | | | Manual; the old FrameMaker names no longer apply.
* Extend handling for \let a bit, to also allow \let\something=<character>. WeFred Drake1998-05-151-1/+12
| | | | | still don't support things like \let^^M=\something, where ^^M could actually be any active character. Print a decent warning if we find one we can't handle.
* Remove debugging echo.Fred Drake1998-05-151-1/+0
|
* do_cmd_let(): Simple implementation to allow \let to be used to establishFred Drake1998-05-151-3/+21
| | | | | | | | | synonyms for macros. This supports: \let\newname = \oldname \let\newname\oldname This is useful sometimes, and can at least avoid real errors at other times.
* Improved version of patch for HPUX from David Arnold.Guido van Rossum1998-05-141-4/+1
|
* Added support for \developer, \developers, \developersaddress.Fred Drake1998-05-141-4/+8
|
* Added definitions for \developer, \developers, \developersaddress.Fred Drake1998-05-141-0/+3
| | | | Ask Guido if you really want to know why. ;-)
* Fix the fix to allow the .tex document sources not live in ".".Fred Drake1998-05-141-1/+2
|
* Mostly spurious change to ensure that everyone's version of this picks up theFred Drake1998-05-141-0/+2
| | | | execute bit.... problem discovered by Guido.
* Don't run tools/toc2bkm.py unless we're building PDF.Fred Drake1998-05-141-6/+11
| | | | | | | Change the way TEXINPUTS gets defined to ensure that the directory containing the main document file comes before any other dir, to allow documents to have files that "override" like-named files elsewhere on the search path. Guido discovered we needed this.
* Updated markup style (got rid of \verb@...@, mostly).Fred Drake1998-05-146-197/+203
|
* Add pointer to Misc/HPUX-NOTES.Guido van Rossum1998-05-141-0/+2
|
* Add an index entry.Fred Drake1998-05-141-3/+4
| | | | Bow to font lock.
* When a .o file is an absolute pathname, assume it's a file for whichGuido van Rossum1998-05-141-0/+1
| | | | we have no .c source.
* strop_replace(): balk if the pattern string is empty.Guido van Rossum1998-05-141-0/+4
|
* whichmodule(): remove redundant PyErr_Clear(); add explicit settingGuido van Rossum1998-05-141-4/+3
| | | | of error when sys.modules isn't there.
* Don't delete glmodule.c on 'make clobber' (it's a checked in file!).Guido van Rossum1998-05-141-1/+1
|
* New APIs for embedding applications that want to add their own entriesGuido van Rossum1998-05-141-0/+58
| | | | | | | | | | | to the table of built-in modules. This should normally be called *before* Py_Initialize(). When the malloc() or realloc() call fails, -1 is returned and the existing table is unchanged. After a similar function by Just van Rossum. int PyImport_ExtendInittab(struct _inittab *newtab); int PyImport_AppendInittab(char *name, void (*initfunc)());
* Remove unnecessary PyErr_Clear().Guido van Rossum1998-05-141-1/+0
|
* Since PyDict_GetItem() can't raise an exception any more, there's noGuido van Rossum1998-05-142-4/+0
| | | | need to call PyErr_Clear() when it returns NULL.
* Since PyDict_GetItem() can't raise an exception any more, there's noGuido van Rossum1998-05-141-4/+1
| | | | need to cxall PyErr_Clear() when it returns NULL.
* Make sure that PyDict_GetItem[String]() *never* raises an exception.Guido van Rossum1998-05-141-2/+3
| | | | | If the argument is not a dictionary, simply return NULL. If the hash() on the key fails, clear the error.