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 taleinat
Recipients cstratak, serhiy.storchaka, shivank98, taleinat, vstinner
Date 2018-10-26.21:45:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540590340.05.0.788709270274.issue35052@psf.upfronthosting.co.za>
In-reply-to
Content
Shivank, there is currently technically no "error to solve", since we have no test that causes this erroneous behavior and catches it. We've only found what appears to be a bug by looking at the code, but we need to *verify* that it is indeed a bug. Also, this means that we have a piece of code that our test suite is missing; this is the real reason I insist that this needs a test.

You should trace what uses the affected code and which scenarios could lead to this bug causing unexpected behavior.

In this case, the code is in `_clone_node()`, which helpfully has the following comment in its doc-string: "Called by Node.cloneNode and Document.importNode". Work up from there, understand what this could affect, and think of a scenario where this code wouldn't work as expected.
History
Date User Action Args
2018-10-26 21:45:40taleinatsetrecipients: + taleinat, vstinner, serhiy.storchaka, cstratak, shivank98
2018-10-26 21:45:40taleinatsetmessageid: <1540590340.05.0.788709270274.issue35052@psf.upfronthosting.co.za>
2018-10-26 21:45:40taleinatlinkissue35052 messages
2018-10-26 21:45:39taleinatcreate