summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add yet more markup that let's a stylesheet pick out a small bit of theFred Drake2001-10-261-3/+11
| | | | | presentation. This is acceptable since it only occurs in the formatted output and does not affect the document markup.
* Enforce a bit of markup consistency.Fred Drake2001-10-261-13/+12
| | | | | | When describing a Boolean return value, use "true" and "false" instead of "1" and "0". Style-guide conformance: no "iff" -- to obscure for many readers. ;-(
* Minor textual adjustment, and style-guide conformance (no use of "iff").Fred Drake2001-10-261-4/+5
|
* A fix for SF bug #472560, extra newlines returned by get_param() whenBarry Warsaw2001-10-253-1/+51
| | | | | | | | the separating semi-colon shows up on a continuation line (legal, but weird). Bug reported and fixed by Matthew Cowles. Test case and sample email included.
* Added various tidbits.Jack Jansen2001-10-251-3/+18
|
* I went back and figured out the release date for Python 2.2a1.Barry Warsaw2001-10-251-0/+1
|
* Applying proposed patch for bug #474583, optional support forBarry Warsaw2001-10-253-148/+263
| | | | | | | | | | | | | | | | | | | non-standard but common types. Including Martin's suggestion to add rejected non-standard types from patch #438790. Specifically, guess_type(), guess_extension(): Both the functions and the methods grow an optional "strict" flag, defaulting to true, which determines whether to recognize non-standard, but commonly found types or not. Also, I sorted, reformatted, and culled duplicates from the big types_map dictionary. Note that there are a few non-equivalent duplicates (e.g. .cdf and .xls) for which the first will just get thrown away. I didn't remove those though. Finally, use of the module as a script as grown the -l and -e options to toggle strictness and to do guess_extension(), respectively. Doc and unittest updates too.
* Use PyDict_Copy() and PyDict_Update() instead of using PyObject_CallMethod()Fred Drake2001-10-251-5/+3
| | | | | | to call the corresponding methods. This is not a performance improvement since the times are still swamped by disk I/O, but cleans up the code just a little.
* Typo: NamedNodeList --> NamedNodeMapFred Drake2001-10-251-1/+1
|
* Fix SF bug #474538: Memory (reference) leak in poller.register (Dave Brueck)Guido van Rossum2001-10-252-3/+14
| | | | | | | | Replace some tortuous code that was trying to be clever but forgot to DECREF the key and value, by more longwinded but obviously correct code. (Inspired by but not copying the fix from SF patch #475033.)
* Ignore the posixfile deprecation warning for the test suite.Fred Drake2001-10-251-0/+3
|
* complex_subtype_from_string(): move the declaration of s_buffer[] outGuido van Rossum2001-10-251-1/+3
| | | | | | | | of the if block where it was before. The name is only used inside that if block, but the storage is referenced outside it via the 's' variable. (This patch was part of SF patch #474590 -- RISC OS support.)
* Slightly better conformance to the Python C style guide.Fred Drake2001-10-251-4/+8
|
* One more LaTeX-ism that we'd rather ignore.Fred Drake2001-10-251-0/+1
|
* No need to run make twice here.Fred Drake2001-10-251-1/+0
|
* Update the rules so that changes to the HTML stylesheet cause appropriateFred Drake2001-10-251-21/+55
| | | | work to be done, but do not require the HTML to be re-built.
* After discussion with itojun, it was clarified that Tru64 is in error,Martin v. Löwis2001-10-251-1/+3
| | | | and that the work-around should be restricted to that system.
* (experimental) "finditer" method/function. this works pretty muchFredrik Lundh2001-10-242-0/+38
| | | | | like findall, but returns an iterator (which returns match objects) instead of a list of strings/tuples.
* Add a warning to the posixfile module stating that it will go away.Fred Drake2001-10-241-0/+7
|
* Make the deprecation notice use the same form as other such notices.Fred Drake2001-10-241-3/+3
| | | | This has sat around in a deprecated state for a *long* time!
* Minor revision of the text.Fred Drake2001-10-241-2/+2
|
* Note updated RISCOS port. Remove reference in the 2.1 release notesGuido van Rossum2001-10-241-4/+8
| | | | to os.extsep -- that variable actually didn't exist in that release!
* Convert getrefcount() to METH_O, and sys_excepthook() to useFred Drake2001-10-241-6/+3
| | | | PyArg_UnpackTuple().
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-2433-189/+257
|
* SF bug #473525 pyclbr brokenTim Peters2001-10-241-5/+6
| | | | | | | | As the comments in the module implied, pyclbr was easily confused by "strange stuff" inside single- (but not triple-) quoted strings. It isn't anymore. Its behavior remains flaky in the presence of nested functions and classes, though. Bugfix candidate.
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-2412-72/+140
|
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-242-108/+377
|
* When describing "import *", add a level of indirection between "*" and theFred Drake2001-10-241-3/+17
| | | | | | | | set of names imported (the "public names"), adding a definition of "public names" that describes the use of __all__. This closes SF bug #473986. Flesh out the vague reference to __import__().
* Fix typo. Thanks to Jack Jansen for spotting it.Martin v. Löwis2001-10-241-1/+1
|
* Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED andMartin v. Löwis2001-10-245-7/+95
| | | | | | STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize access to _flags on systems where WINDOW is opaque. Fixes bugs #432497, #422265, and the curses parts of #467145 and #473150.
* Include netdb.h to detect getaddrinfo. Work around problem with getaddrinfoMartin v. Löwis2001-10-243-369/+361
| | | | not properly processing numeric IPv4 addresses. Fixes V5.1 part of #472675.
* Oops, undo previous change, which wasn't supposed to escape from myJack Jansen2001-10-241-1/+1
| | | | | machine. Luckily everyone is asleep, so I didn't have to use the time machine.
* Added missing cast.Jack Jansen2001-10-231-1/+1
|
* Some escaped newlines had spaces between the backslash and the newline. Also ↵Jack Jansen2001-10-231-7/+4
| | | | slightly changed the comment on xstat().
* New URL for Joe Strouts example page.Jack Jansen2001-10-231-3/+3
|
* Got this to work in MacPython. The code is #ifdef macintosh style (to match ↵Jack Jansen2001-10-231-2/+10
| | | | the existing #ifdef MS_WINDOWS), but eventually ifdeffing on configure features is probably better.
* Added _hotshot.Jack Jansen2001-10-232-0/+3
|
* quit() wasn't included in the suite. This is a quick manual patch to add it.Jack Jansen2001-10-231-1/+2
|
* Tweaks for MacPython 2.2b1Jack Jansen2001-10-2311-57/+52
|
* Tweaks for MacPython 2.2b1.Jack Jansen2001-10-231-0/+0
|
* Apply the first chunk of the second patch from SF bug #471720:Guido van Rossum2001-10-231-3/+11
| | | | | | | | | | | | | ThreadingMixIn/TCPServer forgets close (Max Neunhöffer). This ensures that handle_error() and close_request() are called when an error occurs in the thread. (I am not applying the second chunk of the patch, which moved the finish() call into the finally clause in BaseRequestHandler's __init__ method; that would be a semantic change that I cannot accept at this point - the data would be sent even if the handler raised an exception.)
* SF patch #474175 (Jay T Miller): file.readinto arg parsing bugGuido van Rossum2001-10-232-1/+3
| | | | | | | | | | | | | | | | | | | | | | The C-code in fileobject.readinto(buffer) which parses the arguments assumes that size_t is interchangeable with int: size_t ntodo, ndone, nnow; if (f->f_fp == NULL) return err_closed(); if (!PyArg_Parse(args, "w#", &ptr, &ntodo)) return NULL; This causes a problem on Alpha / Tru64 / OSF1 v5.1 where size_t is a long and sizeof(long) != sizeof(int). The patch I'm proposing declares ntodo as an int. An alternative might be to redefine w# to expect size_t. [We can't change w# because there are probably third party modules relying on it. GvR]
* Convert the ref() and proxy() implementations to use the newFred Drake2001-10-231-2/+2
| | | | PyArg_UnpackTuple() function (serves as an example and test case).
* Documentation for the new PyArg_UnpackTuple() function.Fred Drake2001-10-231-0/+47
|
* PyArg_UnpackTuple(): New argument unpacking function suggested by JimFred Drake2001-10-232-0/+61
| | | | Fulton, based on code Jim supplied.
* Fill out section on how to write a new-style classAndrew M. Kuchling2001-10-231-7/+145
|
* test_curses is an expected skip on Linux too.Guido van Rossum2001-10-231-0/+1
|
* Style conformance: function name begins a new line *consistently*.Fred Drake2001-10-231-7/+11
| | | | Make convertbuffer() static like the prototype says. Not used elsewhere.
* font/tabs config dialog page now reads its data from the config fileSteven M. Gava2001-10-233-30/+108
|
* SF bug [#473864] doctest expects spurios space.Tim Peters2001-10-231-0/+6
| | | | | | Repair unlikely surprise due to magical softspace attr and the use of print with a trailing comma in doctest examples. Bugfix candidate.