Skip to content

Suggestion: Update the book to latest Python version and add new sections (e.g., Design Patterns, Async/Await) #91

@mahdi0shamlou

Description

@mahdi0shamlou

Hi! First of all, thank you for this great book/repository – I've been reading it and found it really helpful.

I noticed that the examples and content seem to be based on an older Python version (around Python 3.11 or earlier).

As a suggestion for improvement, it would be awesome if we could update the book to the latest stable Python version (currently Python 3.14 as of January 2026). This would ensure the code examples run smoothly on modern installations and take advantage of recent improvements.

Additionally, to make the book even more comprehensive for intermediate/advanced learners, we could consider adding new sections/chapters on topics like:

  • Asynchronous programming with async/await (including asyncio basics, real-world examples, etc.)
  • Design Patterns in Python (e.g., Singleton, Factory, Observer, and how they're implemented idiomatically in Python)
  • Other modern features: Concurrency (threading, multiprocessing, concurrent.futures), Type hints advancements, or Performance optimizations

I'm happy to help with contributions if you're interested – for example, drafting some sections or updating existing code examples.

What do you think? 😊

Thanks again for maintaining this resource!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions