Bugs item #1228904, was opened at 2005-06-28 05:32 Message generated for change (Comment added) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1228904&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: Python 2.4 Status: Closed Resolution: Fixed Priority: 5 Submitted By: paolo veronelli (paolo_veronelli) Assigned to: Reinhold Birkenfeld (birkenfeld) Summary: weakref example broken Initial Comment: Surely the example in python2.4/lib/weakref-objects.html is untested .Bad story. Attached a working version which I suppose correct it . ---------------------------------------------------------------------- >Comment By: Raymond Hettinger (rhettinger) Date: 2005-07-02 12:49 Message: Logged In: YES user_id=80475 It would be useful to add a testcase cover the examples in the docs. See test_itertools.py for an example of how that is done. ---------------------------------------------------------------------- Comment By: Reinhold Birkenfeld (birkenfeld) Date: 2005-07-02 05:45 Message: Logged In: YES user_id=1188172 Fixed in Doc/lib/libweakref.py r1.28, r1.27.4.1. ---------------------------------------------------------------------- Comment By: Peter van Kampen (pterk) Date: 2005-06-29 14:46 Message: Logged In: YES user_id=174455 I can confirm this (in 2.5a0). It seems untested as it contains several small errors. I have submitted a doc-patch with working code that is also a simplified version. See patch #1229935. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1228904&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com