summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|