- 29 Jun, 2003 6 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Tim Peters authored
-
Jack Jansen authored
-
Jack Jansen authored
cannot be found.
-
-
- 28 Jun, 2003 19 commits
-
-
Jack Jansen authored
-
Guido van Rossum authored
A new API (only accessible from C) to interrupt a thread by sending it an exception. This is not always effective, but might help some people. Requested by Just van Rossum and Alex Martelli. It is intentional that you have to write your own C extension to call it from Python. Docs will have to wait.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Submitted By: Christopher A. Craig Fillin some missing decrefs.
-
Barry Warsaw authored
-
Jim Fulton authored
the new way that once writes types. Deleted the old section and sample code and added a new section building on the Noddy example.
-
Jim Fulton authored
building new types.
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
function, not a PyObject *.
-
Jim Fulton authored
this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way.
-
Jim Fulton authored
this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. Fixed bug in implementation of tp_init function. It should be an int function, not a PyObject *.
-
Fred Drake authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
When shelve and the bsdbm where expanded to a full mapping interface, this module was missed.
-
Raymond Hettinger authored
-
Fred Drake authored
-
- 27 Jun, 2003 15 commits
-
-
Raymond Hettinger authored
(Contributed by Steven Taschuk) Replaces a bare except that caused all errors to be mis-reported as archive errors. Added a related NEWS item.
-
Raymond Hettinger authored
SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821).
-
Tim Peters authored
now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way.
-
Gustavo Niemeyer authored
-
Fred Drake authored
-
Skip Montanaro authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
that won't be right when mkhowto is called with --numeric (as it is for the Python Tutorial). Save the actual name we use when we build the table of contents, then use that in the page head metadata. The node2label.pl script will munge this properly when --numeric isn't given, so this works in both cases. Closes SF bug #761830.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
there are no gaps in the definitions. Closes SF bug #726150.
-
Jeremy Hylton authored
There's no point to passing it anymore, but there's a test that expects the call to fail if you pass a non-callable object.
-
Jeremy Hylton authored
The language reference says you must return an int or a bool. This fix limits the scope of SF bug 759227 (infinite recursion) to subclasses of int.
-