Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added various tidbits. | Jack Jansen | 2001-10-25 | 1 | -3/+18 |
| | |||||
* | I went back and figured out the release date for Python 2.2a1. | Barry Warsaw | 2001-10-25 | 1 | -0/+1 |
| | |||||
* | Applying proposed patch for bug #474583, optional support for | Barry Warsaw | 2001-10-25 | 3 | -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 Drake | 2001-10-25 | 1 | -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 --> NamedNodeMap | Fred Drake | 2001-10-25 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #474538: Memory (reference) leak in poller.register (Dave Brueck) | Guido van Rossum | 2001-10-25 | 2 | -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 Drake | 2001-10-25 | 1 | -0/+3 |
| | |||||
* | complex_subtype_from_string(): move the declaration of s_buffer[] out | Guido van Rossum | 2001-10-25 | 1 | -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 Drake | 2001-10-25 | 1 | -4/+8 |
| | |||||
* | One more LaTeX-ism that we'd rather ignore. | Fred Drake | 2001-10-25 | 1 | -0/+1 |
| | |||||
* | No need to run make twice here. | Fred Drake | 2001-10-25 | 1 | -1/+0 |
| | |||||
* | Update the rules so that changes to the HTML stylesheet cause appropriate | Fred Drake | 2001-10-25 | 1 | -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öwis | 2001-10-25 | 1 | -1/+3 |
| | | | | and that the work-around should be restricted to that system. | ||||
* | (experimental) "finditer" method/function. this works pretty much | Fredrik Lundh | 2001-10-24 | 2 | -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 Drake | 2001-10-24 | 1 | -0/+7 |
| | |||||
* | Make the deprecation notice use the same form as other such notices. | Fred Drake | 2001-10-24 | 1 | -3/+3 |
| | | | | This has sat around in a deprecated state for a *long* time! | ||||
* | Minor revision of the text. | Fred Drake | 2001-10-24 | 1 | -2/+2 |
| | |||||
* | Note updated RISCOS port. Remove reference in the 2.1 release notes | Guido van Rossum | 2001-10-24 | 1 | -4/+8 |
| | | | | to os.extsep -- that variable actually didn't exist in that release! | ||||
* | Convert getrefcount() to METH_O, and sys_excepthook() to use | Fred Drake | 2001-10-24 | 1 | -6/+3 |
| | | | | PyArg_UnpackTuple(). | ||||
* | SF patch #474590 -- RISC OS support | Guido van Rossum | 2001-10-24 | 33 | -189/+257 |
| | |||||
* | SF bug #473525 pyclbr broken | Tim Peters | 2001-10-24 | 1 | -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 support | Guido van Rossum | 2001-10-24 | 12 | -72/+140 |
| | |||||
* | SF patch #474590 -- RISC OS support | Guido van Rossum | 2001-10-24 | 2 | -108/+377 |
| | |||||
* | When describing "import *", add a level of indirection between "*" and the | Fred Drake | 2001-10-24 | 1 | -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öwis | 2001-10-24 | 1 | -1/+1 |
| | |||||
* | Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED and | Martin v. Löwis | 2001-10-24 | 5 | -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 getaddrinfo | Martin v. Löwis | 2001-10-24 | 3 | -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 my | Jack Jansen | 2001-10-24 | 1 | -1/+1 |
| | | | | | machine. Luckily everyone is asleep, so I didn't have to use the time machine. | ||||
* | Added missing cast. | Jack Jansen | 2001-10-23 | 1 | -1/+1 |
| | |||||
* | Some escaped newlines had spaces between the backslash and the newline. Also ↵ | Jack Jansen | 2001-10-23 | 1 | -7/+4 |
| | | | | slightly changed the comment on xstat(). | ||||
* | New URL for Joe Strouts example page. | Jack Jansen | 2001-10-23 | 1 | -3/+3 |
| | |||||
* | Got this to work in MacPython. The code is #ifdef macintosh style (to match ↵ | Jack Jansen | 2001-10-23 | 1 | -2/+10 |
| | | | | the existing #ifdef MS_WINDOWS), but eventually ifdeffing on configure features is probably better. | ||||
* | Added _hotshot. | Jack Jansen | 2001-10-23 | 2 | -0/+3 |
| | |||||
* | quit() wasn't included in the suite. This is a quick manual patch to add it. | Jack Jansen | 2001-10-23 | 1 | -1/+2 |
| | |||||
* | Tweaks for MacPython 2.2b1 | Jack Jansen | 2001-10-23 | 11 | -57/+52 |
| | |||||
* | Tweaks for MacPython 2.2b1. | Jack Jansen | 2001-10-23 | 1 | -0/+0 |
| | |||||
* | Apply the first chunk of the second patch from SF bug #471720: | Guido van Rossum | 2001-10-23 | 1 | -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 bug | Guido van Rossum | 2001-10-23 | 2 | -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 new | Fred Drake | 2001-10-23 | 1 | -2/+2 |
| | | | | PyArg_UnpackTuple() function (serves as an example and test case). | ||||
* | Documentation for the new PyArg_UnpackTuple() function. | Fred Drake | 2001-10-23 | 1 | -0/+47 |
| | |||||
* | PyArg_UnpackTuple(): New argument unpacking function suggested by Jim | Fred Drake | 2001-10-23 | 2 | -0/+61 |
| | | | | Fulton, based on code Jim supplied. | ||||
* | Fill out section on how to write a new-style class | Andrew M. Kuchling | 2001-10-23 | 1 | -7/+145 |
| | |||||
* | test_curses is an expected skip on Linux too. | Guido van Rossum | 2001-10-23 | 1 | -0/+1 |
| | |||||
* | Style conformance: function name begins a new line *consistently*. | Fred Drake | 2001-10-23 | 1 | -7/+11 |
| | | | | Make convertbuffer() static like the prototype says. Not used elsewhere. | ||||
* | font/tabs config dialog page now reads its data from the config file | Steven M. Gava | 2001-10-23 | 3 | -30/+108 |
| | |||||
* | SF bug [#473864] doctest expects spurios space. | Tim Peters | 2001-10-23 | 1 | -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-like | Neil Schemenauer | 2001-10-23 | 4 | -9/+18 |
| | | | | functions. | ||||
* | Hide GCC attributes fom compilers that don't support them. | Neil Schemenauer | 2001-10-23 | 1 | -0/+9 |
| | |||||
* | Doc and NEWS changes due to Jeremy adding traceback objects to gc. | Tim Peters | 2001-10-23 | 2 | -1/+8 |
| | |||||
* | Make traceback objects collectable. | Jeremy Hylton | 2001-10-22 | 1 | -2/+46 |
| | | | | | This should eliminate the traceback returned by sys.exc_info() as a common source of memory leaks. |