summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do the absolute minimal amount of modifications to eradicateBarry Warsaw2000-09-0115-67/+31
| | | | | | | | | | | | | | | Py_FatalError() from module initialization functions. The importing mechanism already checks for PyErr_Occurred() after module importation and it Does The Right Thing. Unfortunately, the following either were not compiled or tested by the regression suite, due to issues with my development platform: almodule.c cdmodule.c mpzmodule.c puremodule.c timingmodule.c
* Tool to generate binary GNU .mo file from .po template files. WrittenBarry Warsaw2000-09-011-0/+194
| | | | | | | | by Martin v. Loewis, proofed by Barry Warsaw for coding standards, typos, and to make command line options compatible with GNU msgfmt where they overlap. Closes patch #101295.
* Added installation of w9xpopen.exe.Tim Peters2000-09-011-1/+6
| | | | Removed installation of Lib/plat-win/*.py, because it no longer exists!
* Fix grouping, again. This time properly :-) Sorry, guys.Thomas Wouters2000-09-011-3/+3
|
* Applying patch #100994 to allow JPython to use more of the standardBarry Warsaw2000-09-014-12/+19
| | | | | | | | | | | | | Python test suite. Specifically, - import time instead of strop in test_b1 - test for ClassType of exceptions using isinstance instead of equality in test_exceptions - remove __builtins__ from dir() output in test_pkg test_pkg output needs to be regenerated.
* Fix test_popen2 on Windows, recently broken by changes to the dict(!)Tim Peters2000-09-011-1/+57
| | | | | | | implementation. You don't want to know. I've asked Guido to give this a critical review (we agreed on the approach, but the implementation proved more ... interesting ... than anticipated). This will almost certainly be the highlight of Mark Hammond's day <wink>.
* Applied patch #101350, closing it.Barry Warsaw2000-09-011-1/+3
|
* Document the new optional argument "rest" on the transfercmd(),Barry Warsaw2000-09-011-5/+22
| | | | | ntransfercmd(), and retrbinary() commands. This closes SF patch #101187.
* Added support for RFC 959's REST command (restart), closing SF patchBarry Warsaw2000-09-011-23/+38
| | | | | | | | | | | | | | | | | | | | #101187, which some modifications. Specifically, ntransfercmd(), transfercmd(), and retrbinary() all grow an optional `rest' argument, which if not None, is used as the argument to an FTP REST comman dbefore the socket is returned. Differences from the SF patch: - always compare against None with `is' or `is not' instead of == or != - no parens around conditional - RFC 959 defines the argument to REST is a string containing any ASCII characters in the range [33..126]. Therefore, we use the %s format character instead of %f or %d as suggested in the patch's comments. Note that we do /not/ sanity checkthe contents of the rest argument (but we'll document this in the library reference manual).
* Document PyImport_AppendInittab(), PyImport_ExtendInittab(), andFred Drake2000-09-011-1/+39
| | | | | | struct _inittab. This closes SourceForge bug #111499.
* set the default threshold much higherJeremy Hylton2000-09-011-1/+1
| | | | we don't need to run gc frequently
* code part of patch #100895 by Fredrik LundhJeremy Hylton2000-09-011-4/+124
| | | | | PyErr_Format computes size of buffer needed rather than relying on static buffer.
* Don't call Py_FatalError in module initializationJeremy Hylton2000-09-012-7/+0
| | | | (leaving the rest of the modules for Barry)
* Revert removal of void from function definition. Guido sez I can take itTim Peters2000-09-011-1/+1
| | | | | out again after we complete switching to C++ <wink>. Thanks to Greg Stein for hitting me.
* Now that StreamRequestHandler defaults rfile to buffered, make itGuido van Rossum2000-09-011-0/+4
| | | | | | unbuffered (by setting the class variable rbufsize to 0), because we (may) need to pass the file descriptor to the subprocess running the CGI script positioned after the headers.
* In class StreamRequestHandler, make the default buffering for rfileGuido van Rossum2000-09-011-2/+12
| | | | | | | | | and wfile class variables (that the instance can also override). Change the default for rfile to buffered, because that seems to make a big difference in performance on some platforms. An anti-patch is needed to revert the effect in CGIHTTPServer.py which I'll check in momentarily.
* refactor __del__ exception handler into PyErr_WriteUnraisableJeremy Hylton2000-09-015-21/+50
| | | | | add sanity check to gc: if an exception occurs during GC, call PyErr_WriteUnraisable and then call Py_FatalEror.
* Add three prototypes for functions in history.h to shut up gcc -Wall.Guido van Rossum2000-09-011-0/+3
|
* Moodules -> Modules.Guido van Rossum2000-09-011-1/+1
|
* Add parens suggested by gcc -Wall.Guido van Rossum2000-09-011-2/+3
|
* Repaired comment.Tim Peters2000-09-011-1/+1
|
* Set the recursion limit to 1000 -- 2500 was not enough, let's beGuido van Rossum2000-09-011-1/+1
| | | | conservative.
* Rene Liebscher/Thomas Heller:Greg Ward2000-09-011-20/+22
| | | | | | | * ensure the "dist" directory exists * raise exception if using for modules containing compiled extensions on a non-win32 platform. * don't create an .ini file anymore (it was just for debugging)
* Rene Liebscher:Greg Ward2000-09-011-13/+13
| | | | | | * reverse library names from bcpp_library to library_bcpp * move some code to the right places, to put the def-files in the right directories again
* Rene Liebscher: comment fixes.Greg Ward2000-09-011-2/+2
|
* Rene Liebscher: hack '_init_posix()' to handle the BeOS linker script.Greg Ward2000-09-011-0/+17
| | | | | (With a worry-wart comment added by me about where we *should* add the Python library to the link.)
* Bump version to 0.9.2.Greg Ward2000-09-011-1/+1
|
* Added 'run_setup()' to allow outsiders to run a setup script underGreg Ward2000-09-011-1/+89
| | | | | | | | | | | fairly tight control, and the '_setup_stop_after' and '_setup_distribution' globals to provide the tight control. This isn't entirely reliable yet: it dies horribly with a NameError on the example PIL setup script in examples/pil_setup.py (at least with Python 1.5.2; untested with current Python). There's some strangeness going on with execfile(), but I don't understand it and don't have time to track it down right now.
* Supply missing prototypes for new Py_{Get,Set}RecursionLimit; fixes compiler ↵Tim Peters2000-09-012-1/+3
| | | | | | | wngs; un-analize Get's definition ("void" is needed only in declarations, not defns, & is generally considered bad style in the latter).
* GNUTranslations._parse(): Fix portability problems on 64-bit machinesBarry Warsaw2000-08-311-5/+14
| | | | by masking all unsigned integers with 0xffffffff.
* closes bug #112468 (and all the other bugs that surfaced whenFredrik Lundh2000-08-312-43/+85
| | | | I fixed the a bug in the regression test harness...)
* Fix BeOS check in the libainstall target; noted by Mark FavasFred Drake2000-08-311-1/+1
| | | | <m.favas@per.dem.csiro.au>.
* Minor adjustment to Setup.in message, based on comment from Barry Warsaw.Fred Drake2000-08-311-7/+7
|
* After rerunning autoheader, two symbols (HAVE__GETPTY and WITH_LIBDB)Guido van Rossum2000-08-311-6/+6
| | | | appear in a different place. Oh well.
* Test case to exercise fix for error propogation bug in dictionarys.Fred Drake2000-08-312-2/+28
|
* Fix markup error and minor consistency nit.Fred Drake2000-08-311-2/+2
|
* Slight performance hack that also avoids requiring the existence of threadFred Drake2000-08-311-12/+124
| | | | | | | | state for dictionaries that have only been indexed by string keys. See the comments in SourceForge for more. This closes SourceForge patch #101309.
* script that reports a fairly safe recursionlimit for a specific platformJeremy Hylton2000-08-311-0/+88
|
* add user-modifiable recursion_limitJeremy Hylton2000-08-314-15/+84
| | | | | | | | | | | ceval.c: define recurion_limit (static), default value is 2500 define Py_GetRecursionLimit and Py_SetRecursionLimit raise RuntimeError if limit is exceeded PC/config.h: remove plat-specific definition sysmodule.c: add sys.(get|set)recursionlimit
* Clear errors raised by PyObject_Compare() without losing any existingFred Drake2000-08-311-9/+44
| | | | | | | | | | exception context. This avoids improperly propogating errors raised by a user-defined __cmp__() by a subsequent lookup operation. This patch does *not* include the performance enhancement patch for dictionaries with string keys only; that will be checked in separately. This closes SourceForge patch #101277 and bug #112558.
* This module has a poor name, since it can be used under FreeBSD andJeremy Hylton2000-08-311-0/+10
| | | | | | | | Linux. Perhaps winaudio would be better, as it would offend both parties equally. tg@freebsd.org: allow this module to compile under FreeBSD (he suggests voxwareaudio)
* patch #101733: fix glitch in FreeBSD confJeremy Hylton2000-08-312-3/+3
|
* Document the limitation that urllib does not work with proxies whichFred Drake2000-08-311-5/+9
| | | | | | | require authenication. This is an implementation limitation rather than required behavior, and may be fixed in the future. This closes SourceForge bug #111725.
* If Setup is older than Setup.in, issue a bold warning that the Setup mayFred Drake2000-08-311-2/+11
| | | | | | need to be checked to make sure all the latest information is present. This closes SourceForge patch #101275.
* Remove obsolete --with(out)-readline configure optionVladimir Marangozov2000-08-312-506/+460
|
* Added abstract.Greg Ward2000-08-312-2/+19
|
* UNARY_NEG is supposed to be UNARY_NEGATIVE (spotted by Charles WaldmanFred Drake2000-08-311-2/+2
| | | | | | <cgw@fnal.gov>). Fix minor problem with EXTENDED_ARG description markup..
* Skip Montanaro <skip@mojam.com>:Fred Drake2000-08-312-327/+371
| | | | | | Update the generated files related to the autoconf support for BSD db. This closes SourceForge patch #101272.
* Skip Montanaro <skip@mojam.com>:Fred Drake2000-08-315-2/+44
| | | | | | | | | | | Update the build structures to automatically detect the presence of BSD db, including the proper name of the header file to include. Has all the expected niceties associated with yet-more-configure-options. ;) This checkin includes changes for non-generated files only; subsequent checkin will catch those. This is part of SourceForge patch #101272.
* fixes bug #111951Jeremy Hylton2000-08-313-2/+18
| | | | | | applies patch #101369 by Moshe Zadke use explicit list of always safe characters instead of string.letters add test case