summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Add function attributes that allow GCC to check the arguments of printf-likeNeil Schemenauer2001-10-234-9/+18
| | | | functions.
* Hide GCC attributes fom compilers that don't support them.Neil Schemenauer2001-10-231-0/+9
|
* Doc and NEWS changes due to Jeremy adding traceback objects to gc.Tim Peters2001-10-232-1/+8
|
* Make traceback objects collectable.Jeremy Hylton2001-10-221-2/+46
| | | | | This should eliminate the traceback returned by sys.exc_info() as a common source of memory leaks.
* Record that test_curses doesn't run on win32.Tim Peters2001-10-221-0/+1
|
* Fixed denial-of-weak-ref-support test; Jeremy changed the error messageFred Drake2001-10-221-1/+1
| | | | | | used by the weakref code since he didn't like the word "referencable". Is it really necessary to be more specific than to test for TypeError here, though?
* another major speedup: let sre.sub/subn check for escapes in theFredrik Lundh2001-10-221-30/+89
| | | | | template string, and don't call the template compiler if we can avoid it.
* Fixed an example in the use of email.Utils.getaddresses(). TheBarry Warsaw2001-10-221-4/+4
| | | | failobj has to be a list or the `+' can fail.
* Removed two pointless and obfuscating macros.Tim Peters2001-10-221-7/+4
|
* Added two very tardy notes about the 2.2b1 release, fixed a typo.Fred Drake2001-10-221-1/+9
|
* A few formatting nits:Jeremy Hylton2001-10-221-5/+5
| | | | | Don't put paren in column 0 (to please font-lock mode). Put space after comma in argument list.
* Add better support for Mozilla's use of <link> elements.Fred Drake2001-10-221-10/+41
|
* Add curses-related news itemsAndrew M. Kuchling2001-10-221-0/+5
|
* Referencable is not a word, so don't use it in an error message <wink>.Jeremy Hylton2001-10-221-2/+2
|
* cleanup indentationJeremy Hylton2001-10-221-1/+1
|
* Update bug/patch countsAndrew M. Kuchling2001-10-221-1/+1
|
* Patch #473187: Add a test script that exercises most of the functions inAndrew M. Kuchling2001-10-222-1/+214
| | | | | the curses module. It's not run automatically; '-u curses' must be specified as an argument to regrtest
* Do a little bit more to try and add <link> elements to the header, not thatFred Drake2001-10-221-1/+10
| | | | | | | Mozilla 0.9.5 can make intelligent use of them. Specifically, this causes the "Acknowledgements" and "Global Module Index" pages to acquire "up" links in the Mozilla "Site Navigation Bar". This partially responds to SF bug #469772.
* Clarify that the resource module does not attempt to mask platformFred Drake2001-10-221-1/+3
| | | | | differences by defining symbols not defined on particular platforms. This closes SF bug #473433.
* Add correction from /F about SREAndrew M. Kuchling2001-10-221-10/+10
| | | | \filename{} should be \file{}
* sre.split should return the last segment, even if emptyFredrik Lundh2001-10-222-11/+11
| | | | (sorry, barry)
* Make the error message for unsupported operand types cleaner, inGuido van Rossum2001-10-222-8/+28
| | | | | | | | | | | | response to a message by Laura Creighton on c.l.py. E.g. >>> 0+'' TypeError: unsupported operand types for +: 'int' and 'str' (previously this did not mention the operand types) >>> ''+0 TypeError: cannot concatenate 'str' and 'int' objects
* Partly fill out the PEP 252 sectionAndrew M. Kuchling2001-10-221-12/+214
|
* A bunch of minor rewordingsAndrew M. Kuchling2001-10-221-48/+64
|
* Fix for SF bug #472940: can't getattr() attribute shown by dir()Guido van Rossum2001-10-222-33/+6
| | | | | | | | | | There really isn't a good reason for instance method objects to have their own __dict__, __doc__ and __name__ properties that just delegate the request to the function (callable); the default attribute behavior already does this. The test suite had to be fixed because the error changes from TypeError to AttributeError.
* Fix some typosAndrew M. Kuchling2001-10-221-4/+4
|
* Methods of built-in types now properly check for keyword argumentsGuido van Rossum2001-10-225-12/+45
| | | | | (formerly these were silently ignored). The only built-in methods that take keyword arguments are __call__, __init__ and __new__.
* Make tabnanny happy. (Piers, please run the test suite beforeGuido van Rossum2001-10-221-7/+7
| | | | | checking in changes. The test suite requires consistent use of spaces and tabs.)