summaryrefslogtreecommitdiff
path: root/bs4/builder/_html5lib.py
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 /bs4/builder/_html5lib.py
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 'bs4/builder/_html5lib.py')
0 files changed, 0 insertions, 0 deletions