This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients abacabadabacaba, rhettinger, serhiy.storchaka
Date 2015-11-03.08:48:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Recursive partial objects are legitimate. Here is a patch that makes partial's repr to support recursive partial objects. Also added a test for pickling.

Cases for Element and file-like objects are questionable. Recursive Element.tag and don't make a sense, and I don't think we should special support (and encourage) these cases. To avoid stack overflow we can add a restriction for tag to be str or None, but file's name attribute can be dynamic. We can omit name from repr if it is not None, str, bytes or int.
Date User Action Args
2015-11-03 08:48:42serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, abacabadabacaba
2015-11-03 08:48:41serhiy.storchakasetmessageid: <>
2015-11-03 08:48:41serhiy.storchakalinkissue25455 messages
2015-11-03 08:48:41serhiy.storchakacreate