- 28 Haz, 2003 4 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Raymond Hettinger yazdı
When shelve and the bsdbm where expanded to a full mapping interface, this module was missed.
-
Raymond Hettinger yazdı
-
Fred Drake yazdı
-
- 27 Haz, 2003 22 kayıt (commit)
-
-
Raymond Hettinger yazdı
(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 yazdı
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 yazdı
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 yazdı
-
Fred Drake yazdı
-
Skip Montanaro yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Fred Drake yazdı
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 yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Fred Drake yazdı
there are no gaps in the definitions. Closes SF bug #726150.
-
Jeremy Hylton yazdı
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 yazdı
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.
-
Fred Drake yazdı
the hovering background
-
Jeremy Hylton yazdı
If the callback raised an exception but did not set curexc_traceback, the trace function was called with PyTrace_RETURN. That is, the trace function was called with an exception set. The main loop detected the exception when the trace function returned; it complained and disabled tracing. Fix the logic error so that PyTrace_RETURN only occurs if the callback returned normally. The trace function must be called for exceptions, too. So we had to add new functionality to call with PyTrace_EXCEPTION. (Leads to a rather ugly ifdef / else block that contains only a '}'.) Reverse the logic and name of NOFIX_TRACE to FIX_TRACE. Joint work with Fred.
-
Tim Peters yazdı
-
Skip Montanaro yazdı
attribute. Patch and bug report from Geoff Talvola. Closes patch #672855.
-
Michael W. Hudson yazdı
patch: [ 750008 ] 'compiler' module bug with 'import foo.bar as baz' which I'm now checking in. after import foo.bar as baz, baz would refer to foo.
-
Raymond Hettinger yazdı
The interning of short strings violates the refcnt==1 assumption for _PyString_Resize(). A simple fix is to boost the initial value of "totalnew" by 1. Combined with an NULL argument to PyString_FromStringAndSize(), this assures that resulting format string is not interned. This will remain true even if the implementation of PyString_FromStringAndSize() changes because only the uninitialized strings that can be interned are those of zero length. Added a test case.
-
Raymond Hettinger yazdı
* Documented __slots__ * Documented __metaclass__ Shamelessly plagarized from Guido's tutorial.
-
- 26 Haz, 2003 8 kayıt (commit)
-
-
Jeremy Hylton yazdı
The constructor() call only made sense when it registered the constructor as safe for unpickling. We should probably remove the module-global function, but need to worry about backwards compatibility.
-
Raymond Hettinger yazdı
Revised version of a contribution from Gerrit Holl. Update the docs for the extended behavior of __contains__
-
Raymond Hettinger yazdı
_TemporarilyImmutableSet is in fact a subclass of BaseSet
-
Raymond Hettinger yazdı
* Clarified the meaning of lexicographic sequence ordering as discussed on comp.lang.python: http://groups.google.com/groups?th=e163c9f9ba114493
-
Jeremy Hylton yazdı
Fix bug in computation of coverage percentage: Only count a line if it was executed or if we print the >>>>>> marker.
-
Gustavo Niemeyer yazdı
due to a corrupted end pointer.
-
Fred Drake yazdı
-
Fred Drake yazdı
get the _ character to format like a normal character
-
- 25 Haz, 2003 5 kayıt (commit)
-
-
Raymond Hettinger yazdı
section instead of the specific item being referenced.
-
Raymond Hettinger yazdı
* Added a note that a container class can implement the iterator protocol by defining its __iter__() method as a generator.
-
Raymond Hettinger yazdı
* Fix minor parenthesis matching errors in ref3.tex.
-
Raymond Hettinger yazdı
* Minor grammatical fix.
-
Walter Dörwald yazdı
-
- 24 Haz, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Implement __reduce__() to support pickling. * Add a test case to prove a successful roundtrip through pickle.
-