summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Renamed PySequence_In() to PySequence_Contains().Guido van Rossum1998-05-221-1/+2
|
* Completely reformatted, standardizing indentation as well asGuido van Rossum1998-05-221-582/+900
| | | | | | | | | | | | | | | | programming style. Recoded many routines to incorporate better error checking, and/or better versions of the same function found elsewhere (e.g. bltinmodule.c or ceval.c). In particular, Py_Number_{Int,Long,Float}() now convert from strings, just like the built-in functions int(), long() and float(). Sequences and mappings are now safe to have NULL function pointers anywhere in their tp_as_sequence or tp_as_mapping fields. (A few places in other files need to be checked in too.) Renamed PySequence_In() to PySequence_Contains().
* knownfiles: Add the default installation dirs for ApacheFred Drake1998-05-211-0/+2
| | | | versions <= 1.2, >= 1.3.
* Trivial little change: when setting a member to an object, hold theGuido van Rossum1998-05-201-1/+3
| | | | | | | old value in a temporary and XDECREF it only after then new value has been set. This prevents the (unlikely) case where the destructor of the member uses the containing object -- it would find it in an undefined state.
* Added support for AMK's {definitions} environment; thanks for the reminder!Fred Drake1998-05-201-0/+20
|
* Added {definitions} environment, which has \term to define indivual terms.Fred Drake1998-05-201-0/+11
| | | | Similar to {description}.
* whrandom -> randomGuido van Rossum1998-05-205-12/+12
|
* Use random instead of whrandom.Guido van Rossum1998-05-205-18/+18
|
* Add Interfaces to replace remaining needs for importing whrandom.Guido van Rossum1998-05-201-0/+46
| | | | # XXX TO DO: make the distribution functions below into methods.
* Add LDLAST to the list of variables processed by the sed script.Guido van Rossum1998-05-201-0/+1
|
* Correct bug doc string (discovered by Berthold Hoellmann):Guido van Rossum1998-05-201-1/+1
| | | | get_line_buffer() does not take an optional argument.
* Get rid of nearly all clals to self._do -- turns out self.tk.call canGuido van Rossum1998-05-191-38/+48
| | | | be used just as well, so this saves one Python call in many cases!
* Use whrandom instead of rand.Guido van Rossum1998-05-191-5/+5
| | | | Run 500 steps instead of forever.
* Protection agains non-existing subdirectories for clean and clobberGuido van Rossum1998-05-191-2/+6
| | | | | | targets. On some platforms this would cause an infinite Make recursion. Also remove "Doc" from the SUBDIRSTOO variable, since it no longer exists in the standard distribution.
* Additions for Mark Hammond's Win32 specific hacks.Guido van Rossum1998-05-193-0/+398
|
* Don't use a separate node for footnotes; see if people scream. ;-)Fred Drake1998-05-191-0/+1
|
* Fix definition of release_version (global).Fred Drake1998-05-191-1/+1
|
* Added entry for mimetypes.Fred Drake1998-05-191-0/+3
|
* webcheck target in this Makefile wasn't used.Fred Drake1998-05-191-3/+0
|
* Fix the webcheck target so it checks the right files....Fred Drake1998-05-191-6/+6
|
* (py-ask-about-save): New variable used inBarry Warsaw1998-05-191-5/+13
| | | | | py-execute-import-or-reload. Same semantics as compilation-ask-about-save.
* (py-execute-string): Bind to C-c C-s, and put on menuBarry Warsaw1998-05-191-0/+2
|
* (py-stringlit-re): Another ME patch to recognize SQTQs and DQTQsBarry Warsaw1998-05-191-2/+20
| | | | | (single and double quoted triple quoted strings :-) with embedded single like-quotes. Also recognizes raw prefix.
* More ME patches:Barry Warsaw1998-05-191-4/+86
| | | | | | | | | | | | | | (py-execute-import-or-reload): Cool new command that imports or reloads the current file as a module, so as not to clutter the global namespace. Bound to C-c C-m. (py-execute-def-or-class): New command that sends the current def or class to the interpreter. Bound to C-M-x. (py-execute-string): New command that sends arbitrary string to the interpreter. Not bound by default. (py-describe-mode): Doco updates.
* (beginning-of-python-def-or-class): Renamed toBarry Warsaw1998-05-191-52/+82
| | | | | | | | | py-beginning-of-def-or-class, and defaliased for backwards compatibility. ME patch to add optional second argument, count. (end-of-python-def-or-class): Renamed to py-end-of-def-or-class, and defaliased for backwards compatibility. ME patch to add optional second argument, count.
* guess_extension(): Revise documentation string to be more clear. If notFred Drake1998-05-191-3/+6
| | | | inited, call init().
* 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.