queue.SimpleQueue handles more than threadsafe concurrency. It handles reentrancy - it is safe to call queue.SimpleQueue.put in precarious situations where it might be interrupting other work in the same thread. For example, you can safely call it from __del__ methods, weakref callbacks, or signal module signal handlers.

If you need that, use queue.SimpleQueue.

Answer from user2357112 on Stack Overflow
🌐
Python
docs.python.org › 3 › library › queue.html
queue — A synchronized queue class
February 23, 2026 - In addition, the module implements a “simple” FIFO queue type, SimpleQueue, whose specific implementation provides additional guarantees in exchange for the smaller functionality.
🌐
GeeksforGeeks
geeksforgeeks.org › python › queue-in-python
Queue in Python - GeeksforGeeks
December 11, 2025 - Python’s queue module provides a thread-safe FIFO queue. You can specify a maxsize.
🌐
Medium
basillica.medium.com › working-with-queues-in-python-a-complete-guide-aa112d310542
Working with Queues in Python — A Complete Guide | by Basillica | Medium
March 27, 2024 - Queues are a useful data structure in programming that allow you to add and remove elements in a first in, first out (FIFO) order. Python provides a built-in module called queue that implements different types of queue data structures.
🌐
Celery
docs.celeryq.dev › projects › kombu › en › stable › userguide › simple.html
Simple Interface — Kombu 5.6.2 documentation
kombu.simple is a simple interface to AMQP queueing. It is only slightly different from the Queue class in the Python Standard Library, which makes it excellent for users with basic messaging needs.
🌐
Python
docs.python.org › 3 › library › multiprocessing.html
multiprocessing — Process-based parallelism
February 23, 2026 - The Queue, SimpleQueue and JoinableQueue types are multi-producer, multi-consumer FIFO queues modelled on the queue.Queue class in the standard library. They differ in that Queue lacks the task_done() and join() methods introduced into Python 2.5’s queue.Queue class.
🌐
Cprieto
cprieto.com › posts › 2020 › 08 › data-structures-simple-queue-in-python.html
IDisposable Thoughts - Data structures, a simple queue in Python
Python already has a not one but many general and specialized queue classes living in the queue package in the standard library, in fact, it offers asynchronous specialized queues as well in the asyncio package, use those.
Find elsewhere
🌐
GitHub
github.com › python › cpython › blob › main › Lib › queue.py
cpython/Lib/queue.py at main · python/cpython
from _queue import SimpleQueue · except ImportError: SimpleQueue = None · · __all__ = [ 'Empty', 'Full', 'ShutDown', 'Queue', 'PriorityQueue', 'LifoQueue', 'SimpleQueue', ] · · try: from _queue import Empty · except ImportError: class Empty(Exception): 'Exception raised by Queue.get(block=0)/get_nowait().' pass ·
Author   python
🌐
GitHub
github.com › fikipollo › PySiQ
GitHub - fikipollo/PySiQ: A Python Simple Queue system for your apps · GitHub
PySiQ (Python Simple Queue) is a job queue or task queue implemented for Python applications. The main objective of task queues is to avoid running resource-intensive tasks immediately and wait for them to complete.
Starred by 31 users
Forked by 5 users
Languages   Python 78.0% | HTML 22.0%
🌐
GitHub
github.com › MISP › SimpleQueue
GitHub - MISP/SimpleQueue: Multiprocessing queuing module extracted from AIL framework (Pre-Alpha stage) - to replace Cake::Resque in MISP
Multiprocessing queuing module extracted from AIL framework (Pre-Alpha stage) - to replace Cake::Resque in MISP - MISP/SimpleQueue
Author   MISP
🌐
Great Learning
mygreatlearning.com › blog › it/software development › python queue
Python Queue
October 14, 2024 - It will process the tasks in a manner called “First In First Out” which means the first process or task in the queue will be executed and removed first, after that other processes will be started. A queue can be implemented in programming languages such as Python, Java, C++, etc.
🌐
PyPI
pypi.org › project › django-simple-queue
Client Challenge
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
University of New Brunswick
cs.unb.ca › ~bremner › teaching › cs2613 › books › python3-doc › library › queue.html
queue — A synchronized queue class — Python 3.9.2 documentation
In addition, the module implements a “simple” FIFO queue type, SimpleQueue, whose specific implementation provides additional guarantees in exchange for the smaller functionality.
🌐
Spark By {Examples}
sparkbyexamples.com › home › python › queue in python with examples
Queue in Python with Examples - Spark By {Examples}
May 31, 2024 - In this article, we’ll explore the different types of queues, their characteristics, and how to implement them in Python.
🌐
Mbed OS
forums.mbed.com › mbed os › bugs
[ERROR] '_queue.SimpleQueue' object has no attribute 'queue' - Bugs - Arm Mbed OS support forum
July 27, 2023 - Hi team, I am using latest mbed os, and with mbed-os 5.9.5 library. I am facing “[ERROR] ‘_queue.SimpleQueue’ object has no attribute ‘queue’”. Could any please help me asap to resolve the issue.
🌐
GitHub
github.com › ycrc › SimpleQueue
GitHub - ycrc/SimpleQueue
Without the "Drain" operation, there is no guarantee that all of the previous tasks have completed, which could cause the post-processing task to fail, possibly silently and non-repeatably. USAGE: To use SimpleQueue, you first create a list of single-node tasks in a "task file".
Author   ycrc
🌐
TestDriven.io
testdriven.io › blog › developing-an-asynchronous-task-queue-in-python
Developing an Asynchronous Task Queue in Python | TestDriven.io
June 21, 2023 - SimpleTask creates new tasks, which are used by the instance of the SimpleQueue class to enqueue new tasks, and processes new tasks.
🌐
Google Books
books.google.be › books
Fluent Python - Luciano Ramalho - Google Books
Don't waste time bending Python to fit patterns you've learned in other languages. Python's simplicity lets you become productive quickly, but often this means you aren't using everything the language has to offer. With the updated edition of this hands-on guide, you'll learn how to write ...