From 884ed4c8e0bd8ae2a1ec5aaaf849d95cb1b0e6b3cc67a92fd5f74e822f26aa8c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 9 Feb 2022 10:19:16 +0000 Subject: [PATCH] - Update to 4.10.0: * This is the first release of Beautiful Soup to only support Python 3. * The behavior of methods like .get_text() and .strings now differs depending on the type of tag. * NavigableString and its subclasses now implement the get_text() method, as well as the properties .strings and .stripped_strings. * The 'html5' formatter now treats attributes whose values are the empty string as HTML boolean attributes. * The 'replace_with()' method now takes a variable number of arguments, and can be used to replace a single element with a sequence of elements. * Corrected output when the namespace prefix associated with a namespaced attribute is the empty string, as opposed to None. * Performance improvement when processing tags that speeds up overall tree construction by 2%. Patch by Morotti. [bug=1899358] * Corrected the use of special string container classes in cases when a single tag may contain strings with different containers; such as the