- 02 Jul, 2004 5 commits
-
-
Thomas Heller authored
-
Thomas Heller authored
table' of the dll, to make sure that the dll really was build for the correct Python version. It does this by looking for an entry 'pythonXY.dll' (X.Y is the Python version number). The code now checks the size of the dll's import table before reading entries from it. Before this patch, the code crashed trying to read the import table when the size was zero (as in Win2k's wmi.dll, for example). Look for imports of 'pythonXY_d.dll' in a debug build instead of 'pythonXY.dll'. Fixes SF 951851: Crash when reading "import table" of certain windows dlls. Already backported to the 2.3 branch.
-
Thomas Heller authored
Patch from Mark Hammond. Recompiled binary. Already packported to the 2.3 branch.
-
Raymond Hettinger authored
The builtin eval() function now accepts any mapping for the locals argument. Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing down the normal case. My timings so no measurable impact.
-
Skip Montanaro authored
-
- 01 Jul, 2004 11 commits
-
-
Brett Cannon authored
char *`` instead of just ``char *``. Also added the mentioning of "const" in some places where it was left out even when the signature already stated the fact. Closes bug #980925.
-
Fred Drake authored
test_repr() fails with id() values that appear negative
-
Walter Dörwald authored
instead of ValueError. Add a note about error handling schemes added by PEP 293.
-
Skip Montanaro authored
-
Michael W. Hudson authored
[ 924301 ] A leak case with cmd.py & readline & exception by ensuring that the readline completion function is always reset even in the case of an exception being raised. As a bonus, this makes the documentation for pre & postloop accurate again.
-
Fred Drake authored
-
Fred Drake authored
-
Raymond Hettinger authored
* Format an example so that the identation is more obvious. * Add a section on the decimal module to the Brief Tour Part II.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 30 Jun, 2004 4 commits
-
-
Skip Montanaro authored
-
Michael W. Hudson authored
-
Michael W. Hudson authored
-
Michael W. Hudson authored
on the marshalling characteristics of infinities.
-
- 29 Jun, 2004 12 commits
-
-
Fred Drake authored
end-of-options marker wasn't recognized
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
(I ran this through texcheck, but don't have LaTeX installed on this machine and therefore haven't verified that the changes are accepted by LaTeX.)
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
[Bug #912845] urllib2 only checks for a 200 return code, but 206 is also legal if a Range: header was supplied. (Actually, should the first 'if' statement be modified to allow any 2xx status code?)
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Brett Cannon authored
-
Brett Cannon authored
entailed editing the urlparse module.
-
Brett Cannon authored
location) in its addressing. Closes bug #981299.
-
Brett Cannon authored
PyArg_ParseTuple() to ``const char *`` to match the recommendation made in section 1.3 and to support better coding habits. Section 1.8 ("Keyword Parameters for Extension Functions") and it's coding example were not touched since it is stems from an accredited source and thus did not want to step on anyone's toes.
-
- 28 Jun, 2004 6 commits
-
-
Martin v. Löwis authored
-
Raymond Hettinger authored
Now runs without exception on WinME/98.
-
Gregory P. Smith authored
Based on a patch supplied by Ian Ward <ian@arevco.ca> on the pybsddb mailing list 2004-03-26.
-
Gregory P. Smith authored
Make DBTxn objects automatically call abort() in their destructor if not yet finalized and raise a RuntimeWarning to that effect.
-
Barry Warsaw authored
getservbyname() optional. Update the tests and the docs.
-
Brett Cannon authored
-
- 27 Jun, 2004 2 commits
-
-
Gregory P. Smith authored
-
Gregory P. Smith authored
Fix memory leaks revealed by valgrind and ensuing code inspection. In the existing test suite valgrind revealed two memory leaks (DB_get and DBC_set_range). Code inspection revealed that there were many other potential similar leaks (many on odd code error paths such as passing something other than a DBTxn object for a txn= parameter or in the face of an out of memory error). The most common case that would cause a leak was when using recno or queue format databases with integer keys, sometimes only with an exception exit.
-