Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more example exceptions that unpickling can raise. | Neil Schemenauer | 2002-03-22 | 1 | -1/+2 |
| | |||||
* | Handle os.listdir("") case correctly on Windows. Closes bug 500705. | Neil Schemenauer | 2002-03-22 | 1 | -4/+5 |
| | |||||
* | Disallow open()ing of directories. Closes SF bug 487277. | Neil Schemenauer | 2002-03-22 | 1 | -0/+28 |
| | |||||
* | better solution for bug #533234 courtesy of Tim. | Skip Montanaro | 2002-03-22 | 1 | -1/+2 |
| | | | | Michael: use this version as the bugfix candidate... | ||||
* | guarantee that the dst flag of synthetic "time" tuples passed to strftime | Skip Montanaro | 2002-03-22 | 1 | -1/+1 |
| | | | | is always 0. This closes bug #533234. | ||||
* | use stat attributes instead of tuple entries | Walter Dörwald | 2002-03-22 | 1 | -3/+2 |
| | | | | and remove the unneccessary "import stat" statement. | ||||
* | Fix broken HTML in the head; this was reported by a user as causing Opera 6.01 | Fred Drake | 2002-03-22 | 1 | -1/+1 |
| | | | | | to crash. The user has reported the problem to Opera, but we still should generate something that passes for HTML. | ||||
* | Add news about pymalloc being enabled. | Neil Schemenauer | 2002-03-22 | 1 | -0/+9 |
| | |||||
* | Use pymalloc for realloc() as well. | Neil Schemenauer | 2002-03-22 | 1 | -2/+2 |
| | |||||
* | Revert part of previous patch: several install_* subcommands expect | Andrew M. Kuchling | 2002-03-22 | 1 | -1/+1 |
| | | | | | | | | .compile to be None, and set it to true if it is. Caught by Pearu Peterson. Bugfix candidate, if the previous change is accepted for release22-maint. | ||||
* | Enable pymalloc by default. | Neil Schemenauer | 2002-03-22 | 2 | -341/+359 |
| | |||||
* | Use pymalloc if it's enabled. | Neil Schemenauer | 2002-03-22 | 7 | -24/+24 |
| | |||||
* | Add pymalloc object memory management functions. These must be | Neil Schemenauer | 2002-03-22 | 1 | -0/+24 |
| | | | | | available even if pymalloc is disabled since extension modules might use them. | ||||
* | Make PyObject_{NEW,New,Del,DEL} always use the standard malloc (PyMem_*) | Neil Schemenauer | 2002-03-22 | 1 | -8/+23 |
| | | | | | | and not pymalloc. Add the functions PyMalloc_New, PyMalloc_NewVar, and PyMalloc_Del that will use pymalloc if it's enabled. If pymalloc is not enabled then they use the standard malloc (PyMem_*). | ||||
* | Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier) | Jack Jansen | 2002-03-22 | 2 | -2/+188 |
| | | | | | | don't cause import failure. Fixes 531398, 2.2.1 candidate. | ||||
* | - Weaklink InterfaceLib in _Res module | Jack Jansen | 2002-03-22 | 1 | -3/+6 |
| | | | | | | | - forgot to pass libraryflags and stdlibraryflags on to ppc/carbon project generation. First half of fix to 531398. | ||||
* | Enable pymalloc by default in the Windows build. | Tim Peters | 2002-03-22 | 1 | -3/+6 |
| | |||||
* | Add a simple test suite for netrc.py, and remove it from test_sundry | Andrew M. Kuchling | 2002-03-22 | 2 | -1/+43 |
| | |||||
* | SF bug 533198: Complex power underflow raises exception. | Tim Peters | 2002-03-22 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | Konrad was too kind. Not only did it raise an exception, the specific exception it raised made no sense. These are old bugs in complex_pow() and friends: 1. Raising 0 to a negative power isn't a range error, it's a domain error, so changed c_pow() to set errno to EDOM in that case instead of ERANGE. 2. Changed complex_pow() to: A. Used the Py_ADJUST_ERANGE2 macro to try to clear errno of a spurious ERANGE error due to underflow in the libm pow() called by c_pow(). B. Produced different exceptions depending on the errno value: i) For errno==EDOM, raise ZeroDivisionError instead of ValueError. This is for consistency with the non-complex cases 0.0**-2 and 0**-2 and 0L**-2. ii) For errno==ERANGE, raise OverflowError. Bugfix candidate. | ||||
* | [Bug #532115] netrc module was broken | Andrew M. Kuchling | 2002-03-22 | 1 | -11/+9 |
| | | | | | | | | * 'macdef' (macro definition) wasn't parsed correctly * account value not reset for a subsequent 'default' line * typo: 'whitepace' -> 'whitespace' Bugfix candidate. | ||||
* | [Bug #532136] Change path in README, as suggested by Ralph Corderoy | Andrew M. Kuchling | 2002-03-21 | 1 | -2/+2 |
| | | | | Bugfix candidate. | ||||
* | Add missing Boolean options | Andrew M. Kuchling | 2002-03-21 | 1 | -3/+2 |
| | | | | | | | Remove unused no_compile flag Initialize the Boolean attribute .compile to 0 instead of None Bugfix candidate. | ||||
* | Add unlisted Boolean options. Thomas H., can you please check that I | Andrew M. Kuchling | 2002-03-21 | 1 | -1/+2 |
| | | | | | | got this right? Bugfix candidate, unless Thomas notes a problem. | ||||
* | [Bug #517451] bdist_rpm didn't list all of its Boolean options. | Andrew M. Kuchling | 2002-03-21 | 1 | -1/+1 |
| | | | | | | (Someone should check the other commands for this same error.) Bugfix candidate. | ||||
* | Added an open_pathname() method which opens a resource file by pathname, | Jack Jansen | 2002-03-21 | 1 | -7/+12 |
| | | | | possibly converting from AppleSingle. | ||||
* | For reasons I don't fully understand we sometimes get unexpected events | Jack Jansen | 2002-03-21 | 2 | -2/+8 |
| | | | | | in MachoPython. As we don't have MacOS.HandleEvent() we drop these on the floor (with a print). | ||||
* | Solve sync() signature conflict differently: manually return 0 if | Jack Jansen | 2002-03-21 | 1 | -3/+5 |
| | | | | we have GUSI's void sync(). | ||||
* | New checkin to convert from BinHex to AppleSingle encoding. | Jack Jansen | 2002-03-21 | 1 | -0/+0 |
| | |||||
* | Patch #532729: check for sem_init in -lrt. | Martin v. Löwis | 2002-03-21 | 3 | -264/+313 |
| | |||||
* | Fix grammar | Neal Norwitz | 2002-03-21 | 1 | -1/+1 |
| | |||||
* | [Apply SF patch #504943] | Walter Dörwald | 2002-03-21 | 3 | -6/+23 |
| | | | | | | This patch makes it possible to pass Warning instances as the first argument to warnings.warn. In this case the category argument will be ignored. The message text used will be str(warninginstance). | ||||
* | Do not insert characters for unicode-escape decoders if the error mode | Martin v. Löwis | 2002-03-21 | 2 | -14/+32 |
| | | | | is "ignore". Fixes #529104. | ||||
* | [Apply patch #500457 from the PyXML tracker] | Andrew M. Kuchling | 2002-03-20 | 1 | -0/+9 |
| | | | | | | Add iterator support to pulldom.DOMEventStream New feature, so not a bugfix candidate (though it should be safe for inclusion) | ||||
* | Remove compiler warnings on Solaris 8. | Neal Norwitz | 2002-03-20 | 4 | -3/+5 |
| | | | | Can go into 2.2.x, but not necessary. | ||||
* | Change raw "except:" constructs to pass on KeyboardInterrupt. | Tim Peters | 2002-03-20 | 1 | -0/+4 |
| | | | | | Bugfix candidate? Don't know -- never bothered me, but it's minor either way. | ||||
* | SF# 522426, add doc for common parameter for filecmp.cmpfiles() | Neal Norwitz | 2002-03-20 | 1 | -0/+1 |
| | |||||
* | Make GzipFile an iterator. Closes bug #532621. | Neil Schemenauer | 2002-03-20 | 1 | -0/+10 |
| | |||||
* | Arrange to export the _PyMalloc_{Malloc, Realloc, Free} entry points. On | Tim Peters | 2002-03-20 | 1 | -3/+3 |
| | | | | | | | | | | | | | Windows some modules are considered (by me, and I don't care what anyone else thinks about this <wink>) to be part of "the core" despite that they happen to be compiled into separate DLLs (the "to DLL or not to DLL?" question on Windows is nearly arbitrary). Making the pymalloc entry points available to them allows the Windows build to complete without incident when WITH_PYMALLOC is #define'd. Note that this isn't unprecedented. Other "private API" functions we export include _PySequence_IterSearch, _PyEval_SliceIndex, _PyCodec_Lookup, _Py_ZeroStruct, _Py_TrueStruct, _PyLong_New and _PyModule_Clear. | ||||
* | A faster version of the find_prefix_at_end() function (that I found in the | Andrew M. Kuchling | 2002-03-20 | 1 | -9/+7 |
| | | | | | | last Medusa release) Should be safe as a bugfix candidate, though it's not fixing a bug. | ||||
* | [Bug #528914] PyTraceBack_Store/Fetch were deleted in 1997, but their | Andrew M. Kuchling | 2002-03-19 | 1 | -3/+1 |
| | | | | | | prototypes remain. Noted by Yakov Markovitch. Bugfix candidate. | ||||
* | Expand LINKCC in configure.in. Suggested in bug report #529713. | Martin v. Löwis | 2002-03-19 | 2 | -5/+5 |
| | |||||
* | Adjust some poor wording in the text that explains what events are used | Fred Drake | 2002-03-19 | 1 | -27/+29 |
| | | | | | for (reported by Keith Briggs). Wrap some very long lines. | ||||
* | Clarify that copy_reg.pickle() is not intended for use with "classic" classes. | Fred Drake | 2002-03-19 | 1 | -3/+5 |
| | | | | | | This was stated before, but a minor grammatical error made it difficult to be sure of the meaning. This closes SF bug #530143. | ||||
* | Record 2.2.1c1 release date. | Tim Peters | 2002-03-19 | 1 | -1/+1 |
| | |||||
* | [Bug #531616] Make HTTPS work again by adding a sendall method to the | Andrew M. Kuchling | 2002-03-18 | 1 | -0/+3 |
| | | | | | | | | | | FakeSocket class. Without it, the sendall() call got the method on the underlying socket object, and that messed up SSL. Does httplib use other methods of sockets that FakeSocket doesn't support? Someone should take a look... (I'll try to give it a once-over.) 2.2.1 bugfix candidate. | ||||
* | To make 'urllib.py -t' run again, change FTP URL to a file that actually | Andrew M. Kuchling | 2002-03-18 | 1 | -1/+1 |
| | | | | exists. | ||||
* | use -kb on idle/Icons/minusnode.gif ("cvs up" kept checking it out all | Fredrik Lundh | 2002-03-18 | 1 | -0/+0 |
| | | | | the time...) | ||||
* | Drop the PyCore_* memory API. | Neil Schemenauer | 2002-03-18 | 4 | -92/+71 |
| | |||||
* | Re-enable GC of generator objects. | Neil Schemenauer | 2002-03-18 | 1 | -6/+6 |
| | |||||
* | Re-enable GC of method objects. | Neil Schemenauer | 2002-03-18 | 1 | -7/+6 |
| |