[issue1410739] Add notes to the manual about `is` and methods

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Reworded a bit and applied as r64638. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue1410739] Add notes to the manual about `is` and methods

2008-05-10 Thread Pedro Werneck
Pedro Werneck <[EMAIL PROTECTED]> added the comment: I agree it's not a good idea to be too much specific about this. The patch attached adds the following footnote to the 'is' operator: Due to automatic garbage-collection, free lists, and the dynamic nature of descriptors, you may notice unusua

[issue1410739] Add notes to the manual about `is` and methods

2008-01-31 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: fdrake -> keywords: +easy type: -> rfe versions: +Python 2.6 -Python 2.4 _ Tracker <[EMAIL PROTECTED]> _

[issue1410739] Add notes to the manual about `is` and methods

2008-01-31 Thread Christian Heimes
Christian Heimes added the comment: The example sure is surprising for somebody without intimate knowledge about Python's memory management. Although the is operator is implemented as id(a) == id(b) reference counting, free lists and arenas can cause some surprising effects. -- nosy: +ti

[issue1410739] Add notes to the manual about `is` and methods

2008-01-31 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: An even more surprising example: >>> id([1]) == id([2]) True -- nosy: +amaury.forgeotdarc _ Tracker <[EMAIL PROTECTED]> _ __