Python Anti-Pattern: Using a Mutable Default Value as an Argument
https://valinsky.me/articles/python-anti-pattern/
https://valinsky.me/articles/python-anti-pattern/
Better PyPy JIT Support for Auto-Generated Python Code
https://www.pypy.org/posts/2021/09/jit-auto-generated-code.html
https://www.pypy.org/posts/2021/09/jit-auto-generated-code.html
PyPy
Better JIT Support for Auto-Generated Python Code
Performance Cliffs
A common bad property of many different JIT compilers is that of a "performance
cliff": A seemingly reasonable code change, leading to massively reduced
performance due to hitting s
A common bad property of many different JIT compilers is that of a "performance
cliff": A seemingly reasonable code change, leading to massively reduced
performance due to hitting s
Debugging by Starting a REPL at a Breakpoint Is Fun
https://jvns.ca/blog/2021/09/16/debugging-in-a-repl-is-fun/
https://jvns.ca/blog/2021/09/16/debugging-in-a-repl-is-fun/
Julia Evans
Debugging by starting a REPL at a breakpoint is fun
quit(), exit(), sys.exit(), os._exit(): The Differences and Do They Matter?
https://old.reddit.com/r/learnpython/comments/ppnp2v/quit_exit_sysexit_os_exit_the_differences_and_do/
https://old.reddit.com/r/learnpython/comments/ppnp2v/quit_exit_sysexit_os_exit_the_differences_and_do/
reddit
quit(), exit(), sys.exit(), os._exit(): the differences and do...
So I read that all of these send the same signal to the os to terminate program execution. If they function the same way what’s the real...
I Think I Have Installed a Dodgy Pip Package…
https://old.reddit.com/r/Python/comments/ppzkg4/i_think_i_have_installed_a_dodgy_pip_package/
https://old.reddit.com/r/Python/comments/ppzkg4/i_think_i_have_installed_a_dodgy_pip_package/
reddit
I think I have installed a dodgy pip package
So I was at school and was bored af so ran “pip install your mum” expecting it to do nothing but then it installed packages. “your” seems to be...
Programming Languages: Python Is on the Verge of Another Big Step Forward
https://www.zdnet.com/article/programming-languages-python-is-on-the-verge-of-another-big-step-forward/
https://www.zdnet.com/article/programming-languages-python-is-on-the-verge-of-another-big-step-forward/
ZDNET
Programming languages: Python is on the verge of another big step forward
Python could soon take first place in one more programming language popularity ranking.
Pass by Reference in Python: Best Practices
https://realpython.com/courses/pass-by-reference-python-best-practices/
https://realpython.com/courses/pass-by-reference-python-best-practices/
Realpython
Pass by Reference in Python: Best Practices – Real Python
In this course, you'll explore the concept of passing by reference and learn how it relates to Python's own system for handling function arguments. You'll look at several use cases for passing by reference and learn some best practices for implementing pass…
Validating and Formatting Phone Numbers in Python With phonenumbers
https://stackabuse.com/validating-and-formatting-phone-numbers-in-python/
https://stackabuse.com/validating-and-formatting-phone-numbers-in-python/
Stack Abuse
Validating and Formatting Phone Numbers in Python with phonenumbers
In this tutorial, we’ll learn how to parse, validate and extract phone numbers in Python with the phonenumbers library.
Language Translation and OCR With Tesseract and Python
https://www.pyimagesearch.com/2021/09/20/language-translation-and-ocr-with-tesseract-and-python/
https://www.pyimagesearch.com/2021/09/20/language-translation-and-ocr-with-tesseract-and-python/
PyImageSearch
Language Translation and OCR with Tesseract and Python - PyImageSearch
Learn to translate languages using Python and Tesseract. You’ll be able to start translation languages in your own programs and applications.
Improving Python Dependency Management With pipx and Poetry
https://cedaei.com/posts/python-poetry-pipx/
https://cedaei.com/posts/python-poetry-pipx/
Cedaei
Improving Python Dependency Management With pipx and Poetry
My current dev setup with python, poetry and pipx
python-goto: Function Decorator That Rewrites the Bytecode to Enable goto in Python
https://github.com/snoack/python-goto
https://github.com/snoack/python-goto
GitHub
GitHub - snoack/python-goto: A function decorator, that rewrites the bytecode, to enable goto in Python
A function decorator, that rewrites the bytecode, to enable goto in Python - snoack/python-goto
django-cacheops: ORM Cache With Automatic Granular Event-Driven Invalidation
https://github.com/Suor/django-cacheops
https://github.com/Suor/django-cacheops
GitHub
GitHub - Suor/django-cacheops: A slick ORM cache with automatic granular event-driven invalidation.
A slick ORM cache with automatic granular event-driven invalidation. - Suor/django-cacheops
django-upgrade: Automatically Upgrade Your Django Projects
https://github.com/adamchainz/django-upgrade
https://github.com/adamchainz/django-upgrade
GitHub
GitHub - adamchainz/django-upgrade: Automatically upgrade your Django projects.
Automatically upgrade your Django projects. Contribute to adamchainz/django-upgrade development by creating an account on GitHub.