- 02 Mar, 2003 12 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
constructor, when passed a single complex argument, returns the argument unchanged. This should be done only for the complex base class; a complex subclass should of course cast the value to the subclass in this case. The fix also revealed a segfault in complex_getnewargs(): the argument for the Py_BuildValue() format code "D" is the *address* of a Py_complex struct, not the value. (This corroborated by the API documentation.) I expect this needs to be backported to 2.2.3.
-
Guido van Rossum authored
calling into Python from a C thread.
-
Tim Peters authored
proto 2 pickle too.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Tim Peters authored
assertRaises. Fixed a repeated subtle bug in the inplace tests by removing the possibilty that a self.fail() call could raise a TypeError that the test catches by mistake.
-
Tim Peters authored
-
Tim Peters authored
Allow mixed-type __eq__ and __ne__ for Set objects. This is messier than I'd like because Set *also* implements __cmp__. I know of one glitch now: cmp(s, t) returns 0 now when s and t are both Sets and s == t, despite that Set.__cmp__ unconditionally raises TypeError (and by intent). The rub is that __eq__ gets tried first, and the x.__eq__(y) True result convinces Python that cmp(x, y) is 0 without even calling Set.__cmp__.
-
- 01 Mar, 2003 9 commits
-
-
Tim Peters authored
elements get displayed in undefined dict order. Use a Set subclass instead (which arranges to sort the elements for display).
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
rarely needed, but can sometimes be useful to release objects referenced by the traceback held in sys.exc_info()[2]. (SF patch #693195.) Thanks to Kevin Jacobs!
-
Raymond Hettinger authored
-
Raymond Hettinger authored
The PyIter_Check is already performed by PyObject_GetIter.
-
- 28 Feb, 2003 16 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Neal Norwitz authored
-
Neal Norwitz authored
require -u network to run test_timeout since it fails when not connected to a network.
-
Neal Norwitz authored
try: # ... except ImportError, why: except: # ... All other changes are re-indenting/formatting.
-
Neal Norwitz authored
-
Neal Norwitz authored
Change setup.py to catch all exceptions. - Rename module if the exception was an ImportError - Only warn if the exception was any other error Revert _iconv_codec to raising a RuntimeError.
-
Barry Warsaw authored
the build, so I'm restoring it. I'm not sure what Neal's intent was, since the line following the one he removed was "REQN(i, 1)" so i is obviously used. ;)
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
stuff, and changed 'property' to 'descriptor'.
-
Jack Jansen authored
the #ifdef HAVE_NCURSES_H: the same problem exists on OSX 10.1 with a fink-installed curses (which uses curses.h as the include file name).
-
Just van Rossum authored
-
Raymond Hettinger authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 27 Feb, 2003 3 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-