(10)
Sun Apr 23 2006 18:58 Beautiful Soup 3.0 Beta:
The other major new feature is that you can now rip out a chunk from the parse tree with the extract method. You can use the chunk and abandon the rest of the tree, or vice versa. This is especially useful because the data structures you abandoned can now be garbage-collected: in current Beautiful Soup, the whole tree stays in memory forever because every Tag and NavigableText is connected to every other Tag and NavigableText through an intricate web of lies. And by "lies", I mean "instance variables".
There are some more new features, but I have to take a shower now to go and meet Pete Peterson II for dinner. Test it out; I'll be rewriting the documentation over the next month or so, and hopefully by then I'll have gotten enough feedback to release it.
Posted by George Gesslein II at Sun Apr 23 2006 21:40
Posted by Leonard at Sun Apr 23 2006 23:37
Posted by Fredrik at Mon Apr 24 2006 03:36
Posted by Leonard at Mon Apr 24 2006 08:28
Posted by Leonard at Mon Apr 24 2006 08:33
Posted by Aaron Bentley at Wed Apr 26 2006 15:07
Posted by Leonard at Wed Apr 26 2006 19:13
Posted by Anonymous at Sat Apr 29 2006 21:37
Posted by Josh Myer at Sun Apr 30 2006 04:22
Posted by Leonard at Sun Apr 30 2006 09:15