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 scoder
Recipients brycenesbitt, eli.bendersky, jjmiller50, martin.panter, pocek, rhettinger, scoder
Date 2016-07-27.17:59:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469642344.58.0.410472937719.issue18304@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a proposed patch for a new function "strip_namespaces(tree)" that discards all namespaces from tags and attributes in a (sub-)tree, so that subsequent processing does not have to deal with them.

The "__all__" test is failing (have to figure out how to fix that), and docs are missing (it's only a proposal for now). Comments welcome.
History
Date User Action Args
2016-07-27 17:59:04scodersetrecipients: + scoder, rhettinger, eli.bendersky, martin.panter, brycenesbitt, pocek, jjmiller50
2016-07-27 17:59:04scodersetmessageid: <1469642344.58.0.410472937719.issue18304@psf.upfronthosting.co.za>
2016-07-27 17:59:04scoderlinkissue18304 messages
2016-07-27 17:59:04scodercreate