extract-python 0.8.1__tar.gz → 0.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: extract-python
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: Structured content extraction
5
5
  Project-URL: Homepage, https://github.com/ICIJ/extract-python
6
6
  Project-URL: Repository, https://github.com/ICIJ/extract-python
@@ -1,4 +1,3 @@
1
- import gc
2
1
  import itertools
3
2
  import logging
4
3
  import os
@@ -233,8 +232,6 @@ def batch_per_pages(
233
232
  for chunk in docs:
234
233
  short_docs = [d for d in chunk if d.n_pages <= max_pages]
235
234
  long_docs = [d for d in chunk if d.n_pages > max_pages]
236
- del chunk
237
- gc.collect()
238
235
  # Bin fill for docs smaller than max_pages
239
236
  offset = yield from _bin_fill(short_docs, max_pages=max_pages)
240
237
  # otherwise we just yield chunks of max_pages except the last chunk which is
File without changes
File without changes