- 18 Jul, 2002 18 commits
-
-
Mark Hammond authored
Python 2.2.1 bugfix candidate.
-
Jeremy Hylton authored
This gets compilation of posixmodule.c to succeed on Tru64 and does no harm on Linux. We may need to undefine it on some platforms, but let's wait and see. Martin says: > I think it is generally the right thing to define _XOPEN_SOURCE on > Unix, providing a negative list of systems that cannot support this > setting (or preferably solving whatever problems remain). > > I'd put an (unconditional) AC_DEFINE into configure.in early on; it > *should* go into confdefs.h as configure proceeds, and thus be active > when other tests are performed.
-
Tim Peters authored
compiler wngs on Windows.
-
Barry Warsaw authored
convenience functions. Closes SF # 583188 (python project).
-
Guido van Rossum authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Fred Drake authored
-
Fred Drake authored
and should never return None. (It only did this for an old version of HotShot that was trying to still work with a patched Python 2.1.)
-
Fred Drake authored
-
Fred Drake authored
Remove the crufty support for Python's that don't have StopIteration; the HotShot patch for Python 2.1 has not been maintained.
-
Fred Drake authored
- The log reader now provides a "closed" attribute similar to the profiler. - Both the profiler and log reader now provide a fileno() method. - Use METH_NOARGS where possible, allowing simpler code in the method implementations.
-
Jeremy Hylton authored
(Silences compiler warning for Compaq C++ 6.5 on Tru64.)
-
Guido van Rossum authored
getdefaulttimeout() functions to the socket and _socket modules, and appropriate tests.
-
Tim Peters authored
the default range to end at 2**20 (machines are much faster now). Fixed what was quite a arguably a bug, explaining an old mystery: the "!sort" case here contructs what *was* a quadratic-time disaster for the old quicksort implementation. But under the current samplesort, it always ran much faster than *sort (the random case). This never made sense. Turns out it was because !sort was sorting an integer array, while all the other cases sort floats; and comparing ints goes much quicker than comparing floats in Python. After changing !sort to chew on floats instead, it's now slower than the random sort case, which makes more sense (but is just a few percent slower; samplesort is massively less sensitive to "bad patterns" than quicksort).
-
Tim Peters authored
file object that LogReader opens. Used it then in test_hotshot; the test passes again on Windows. Thank Guido for the analysis.
-
Guido van Rossum authored
codebase, so get rid of the pre-2.2 contingency.
-
- 17 Jul, 2002 22 commits
-
-
Tim Peters authored
and that I don't know how to fix it. Fred?
-
Barry Warsaw authored
contents of the next command.
-
Fred Drake authored
xmlparser object provided by pyexpat, new in Python 2.3.
-
Fred Drake authored
a docstring for the info attribute of the logreader object.
-
Fred Drake authored
write_header(): When we encounter a non-string object in sys.path, record a fairly mindless placeholder rather than dying. Possibly could record the repr of the object found, but not clear whether that matters.
-
Guido van Rossum authored
Dunbar) Can't test this, but looks correct to me.
-
Tim Peters authored
-
Fred Drake authored
Removed ^M from some line-ends.
-
Fred Drake authored
-
Jeremy Hylton authored
The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation.
-
Guido van Rossum authored
assume tp_iter and later fields exist. Use PyObject_GenericGetAttr instead of providing our own tp_getattr hook.
-
Guido van Rossum authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
-
Guido van Rossum authored
-
Fred Drake authored
This is already removed from Expat 1.95.4, so the problem will not recur when we update.
-
Guido van Rossum authored
isdigit().
-
Fred Drake authored
initial/default value.
-
Barry Warsaw authored
defined. /Really/ closes SF # 580631.
-
Tim Peters authored
-
Tim Peters authored
-