pypi soupsieve 2.3

latest releases: 2.6, 2.5, 2.4.1...
2 years ago

2.3

  • NEW: Officially support Python 3.10.
  • NEW: Add static typing.
  • NEW: :has(), :is(), and :where() now use use a forgiving selector list. While not as forgiving as CSS might
    be, it will forgive such things as empty sets and empty slots due to multiple consecutive commas, leading commas, or
    trailing commas. Essentially, these pseudo-classes will match all non-empty selectors and ignore empty ones. As the
    scraping environment is different than a browser environment, it was chosen not to aggressively forgive bad syntax and
    invalid features to ensure the user is alerted that their program may not perform as expected.
  • NEW: Add support to output a pretty print format of a compiled SelectorList for debug purposes.
  • FIX: Some small corner cases discovered with static typing.

Don't miss a new soupsieve release

NewReleases is sending notifications on new releases.