summaryrefslogtreecommitdiff
path: root/NEWS.txt
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2016-07-17 14:34:41 -0400
committerLeonard Richardson <leonardr@segfault.org>2016-07-17 14:34:41 -0400
commitddd96837409420b6b9d301a6e6d83674c43d9855 (patch)
tree77fb23e61be72082f2a627c691bba5b77c7df59a /NEWS.txt
parent77aee72327446bace1a8cd6b66a41eed15ada337 (diff)
When a BeautifulSoup object is pickled but its tree builder cannot
be pickled, its .builder attribute is set to None instead of being destroyed. This avoids a performance problem once the object is unpickled. [bug=1523629]
Diffstat (limited to 'NEWS.txt')
-rw-r--r--NEWS.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS.txt b/NEWS.txt
index 055cc6a..572ad65 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -12,6 +12,11 @@
* The contents of <textarea> tags will no longer be modified when the
tree is prettified. [bug=1555829]
+* When a BeautifulSoup object is pickled but its tree builder cannot
+ be pickled, its .builder attribute is set to None instead of being
+ destroyed. This avoids a performance problem once the object is
+ unpickled. [bug=1523629]
+
* Specify the file and line number when warning about a
BeautifulSoup object being instantiated without a parser being
specified. [bug=1574647]