scrapy/scrapy/extensions
Andrey Rakhmatullin 4b40d2d06a
Close various garbage collectible resources (mostly in tests) (#7644)
* Set TELNETCONSOLE_ENABLED=False in get_crawler().

* Make _get_console_and_portal() a context manager.

* Allow PYTHONTRACEMALLOC in tox.

* Close the event loop in test_custom_asyncio_loop_enabled_false().

* Close the handler in _uninstall_scrapy_root_handler().

* Close queues in test_squeues.py.

* Close empty queues in init_prios().

* Close PopenSpawn stdin and stdout explicitly.

* Silence the unclosed socket warning.

* Implement more methods in CustomStatsCollector.

* Link the Twisted issue.

* Close the connection on download_maxsize.

* Fix typing.

* Add a comment about CustomStatsCollector.

* Restore the coverage.

* Properly close fixture queues.

* More robust file closing in feed storages.

* Close the file in TestMarshalItemExporter.test_nonstring_types_item().

* Cleanup temporary file handling in test_exporters.py.

* Close the file in test_stats_file_failed().

* Use an explicit TextIOWrapper in XmlItemExporter.
2026-06-26 23:05:08 +05:00
..
__init__.py Move scrapy/contrib remaining top-level files to scrapy/extensions 2015-04-29 21:27:19 -03:00
closespider.py More *_async APIs (#6997) 2025-08-08 22:15:41 +05:00
corestats.py Improve handling of time deltas (#7377) 2026-04-29 09:53:40 +02:00
debug.py Move to mypy --strict with exceptions. (#7300) 2026-03-02 15:47:23 +05:00
feedexport.py Close various garbage collectible resources (mostly in tests) (#7644) 2026-06-26 23:05:08 +05:00
httpcache.py Disable mypy allow_any_generics. (#7532) 2026-05-18 15:54:06 +02:00
logcount.py Release notes for 2.14.0 (#7035) 2026-01-05 14:51:05 +05:00
logstats.py Bump tool versions. (#6941) 2025-07-05 10:30:30 +02:00
memdebug.py Deprecate spider arguments of StatsCollector methods (#7011) 2025-08-20 09:52:22 +02:00
memusage.py tests: integration coverage for memusage extension (#7017) 2026-06-19 06:41:26 +02:00
periodic_log.py chore: more ruff rules and overall minor improvements (#7386) 2026-04-03 19:00:13 +05:00
postprocessing.py Enable the flake8-builtins rules. (#6942) 2025-07-05 21:43:18 +05:00
spiderstate.py Ruff: migrate pyupgrade and bandit, enable some other rules (#6577) 2024-12-10 19:53:27 +01:00
statsmailer.py chore: more ruff rules and overall minor improvements (#7386) 2026-04-03 19:00:13 +05:00
telnet.py Rename TWISTED_ENABLED to TWISTED_REACTOR_ENABLED. (#7394) 2026-04-02 10:20:54 +02:00
throttle.py dont_throttle → autothrottle_dont_adjust_delay 2024-11-07 16:17:16 +01:00