a2745b0e84f15867758fca2867500fba9784623c,spacy/tests/regression/test_issue1506.py,,test_issue1506,#,7

Before Change


        for _ in range(10001):
            yield "It"s sentence produced by that bug."

    for d in nlp.pipe(string_generator()):
        for t in d:
            str(t.lemma_)

After Change


            remember = d
        elif i == 10002:
            del anchor
            gc.collect()

    assert remember.text == "Oh snap."
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: explosion/spaCy
Commit Name: a2745b0e84f15867758fca2867500fba9784623c
Time: 2017-11-14
Author: ligser@gmail.com
File Name: spacy/tests/regression/test_issue1506.py
Class Name:
Method Name: test_issue1506


Project Name: Pinafore/qb
Commit Name: 166cb2c804d081401f0efb52745d214fa633fae1
Time: 2017-04-13
Author: ski.rodriguez@gmail.com
File Name: qanta/guesser/elasticsearch.py
Class Name: ElasticSearchGuesser
Method Name: guess


Project Name: pantsbuild/pants
Commit Name: 076e01d237ab3b58cdb395fb04a7f176ab02209d
Time: 2013-10-31
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/cache/restful_artifact_cache.py
Class Name: RESTfulArtifactCache
Method Name: try_insert


Project Name: brian-team/brian2
Commit Name: e48fb30ea6f7eb0c3092ca3b55bdc75176be272a
Time: 2013-10-11
Author: marcel.stimberg@ens.fr
File Name: brian2/stateupdaters/exact.py
Class Name:
Method Name: get_linear_system


Project Name: dPys/PyNets
Commit Name: 2fedef89ec6a1d018d879b21b594634944472708
Time: 2020-03-19
Author: dpisner@utexas.edu
File Name: pynets/dmri/track.py
Class Name:
Method Name: track_ensemble