Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use symbolic constants for allowable short ranges. | Martin v. Löwis | 2000-09-15 | 1 | -4/+7 |
| | |||||
* | Closes SF bug 113894: on Windows, things like os.listdir("k:") and | Tim Peters | 2000-09-15 | 1 | -9/+7 |
| | | | | | | glob.glob("k:*py") (i.e., a raw drive letter + colon at the start) were using the root of the drive rather than the expected Windows behavior of using the drive's "current directory". | ||||
* | Check range for bytes and shorts. Closes bug #110845. | Martin v. Löwis | 2000-09-15 | 1 | -2/+42 |
| | |||||
* | Trent Mick points out that the BSD DB also provides an ndbm compatibility | Fred Drake | 2000-09-15 | 1 | -0/+2 |
| | | | | layer. If that is available, consider that as an option as well. | ||||
* | Use the configure support to determine which ndbm.h header to include. | Fred Drake | 2000-09-14 | 1 | -0/+10 |
| | |||||
* | Add several dl.RTLD_ constants. Closes bug 110842. | Martin v. Löwis | 2000-09-13 | 1 | -2/+38 |
| | |||||
* | Simplify some of the code. Use PyErr_Format() instead of sprintf(), etc. | Fred Drake | 2000-09-12 | 1 | -186/+122 |
| | | | | Reduces lines of code and compiled object size. | ||||
* | General cleanup in preparation for a bugfix: removed unused code, useless | Tim Peters | 2000-09-10 | 1 | -65/+27 |
| | | | | | | | | declarations, added some comments where I had to think too hard to understand what was happening, and changed the primary internal get/set functions to assert they're passed objects of the correct type instead of doing runtime tests for that (it's an internal error that "should never happen", so it's good enough to check it only in the debug build). | ||||
* | autodetect presence of libdb - this allows bsddbmodule to be built | Skip Montanaro | 2000-09-08 | 1 | -1/+1 |
| | | | | | automatically if dbopen is found in libc or libdb. This closes patch #101420 | ||||
* | Oops. Jim's fix didn't. This one does -- I tested it a bit better | Guido van Rossum | 2000-09-07 | 1 | -4/+19 |
| | | | | this time! | ||||
* | Simple fix from Jin Fulton to avoid returning a half-initialized | Guido van Rossum | 2000-09-07 | 1 | -2/+2 |
| | | | | | | module when e.g. copy_reg.py doesn't exist. This caused a core dump. This closes SF bug 112944. | ||||
* | compromise value for threshold0: not too high, not too low | Jeremy Hylton | 2000-09-05 | 1 | -1/+1 |
| | |||||
* | Instead of printing all 9 lines of copyright info, print | Guido van Rossum | 2000-09-05 | 1 | -1/+4 |
| | | | | "Type \"copyright\", \"credits\" or \"license\" for more information." | ||||
* | return -1 for undefined groups (as implemented in 1.5.2) instead of | Fredrik Lundh | 2000-09-02 | 1 | -16/+4 |
| | | | | None (as documented) from start/end/span. closes bug #113254 | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 48 | -464/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | The second argument to start_new_thread() is not a tuple, as pointed | Guido van Rossum | 2000-09-01 | 1 | -2/+2 |
| | | | | out by Curtis Jensen on c.l.py and forwarded by Fredrik Lundh. | ||||
* | Repaired damaged comments, and extra spaces in fatal error msgs we'd better | Tim Peters | 2000-09-01 | 1 | -6/+7 |
| | | | | not ever see! | ||||
* | Move the Py_DECREF(x) after the error: label so that we don't leak x | Guido van Rossum | 2000-09-01 | 1 | -1/+1 |
| | | | | when PyDict_SetItemString() fails. | ||||
* | Do the absolute minimal amount of modifications to eradicate | Barry Warsaw | 2000-09-01 | 15 | -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 | ||||
* | Fix test_popen2 on Windows, recently broken by changes to the dict(!) | Tim Peters | 2000-09-01 | 1 | -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>. | ||||
* | set the default threshold much higher | Jeremy Hylton | 2000-09-01 | 1 | -1/+1 |
| | | | | we don't need to run gc frequently | ||||
* | Don't call Py_FatalError in module initialization | Jeremy Hylton | 2000-09-01 | 2 | -7/+0 |
| | | | | (leaving the rest of the modules for Barry) | ||||
* | refactor __del__ exception handler into PyErr_WriteUnraisable | Jeremy Hylton | 2000-09-01 | 1 | -1/+10 |
| | | | | | 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 Rossum | 2000-09-01 | 1 | -0/+3 |
| | |||||
* | Moodules -> Modules. | Guido van Rossum | 2000-09-01 | 1 | -1/+1 |
| | |||||
* | Minor adjustment to Setup.in message, based on comment from Barry Warsaw. | Fred Drake | 2000-08-31 | 1 | -7/+7 |
| | |||||
* | This module has a poor name, since it can be used under FreeBSD and | Jeremy Hylton | 2000-08-31 | 1 | -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) | ||||
* | If Setup is older than Setup.in, issue a bold warning that the Setup may | Fred Drake | 2000-08-31 | 1 | -2/+11 |
| | | | | | | need to be checked to make sure all the latest information is present. This closes SourceForge patch #101275. | ||||
* | Skip Montanaro <skip@mojam.com>: | Fred Drake | 2000-08-31 | 3 | -1/+16 |
| | | | | | | | | | | | 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. | ||||
* | apply patch #101362 by Vladimir Marangozov | Jeremy Hylton | 2000-08-31 | 1 | -33/+24 |
| | | | | also initial static debug variable to 0 | ||||
* | Peter Schneider-Kamp <nowonder@nowonder.de>: | Fred Drake | 2000-08-31 | 3 | -11/+9 |
| | | | | | | Remove some of GCC's warning in -Wstrict-prototypes mode. This closes SourceForge patch #101342. | ||||
* | Remove one compiler warning found with -Wstrict-prototypes. | Fred Drake | 2000-08-31 | 1 | -1/+1 |
| | |||||
* | oops. accidentally reintroduced a memory leak. put the bugfix back. | Fredrik Lundh | 2000-08-27 | 1 | -3/+4 |
| | |||||
* | don't mistake memory errors (including reaching the recursion limit) | Fredrik Lundh | 2000-08-27 | 1 | -18/+24 |
| | | | | | | | with success. also, check return values from the mark functions. this addresses (but doesn't really solve) bug #112693, and low-memory problems reported by jack jansen. | ||||
* | Add three new APIs: PyRun_AnyFileEx(), PyRun_SimpleFileEx(), | Guido van Rossum | 2000-08-27 | 1 | -4/+3 |
| | | | | | | | | | | | | | | PyRun_FileEx(). These are the same as their non-Ex counterparts but have an extra argument, a flag telling them to close the file when done. Then this is used by Py_Main() and execfile() to close the file after it is parsed but before it is executed. Adding APIs seems strange given the feature freeze but it's the only way I see to close the bug report without incompatible changes. [ Bug #110616 ] source file stays open after parsing is done (PR#209) | ||||
* | Charles Waldman's patch to reinitialize the interpreter lock after a | Guido van Rossum | 2000-08-27 | 1 | -0/+1 |
| | | | | | | | fork. This solves the test_fork1 problem. (ceval.c, signalmodule.c, intrcheck.c) SourceForge: [ Patch #101226 ] make threading fork-safe | ||||
* | Fixed this problem. | Thomas Wouters | 2000-08-26 | 1 | -4/+0 |
| | |||||
* | Try to supply a prototype for the module init function but avoid | Tim Peters | 2000-08-26 | 2 | -2/+2 |
| | | | | | | Windows "inconsistent linkage" warnings at the same time. I agree with Mark Hammond that the whole DL_IMPORT/DL_EXPORT macro system needs an overhaul; this is just an expedient hack until then. | ||||
* | Update the parser module to support augmented assignment. | Fred Drake | 2000-08-25 | 1 | -6/+30 |
| | | | | Add some test cases. | ||||
* | initpyexpat(): Code cleanup; makes it more robust and reduces warnings. | Fred Drake | 2000-08-25 | 1 | -126/+143 |
| | | | | | | | | | Added prototype to remove yet another warning. Make a number of the handlers and helpers "static" since they are not used in other C source files. This also reduces the number of warnings. Make a lot of the code "more Python". (Need to get the style guide done!) | ||||
* | Not every OS that support poll seems to support POLLMSG. | Sjoerd Mullender | 2000-08-25 | 1 | -0/+2 |
| | |||||
* | Add interface to poll() system call (SF patch #100852) | Andrew M. Kuchling | 2000-08-25 | 1 | -2/+319 |
| | |||||
* | Adjust the name for the socket module in the SSL line. | Thomas Wouters | 2000-08-24 | 1 | -1/+1 |
| | |||||
* | Fix the evil booboos. ;( Causes discussed with Jeremy offline. | Fred Drake | 2000-08-24 | 1 | -2/+2 |
| | |||||
* | Remove the Py_FatalError() from initpyexpat(); the Guido has decreed | Fred Drake | 2000-08-24 | 1 | -10/+22 |
| | | | | | | | | | that this is not appropriate. Made somewhat more robust in the face of reload() (exception is not rebuilt, etc.). Made the exception a class exception. | ||||
* | validate_listmaker(): Revise to match Skip's latest changes to the | Fred Drake | 2000-08-23 | 1 | -6/+12 |
| | | | | Grammar file. This makes the test suite pass once again. | ||||
* | Nuked unused variable. | Tim Peters | 2000-08-22 | 1 | -1/+0 |
| | |||||
* | Update to reflect recent grammar changes (list comprehensions, extended | Fred Drake | 2000-08-21 | 1 | -178/+363 |
| | | | | | | print statement), and fix up the extended call syntax support. Minor stylistic cleanups. | ||||
* | Add alias for old function name -- removing it broke Alexei Gilchrist's cfm | Andrew M. Kuchling | 2000-08-20 | 1 | -0/+2 |
| | |||||
* | Use METH_VARARGS constant in example module. | Andrew M. Kuchling | 2000-08-19 | 1 | -6/+6 |
| | | | | Fix comment typo |