Beautiful Soup 4.13.4

48 views
Skip to first unread message

leonardr

unread,
Apr 15, 2025, 1:08:11 PMApr 15
to beautifulsoup
This is primarily a bugfix release.

= 4.13.4 (20250415)

* If you pass a function as the first argument to a find* method, the
  function will only ever be called once per tag, with the Tag object
  as the argument. Starting in 4.13.0, there were cases where the
  function would be called with a Tag object and then called again
  with the name of the tag. [bug=2106435]

* Added a passthrough implementation for NavigableString.__getitem__ which gives a
  more helpful exception if the user tries to treat it as a Tag and
  access its HTML attributes.

* Fixed a bug that caused an exception when unpickling the result of
  parsing certain invalid markup with lxml as the tree builder. [bug=2103126]

* Converted the AUTHORS file to UTF-8 for PEP8 compliance. [bug=2107405]

Reply all
Reply to author
Forward
0 new messages