René's URL Explorer Experiment


Title: GitHub - LiquidFun/wtfpython: What the f*ck Python? 😱

Open Graph Title: GitHub - LiquidFun/wtfpython: What the f*ck Python? 😱

X Title: GitHub - LiquidFun/wtfpython: What the f*ck Python? 😱

Description: What the f*ck Python? 😱. Contribute to LiquidFun/wtfpython development by creating an account on GitHub.

Open Graph Description: What the f*ck Python? 😱. Contribute to LiquidFun/wtfpython development by creating an account on GitHub.

X Description: What the f*ck Python? 😱. Contribute to LiquidFun/wtfpython development by creating an account on GitHub.

Opengraph URL: https://github.com/LiquidFun/wtfpython

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:361827c0-a75a-b4eb-4911-2665ffc4dad6
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idD09C:2C3E22:1480CA9:1A85C39:696B1CE0
html-safe-noncee2e1698ac0626188d4d5776cda55138091d3cbea3dd3b8ddca27b6982c0957e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDlDOjJDM0UyMjoxNDgwQ0E5OjFBODVDMzk6Njk2QjFDRTAiLCJ2aXNpdG9yX2lkIjoiNTcxMjY1NTc1MDcxNDMwMTY2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8004e8f9700431a4cd136f957c6511b5d0757983f32daf3586a8a6ab375285bc
hovercard-subject-tagrepository:388591989
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/LiquidFun/wtfpython
twitter:imagehttps://opengraph.githubassets.com/6b624361e5b5ae027efcd11401604df603b02f456ef52002aa38836c3567ed82/LiquidFun/wtfpython
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6b624361e5b5ae027efcd11401604df603b02f456ef52002aa38836c3567ed82/LiquidFun/wtfpython
og:image:altWhat the f*ck Python? 😱. Contribute to LiquidFun/wtfpython development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/LiquidFun/wtfpython git https://github.com/LiquidFun/wtfpython.git
octolytics-dimension-user_id8319560
octolytics-dimension-user_loginLiquidFun
octolytics-dimension-repository_id388591989
octolytics-dimension-repository_nwoLiquidFun/wtfpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id101684374
octolytics-dimension-repository_parent_nwosatwikkansal/wtfpython
octolytics-dimension-repository_network_root_id101684374
octolytics-dimension-repository_network_root_nwosatwikkansal/wtfpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/LiquidFun/wtfpython#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLiquidFun%2Fwtfpython
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLiquidFun%2Fwtfpython
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=LiquidFun%2Fwtfpython
Reloadhttps://github.com/LiquidFun/wtfpython
Reloadhttps://github.com/LiquidFun/wtfpython
Reloadhttps://github.com/LiquidFun/wtfpython
LiquidFun https://github.com/LiquidFun
wtfpythonhttps://github.com/LiquidFun/wtfpython
satwikkansal/wtfpythonhttps://github.com/satwikkansal/wtfpython
Notifications https://github.com/login?return_to=%2FLiquidFun%2Fwtfpython
Fork 0 https://github.com/login?return_to=%2FLiquidFun%2Fwtfpython
Star 0 https://github.com/login?return_to=%2FLiquidFun%2Fwtfpython
WTFPL license https://github.com/LiquidFun/wtfpython/blob/master/LICENSE
0 stars https://github.com/LiquidFun/wtfpython/stargazers
2.7k forks https://github.com/LiquidFun/wtfpython/forks
Branches https://github.com/LiquidFun/wtfpython/branches
Tags https://github.com/LiquidFun/wtfpython/tags
Activity https://github.com/LiquidFun/wtfpython/activity
Star https://github.com/login?return_to=%2FLiquidFun%2Fwtfpython
Notifications https://github.com/login?return_to=%2FLiquidFun%2Fwtfpython
Code https://github.com/LiquidFun/wtfpython
Pull requests 0 https://github.com/LiquidFun/wtfpython/pulls
Actions https://github.com/LiquidFun/wtfpython/actions
Projects 0 https://github.com/LiquidFun/wtfpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/LiquidFun/wtfpython/security
Please reload this pagehttps://github.com/LiquidFun/wtfpython
Insights https://github.com/LiquidFun/wtfpython/pulse
Code https://github.com/LiquidFun/wtfpython
Pull requests https://github.com/LiquidFun/wtfpython/pulls
Actions https://github.com/LiquidFun/wtfpython/actions
Projects https://github.com/LiquidFun/wtfpython/projects
Security https://github.com/LiquidFun/wtfpython/security
Insights https://github.com/LiquidFun/wtfpython/pulse
Brancheshttps://github.com/LiquidFun/wtfpython/branches
Tagshttps://github.com/LiquidFun/wtfpython/tags
https://github.com/LiquidFun/wtfpython/branches
https://github.com/LiquidFun/wtfpython/tags
479 Commitshttps://github.com/LiquidFun/wtfpython/commits/master/
https://github.com/LiquidFun/wtfpython/commits/master/
imageshttps://github.com/LiquidFun/wtfpython/tree/master/images
imageshttps://github.com/LiquidFun/wtfpython/tree/master/images
irrelevanthttps://github.com/LiquidFun/wtfpython/tree/master/irrelevant
irrelevanthttps://github.com/LiquidFun/wtfpython/tree/master/irrelevant
wtfpython-pypihttps://github.com/LiquidFun/wtfpython/tree/master/wtfpython-pypi
wtfpython-pypihttps://github.com/LiquidFun/wtfpython/tree/master/wtfpython-pypi
.gitattributeshttps://github.com/LiquidFun/wtfpython/blob/master/.gitattributes
.gitattributeshttps://github.com/LiquidFun/wtfpython/blob/master/.gitattributes
.gitignorehttps://github.com/LiquidFun/wtfpython/blob/master/.gitignore
.gitignorehttps://github.com/LiquidFun/wtfpython/blob/master/.gitignore
.travis.ymlhttps://github.com/LiquidFun/wtfpython/blob/master/.travis.yml
.travis.ymlhttps://github.com/LiquidFun/wtfpython/blob/master/.travis.yml
CONTRIBUTING.mdhttps://github.com/LiquidFun/wtfpython/blob/master/CONTRIBUTING.md
CONTRIBUTING.mdhttps://github.com/LiquidFun/wtfpython/blob/master/CONTRIBUTING.md
CONTRIBUTORS.mdhttps://github.com/LiquidFun/wtfpython/blob/master/CONTRIBUTORS.md
CONTRIBUTORS.mdhttps://github.com/LiquidFun/wtfpython/blob/master/CONTRIBUTORS.md
LICENSEhttps://github.com/LiquidFun/wtfpython/blob/master/LICENSE
LICENSEhttps://github.com/LiquidFun/wtfpython/blob/master/LICENSE
README.mdhttps://github.com/LiquidFun/wtfpython/blob/master/README.md
README.mdhttps://github.com/LiquidFun/wtfpython/blob/master/README.md
code-of-conduct.mdhttps://github.com/LiquidFun/wtfpython/blob/master/code-of-conduct.md
code-of-conduct.mdhttps://github.com/LiquidFun/wtfpython/blob/master/code-of-conduct.md
mixed_tabs_and_spaces.pyhttps://github.com/LiquidFun/wtfpython/blob/master/mixed_tabs_and_spaces.py
mixed_tabs_and_spaces.pyhttps://github.com/LiquidFun/wtfpython/blob/master/mixed_tabs_and_spaces.py
READMEhttps://github.com/LiquidFun/wtfpython
Code of conducthttps://github.com/LiquidFun/wtfpython
Contributinghttps://github.com/LiquidFun/wtfpython
WTFPL licensehttps://github.com/LiquidFun/wtfpython
https://github.com/LiquidFun/wtfpython/blob/master/images/logo.png
https://github.com/LiquidFun/wtfpython#what-the-fck-python-
Chinese 中文https://github.com/leisurelicht/wtfpython-cn
Vietnamese Tiếng Việthttps://github.com/vuduclyunitn/wtfptyhon-vi
Spanish Españolhttps://github.com/JoseDeFreitas/wtfpython-es
Add translationhttps://github.com/satwikkansal/wtfpython/issues/new?title=Add%20translation%20for%20%5BLANGUAGE%5D&body=Expected%20time%20to%20finish:%20%5BX%5D%20weeks.%20I%27ll%20start%20working%20on%20it%20from%20%5BY%5D.
Interactivehttps://colab.research.google.com/github/satwikkansal/wtfpython/blob/master/irrelevant/wtf.ipynb
CLIhttps://pypi.python.org/pypi/wtfpython
herehttps://github.com/satwikkansal/wtfpython/releases/
https://github.com/LiquidFun/wtfpython#table-of-contents
Structure of the Exampleshttps://github.com/LiquidFun/wtfpython#structure-of-the-examples
▶ Some fancy Titlehttps://github.com/LiquidFun/wtfpython#-some-fancy-title
Usagehttps://github.com/LiquidFun/wtfpython#usage
👀 Exampleshttps://github.com/LiquidFun/wtfpython#-examples
Section: Strain your brain!https://github.com/LiquidFun/wtfpython#section-strain-your-brain
▶ First things first! *https://github.com/LiquidFun/wtfpython#-first-things-first-
▶ Strings can be tricky sometimeshttps://github.com/LiquidFun/wtfpython#-strings-can-be-tricky-sometimes
▶ Be careful with chained operationshttps://github.com/LiquidFun/wtfpython#-be-careful-with-chained-operations
▶ How not to use is operatorhttps://github.com/LiquidFun/wtfpython#-how-not-to-use-is-operator
▶ Hash brownieshttps://github.com/LiquidFun/wtfpython#-hash-brownies
▶ Deep down, we're all the same.https://github.com/LiquidFun/wtfpython#-deep-down-were-all-the-same
▶ Disorder within order *https://github.com/LiquidFun/wtfpython#-disorder-within-order-
▶ Keep trying... *https://github.com/LiquidFun/wtfpython#-keep-trying-
▶ For what?https://github.com/LiquidFun/wtfpython#-for-what
▶ Evaluation time discrepancyhttps://github.com/LiquidFun/wtfpython#-evaluation-time-discrepancy
▶ is not ... is not is (not ...)https://github.com/LiquidFun/wtfpython#-is-not--is-not-is-not-
▶ A tic-tac-toe where X wins in the first attempt!https://github.com/LiquidFun/wtfpython#-a-tic-tac-toe-where-x-wins-in-the-first-attempt
▶ Schrödinger's variablehttps://github.com/LiquidFun/wtfpython#-schr%C3%B6dingers-variable-
▶ The chicken-egg problem *https://github.com/LiquidFun/wtfpython#-the-chicken-egg-problem-
▶ Subclass relationshipshttps://github.com/LiquidFun/wtfpython#-subclass-relationships
▶ Methods equality and identityhttps://github.com/LiquidFun/wtfpython#-methods-equality-and-identity
▶ All-true-ation *https://github.com/LiquidFun/wtfpython#-all-true-ation-
▶ The surprising commahttps://github.com/LiquidFun/wtfpython#-the-surprising-comma
▶ Strings and the backslasheshttps://github.com/LiquidFun/wtfpython#-strings-and-the-backslashes
▶ not knot!https://github.com/LiquidFun/wtfpython#-not-knot
▶ Half triple-quoted stringshttps://github.com/LiquidFun/wtfpython#-half-triple-quoted-strings
▶ What's wrong with booleans?https://github.com/LiquidFun/wtfpython#-whats-wrong-with-booleans
▶ Class attributes and instance attributeshttps://github.com/LiquidFun/wtfpython#-class-attributes-and-instance-attributes
▶ yielding Nonehttps://github.com/LiquidFun/wtfpython#-yielding-none
▶ Yielding from... return! *https://github.com/LiquidFun/wtfpython#-yielding-from-return-
▶ Nan-reflexivity *https://github.com/LiquidFun/wtfpython#-nan-reflexivity-
▶ Mutating the immutable!https://github.com/LiquidFun/wtfpython#-mutating-the-immutable
▶ The disappearing variable from outer scopehttps://github.com/LiquidFun/wtfpython#-the-disappearing-variable-from-outer-scope
▶ The mysterious key type conversionhttps://github.com/LiquidFun/wtfpython#-the-mysterious-key-type-conversion
▶ Let's see if you can guess this?https://github.com/LiquidFun/wtfpython#-lets-see-if-you-can-guess-this
Section: Slippery Slopeshttps://github.com/LiquidFun/wtfpython#section-slippery-slopes
▶ Modifying a dictionary while iterating over ithttps://github.com/LiquidFun/wtfpython#-modifying-a-dictionary-while-iterating-over-it
▶ Stubborn del operationhttps://github.com/LiquidFun/wtfpython#-stubborn-del-operation
▶ The out of scope variablehttps://github.com/LiquidFun/wtfpython#-the-out-of-scope-variable
▶ Deleting a list item while iteratinghttps://github.com/LiquidFun/wtfpython#-deleting-a-list-item-while-iterating
▶ Lossy zip of iterators *https://github.com/LiquidFun/wtfpython#-lossy-zip-of-iterators-
▶ Loop variables leaking out!https://github.com/LiquidFun/wtfpython#-loop-variables-leaking-out
▶ Beware of default mutable arguments!https://github.com/LiquidFun/wtfpython#-beware-of-default-mutable-arguments
▶ Catching the Exceptionshttps://github.com/LiquidFun/wtfpython#-catching-the-exceptions
▶ Same operands, different story!https://github.com/LiquidFun/wtfpython#-same-operands-different-story
▶ Name resolution ignoring class scopehttps://github.com/LiquidFun/wtfpython#-name-resolution-ignoring-class-scope
▶ Rounding like a banker *https://github.com/LiquidFun/wtfpython#-rounding-like-a-banker-
▶ Needles in a Haystack *https://github.com/LiquidFun/wtfpython#-needles-in-a-haystack-
▶ Splitsies *https://github.com/LiquidFun/wtfpython#-splitsies-
▶ Wild imports *https://github.com/LiquidFun/wtfpython#-wild-imports-
▶ All sorted? *https://github.com/LiquidFun/wtfpython#-all-sorted-
▶ Midnight time doesn't exist?https://github.com/LiquidFun/wtfpython#-midnight-time-doesnt-exist
Section: The Hidden treasures!https://github.com/LiquidFun/wtfpython#section-the-hidden-treasures
▶ Okay Python, Can you make me fly?https://github.com/LiquidFun/wtfpython#-okay-python-can-you-make-me-fly
▶ goto, but why?https://github.com/LiquidFun/wtfpython#-goto-but-why
▶ Brace yourself!https://github.com/LiquidFun/wtfpython#-brace-yourself
▶ Let's meet Friendly Language Uncle For Lifehttps://github.com/LiquidFun/wtfpython#-lets-meet-friendly-language-uncle-for-life
▶ Even Python understands that love is complicatedhttps://github.com/LiquidFun/wtfpython#-even-python-understands-that-love-is-complicated
▶ Yes, it exists!https://github.com/LiquidFun/wtfpython#-yes-it-exists
▶ Ellipsis *https://github.com/LiquidFun/wtfpython#-ellipsis-
▶ Inpinityhttps://github.com/LiquidFun/wtfpython#-inpinity
▶ Let's manglehttps://github.com/LiquidFun/wtfpython#-lets-mangle
Section: Appearances are deceptive!https://github.com/LiquidFun/wtfpython#section-appearances-are-deceptive
▶ Skipping lines?https://github.com/LiquidFun/wtfpython#-skipping-lines
▶ Teleportationhttps://github.com/LiquidFun/wtfpython#-teleportation
▶ Well, something is fishy...https://github.com/LiquidFun/wtfpython#-well-something-is-fishy
Section: Miscellaneoushttps://github.com/LiquidFun/wtfpython#section-miscellaneous
▶ += is fasterhttps://github.com/LiquidFun/wtfpython#--is-faster
▶ Let's make a giant string!https://github.com/LiquidFun/wtfpython#-lets-make-a-giant-string
▶ Slowing down dict lookups *https://github.com/LiquidFun/wtfpython#-slowing-down-dict-lookups-
▶ Bloating instance dicts *https://github.com/LiquidFun/wtfpython#-bloating-instance-dicts-
▶ Minor Ones *https://github.com/LiquidFun/wtfpython#-minor-ones-
Contributinghttps://github.com/LiquidFun/wtfpython#contributing
Acknowledgementshttps://github.com/LiquidFun/wtfpython#acknowledgements
🎓 Licensehttps://github.com/LiquidFun/wtfpython#-license
Surprise your friends as well!https://github.com/LiquidFun/wtfpython#surprise-your-friends-as-well
More content like this?https://github.com/LiquidFun/wtfpython#more-content-like-this
https://github.com/LiquidFun/wtfpython#structure-of-the-examples
https://github.com/LiquidFun/wtfpython#-some-fancy-title
https://github.com/LiquidFun/wtfpython#-explanation
https://github.com/LiquidFun/wtfpython#usage
herehttps://github.com/satwikkansal/wtfpython/issues/new
pypi packagehttps://pypi.python.org/pypi/wtfpython
https://github.com/LiquidFun/wtfpython#-examples
https://github.com/LiquidFun/wtfpython#section-strain-your-brain
https://github.com/LiquidFun/wtfpython#-first-things-first-
https://github.com/LiquidFun/wtfpython#-explanation-1
https://github.com/LiquidFun/wtfpython#-strings-can-be-tricky-sometimes
https://github.com/LiquidFun/wtfpython#-explanation-2
herehttps://github.com/python/cpython/blob/3.6/Objects/codeobject.c#L19
https://github.com/LiquidFun/wtfpython/blob/master/images/string-intern/string_intern.png
issuehttps://github.com/satwikkansal/wtfpython/issues/100
peephole optimizationhttps://en.wikipedia.org/wiki/Peephole_optimization
Here'shttps://github.com/python/cpython/blob/3.6/Python/peephole.c#L288
herehttps://bugs.python.org/issue11549
https://github.com/LiquidFun/wtfpython#-be-careful-with-chained-operations
https://github.com/LiquidFun/wtfpython#-explanation-3
https://docs.python.org/3/reference/expressions.html#membership-test-operationshttps://docs.python.org/3/reference/expressions.html#membership-test-operations
https://github.com/LiquidFun/wtfpython#-how-not-to-use-is-operator
https://github.com/LiquidFun/wtfpython#-explanation-4
https://docs.python.org/3/c-api/long.htmlhttps://docs.python.org/3/c-api/long.html
issuehttps://github.com/satwikkansal/wtfpython/issues/100
https://github.com/LiquidFun/wtfpython#-hash-brownies
https://github.com/LiquidFun/wtfpython#-explanation-5
docshttps://docs.python.org/3/reference/datamodel.html#object.__hash__
hash collisionhttps://en.wikipedia.org/wiki/Collision_(computer_science)
https://github.com/LiquidFun/wtfpython#-deep-down-were-all-the-same
https://github.com/LiquidFun/wtfpython#-explanation-6
https://github.com/LiquidFun/wtfpython#-disorder-within-order-
https://github.com/LiquidFun/wtfpython#-explanation-7
docshttps://docs.python.org/3/library/collections.html#ordereddict-objects
https://github.com/LiquidFun/wtfpython#-keep-trying-
https://github.com/LiquidFun/wtfpython#-explanation-8
https://github.com/LiquidFun/wtfpython#-for-what
https://github.com/LiquidFun/wtfpython#-explanation-9
Python grammarhttps://docs.python.org/3/reference/grammar.html
https://github.com/LiquidFun/wtfpython#-evaluation-time-discrepancy
https://github.com/LiquidFun/wtfpython#-explanation-10
generatorhttps://wiki.python.org/moin/Generators
PEP-289https://www.python.org/dev/peps/pep-0289/#the-details
https://github.com/LiquidFun/wtfpython#-is-not--is-not-is-not-
https://github.com/LiquidFun/wtfpython#-explanation-11
https://github.com/LiquidFun/wtfpython#-a-tic-tac-toe-where-x-wins-in-the-first-attempt
https://github.com/LiquidFun/wtfpython#-explanation-12
https://github.com/LiquidFun/wtfpython/blob/master/images/tic-tac-toe/after_row_initialized.png
https://github.com/LiquidFun/wtfpython/blob/master/images/tic-tac-toe/after_board_initialized.png
thishttps://github.com/satwikkansal/wtfpython/issues/68
https://github.com/LiquidFun/wtfpython#-schrödingers-variable-
https://github.com/LiquidFun/wtfpython#-explanation-13
https://github.com/LiquidFun/wtfpython#-the-chicken-egg-problem-
https://github.com/LiquidFun/wtfpython#-explanation-14
metaclasshttps://realpython.com/python-metaclasses/
https://github.com/LiquidFun/wtfpython#-subclass-relationships
https://github.com/LiquidFun/wtfpython#-explanation-15
herehttps://www.naftaliharris.com/blog/python-subclass-intransitivity/
https://github.com/LiquidFun/wtfpython#-methods-equality-and-identity
https://github.com/LiquidFun/wtfpython#-explanation-16
descriptorshttps://docs.python.org/3/howto/descriptor.html
solved ithttps://bugs.python.org/issue26110
https://github.com/LiquidFun/wtfpython#-all-true-ation-
https://github.com/LiquidFun/wtfpython#-explanation-17
https://github.com/LiquidFun/wtfpython#-the-surprising-comma
https://github.com/LiquidFun/wtfpython#-explanation-18
fixed in Python 3.6https://bugs.python.org/issue9232
thishttps://bugs.python.org/issue9232#msg248399
https://github.com/LiquidFun/wtfpython#-strings-and-the-backslashes
https://github.com/LiquidFun/wtfpython#-explanation-19
https://github.com/LiquidFun/wtfpython#-not-knot
https://github.com/LiquidFun/wtfpython#-explanation-20
https://github.com/LiquidFun/wtfpython#-half-triple-quoted-strings
https://github.com/LiquidFun/wtfpython#-explanation-21
string literal concatenationhttps://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation
https://github.com/LiquidFun/wtfpython#-whats-wrong-with-booleans
https://github.com/LiquidFun/wtfpython#-explanation-22
answerhttps://stackoverflow.com/a/8169049/4354153
https://github.com/LiquidFun/wtfpython#-class-attributes-and-instance-attributes
https://github.com/LiquidFun/wtfpython#-explanation-23
https://github.com/LiquidFun/wtfpython#-yielding-none
https://github.com/LiquidFun/wtfpython#-explanation-24
https://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressionshttps://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressions
https://bugs.python.org/issue10544https://bugs.python.org/issue10544
https://github.com/LiquidFun/wtfpython#-yielding-from-return-
https://github.com/LiquidFun/wtfpython#-explanation-25
PEP380https://www.python.org/dev/peps/pep-0380/
official docshttps://www.python.org/dev/peps/pep-0380/#enhancements-to-stopiteration
https://github.com/LiquidFun/wtfpython#-nan-reflexivity-
https://github.com/LiquidFun/wtfpython#-explanation-26
Reflexivity, and other pillars of civilizationhttps://bertrandmeyer.com/2010/02/06/reflexivity-and-other-pillars-of-civilization/
https://github.com/LiquidFun/wtfpython#-mutating-the-immutable
https://github.com/LiquidFun/wtfpython#-explanation-27
https://docs.python.org/3/reference/datamodel.htmlhttps://docs.python.org/3/reference/datamodel.html
official Python FAQhttps://docs.python.org/3/faq/programming.html#why-does-a-tuple-i-item-raise-an-exception-when-the-addition-works
https://github.com/LiquidFun/wtfpython#-the-disappearing-variable-from-outer-scope
https://github.com/LiquidFun/wtfpython#-explanation-28
https://docs.python.org/3/reference/compound_stmts.html#excepthttps://docs.python.org/3/reference/compound_stmts.html#except
https://github.com/LiquidFun/wtfpython#-the-mysterious-key-type-conversion
https://github.com/LiquidFun/wtfpython#-explanation-29
https://github.com/LiquidFun/wtfpython#-lets-see-if-you-can-guess-this
https://github.com/LiquidFun/wtfpython#-explanation-30
Python language referencehttps://docs.python.org/3/reference/simple_stmts.html#assignment-statements
https://github.com/LiquidFun/wtfpython#section-slippery-slopes
https://github.com/LiquidFun/wtfpython#-modifying-a-dictionary-while-iterating-over-it
https://github.com/LiquidFun/wtfpython#-explanation-31
herehttps://github.com/satwikkansal/wtfpython/issues/53
thishttps://stackoverflow.com/questions/44763802/bug-in-python-dict
https://github.com/LiquidFun/wtfpython#-stubborn-del-operation
https://github.com/LiquidFun/wtfpython#-explanation-32
https://github.com/LiquidFun/wtfpython#-the-out-of-scope-variable
https://github.com/LiquidFun/wtfpython#-explanation-33
thishttps://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html
https://github.com/LiquidFun/wtfpython#-deleting-a-list-item-while-iterating
https://github.com/LiquidFun/wtfpython#-explanation-34
threadhttps://stackoverflow.com/questions/45946228/what-happens-when-you-try-to-delete-a-list-element-while-iterating-over-it
threadhttps://stackoverflow.com/questions/45877614/how-to-change-all-the-dictionary-keys-in-a-for-loop-with-d-items
https://github.com/LiquidFun/wtfpython#-lossy-zip-of-iterators-
https://github.com/LiquidFun/wtfpython#-explanation-35
docshttps://docs.python.org/3.3/library/functions.html#zip
https://github.com/LiquidFun/wtfpython#-loop-variables-leaking-out
https://github.com/LiquidFun/wtfpython#-explanation-36
What’s New In Python 3.0https://docs.python.org/3/whatsnew/3.0.html
https://github.com/LiquidFun/wtfpython#-beware-of-default-mutable-arguments
https://github.com/LiquidFun/wtfpython#-explanation-37
https://github.com/LiquidFun/wtfpython#-catching-the-exceptions
https://github.com/LiquidFun/wtfpython#-explanation-38
https://github.com/LiquidFun/wtfpython#-same-operands-different-story
https://github.com/LiquidFun/wtfpython#-explanation-39
https://github.com/LiquidFun/wtfpython#-name-resolution-ignoring-class-scope
https://github.com/LiquidFun/wtfpython#-explanation-40
https://github.com/LiquidFun/wtfpython#-rounding-like-a-banker-
https://github.com/LiquidFun/wtfpython#-explanation-41
banker's roundinghttps://en.wikipedia.org/wiki/Rounding#Round_half_to_even
IEEE 754https://en.wikipedia.org/wiki/IEEE_754#Rounding_rules
round() docshttps://docs.python.org/3/library/functions.html#round
this stackoverflow threadhttps://stackoverflow.com/questions/10825926/python-3-x-rounding-behavior
https://github.com/LiquidFun/wtfpython#-needles-in-a-haystack-
https://github.com/LiquidFun/wtfpython#-explanation-42
herehttps://docs.python.org/3/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list
https://github.com/LiquidFun/wtfpython#-splitsies-
https://github.com/LiquidFun/wtfpython#-explanation-43
docshttps://docs.python.org/3/library/stdtypes.html#str.split
https://github.com/LiquidFun/wtfpython#-wild-imports-
https://github.com/LiquidFun/wtfpython#-explanation-44
https://github.com/LiquidFun/wtfpython#-all-sorted-
https://github.com/LiquidFun/wtfpython#-explanation-45
https://github.com/LiquidFun/wtfpython#-midnight-time-doesnt-exist
https://github.com/LiquidFun/wtfpython#-explanation-46
https://github.com/LiquidFun/wtfpython#section-the-hidden-treasures
https://github.com/LiquidFun/wtfpython#-okay-python-can-you-make-me-fly
https://github.com/LiquidFun/wtfpython#-explanation-47
classic XKCD comichttps://xkcd.com/353/
codehttps://github.com/python/cpython/blob/master/Lib/antigravity.py#L7-L17
XKCD's geohashing algorithmhttps://xkcd.com/426/
https://github.com/LiquidFun/wtfpython#-goto-but-why
https://github.com/LiquidFun/wtfpython#-explanation-48
announcedhttps://mail.python.org/pipermail/python-announce-list/2004-April/002982.html
reasonhttps://docs.python.org/3/faq/design.html#why-is-there-no-goto
https://github.com/LiquidFun/wtfpython#-brace-yourself
codehttps://github.com/python/cpython/blob/master/Lib/__future__.py
https://github.com/LiquidFun/wtfpython#-explanation-49
herehttps://github.com/python/cpython/blob/025eb98dc0c1dc27404df6c544fc2944e0fa9f3a/Python/future.c#L49
future statementhttps://docs.python.org/3.3/reference/simple_stmts.html#future-statements
https://github.com/LiquidFun/wtfpython#-lets-meet-friendly-language-uncle-for-life
https://github.com/LiquidFun/wtfpython#-explanation-50
PEP-401https://www.python.org/dev/peps/pep-0401/
herehttps://www.python.org/dev/peps/pep-0401/
issuehttps://github.com/satwikkansal/wtfpython/issues/94
https://github.com/LiquidFun/wtfpython#-even-python-understands-that-love-is-complicated
https://github.com/LiquidFun/wtfpython#-explanation-51
PEP 20https://www.python.org/dev/peps/pep-0020
this.pyhttps://hg.python.org/cpython/file/c3896275c0f6/Lib/this.py
https://github.com/LiquidFun/wtfpython#-yes-it-exists
https://github.com/LiquidFun/wtfpython#-explanation-52
https://github.com/LiquidFun/wtfpython#-ellipsis-
https://github.com/LiquidFun/wtfpython#-explanation-53
type hintinghttps://docs.python.org/3/library/typing.html
https://github.com/LiquidFun/wtfpython#-inpinity
https://github.com/LiquidFun/wtfpython#-explanation-54
https://github.com/LiquidFun/wtfpython#-lets-mangle
https://github.com/LiquidFun/wtfpython#-explanation-55
Name Manglinghttps://en.wikipedia.org/wiki/Name_mangling
https://github.com/LiquidFun/wtfpython#section-appearances-are-deceptive
https://github.com/LiquidFun/wtfpython#-skipping-lines
https://github.com/LiquidFun/wtfpython#-explanation-56
code pointhttps://en.wikipedia.org/wiki/Code_point
https://github.com/LiquidFun/wtfpython#-teleportation
https://github.com/LiquidFun/wtfpython#-explanation-57
https://github.com/LiquidFun/wtfpython#-well-something-is-fishy
mixed_tabs_and_spaces.pyhttps://github.com/LiquidFun/wtfpython/blob/master/mixed_tabs_and_spaces.py
https://github.com/LiquidFun/wtfpython#-explanation-58
https://github.com/LiquidFun/wtfpython#section-miscellaneous
https://github.com/LiquidFun/wtfpython#--is-faster
https://github.com/LiquidFun/wtfpython#-explanation-59
https://github.com/LiquidFun/wtfpython#-lets-make-a-giant-string
https://github.com/LiquidFun/wtfpython#-explanation-60
timeithttps://docs.python.org/3/library/timeit.html
%timeithttps://ipython.org/ipython-doc/dev/interactive/magics.html#magic-timeit
Zen of Pythonhttps://www.python.org/dev/peps/pep-0020/
https://github.com/LiquidFun/wtfpython#-slowing-down-dict-lookups-
https://github.com/LiquidFun/wtfpython#-explanation-61
sourcehttps://github.com/python/cpython/blob/522691c46e2ae51faaad5bbbce7d959dd61770df/Objects/dictobject.c#L841
https://github.com/LiquidFun/wtfpython#-bloating-instance-dicts-
https://github.com/LiquidFun/wtfpython#-explanation-62
PEP 412https://www.python.org/dev/peps/pep-0412/
https://github.com/LiquidFun/wtfpython#-minor-ones-
sequenceshttps://docs.python.org/3/glossary.html#term-sequence
threadhttps://stackoverflow.com/questions/3654830/why-are-there-no-and-operators-in-python
Raymond Hettinger's tweethttps://twitter.com/raymondh/status/1131103570856632321?lang=en
converse implicationhttps://en.wikipedia.org/wiki/Converse_implication
Sourcehttps://github.com/cosmologicon/pywat/blob/master/explanation.md#the-undocumented-converse-implication-operator
Global Interpreter Lockhttps://wiki.python.org/moin/GlobalInterpreterLock
multiprocessinghttps://docs.python.org/3/library/multiprocessing.html
interesting storyhttps://chris.improbable.org/2014/8/25/adventures-in-unicode-digits/
https://github.com/LiquidFun/wtfpython#contributing
issues labeled translationhttps://github.com/satwikkansal/wtfpython/issues?q=is%3Aissue+is%3Aopen+label%3Atranslation
CONTRIBUTING.mdhttps://github.com/LiquidFun/wtfpython/blob/master/CONTRIBUTING.md
issuehttps://github.com/satwikkansal/wtfpython/issues/new
https://github.com/LiquidFun/wtfpython#acknowledgements
wtfjshttps://github.com/denysdovhan/wtfjs
https://github.com/LiquidFun/wtfpython#some-nice-links
https://www.youtube.com/watch?v=sH4XF6pKKmkhttps://www.youtube.com/watch?v=sH4XF6pKKmk
https://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_pythonhttps://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_python
https://sopython.com/wiki/Common_Gotchas_In_Pythonhttps://sopython.com/wiki/Common_Gotchas_In_Python
https://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmineshttps://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmines
https://stackoverflow.com/questions/1011431/common-pitfalls-in-pythonhttps://stackoverflow.com/questions/1011431/common-pitfalls-in-python
https://www.python.org/doc/humor/https://www.python.org/doc/humor/
https://github.com/cosmologicon/pywat#the-undocumented-converse-implication-operatorhttps://github.com/cosmologicon/pywat#the-undocumented-converse-implication-operator
https://www.codementor.io/satwikkansal/python-practices-for-efficient-code-performance-memory-and-usability-aze6oiq65https://www.codementor.io/satwikkansal/python-practices-for-efficient-code-performance-memory-and-usability-aze6oiq65
https://github.com/wemake-services/wemake-python-styleguide/search?q=wtfpython&type=Issueshttps://github.com/wemake-services/wemake-python-styleguide/search?q=wtfpython&type=Issues
Hacker Newshttps://news.ycombinator.com/item?id=21862073
Reddithttps://www.reddit.com/r/programming/comments/edsh3q/what_the_fck_python_30_exploring_and/
https://github.com/LiquidFun/wtfpython#-license
http://www.wtfpl.net
Satwik Kansalhttps://satwikkansal.xyz
https://github.com/LiquidFun/wtfpython#surprise-your-friends-as-well
Twitterhttps://twitter.com/intent/tweet?url=https://github.com/satwikkansal/wtfpython&text=If%20you%20really%20think%20you%20know%20Python,%20think%20once%20more!%20Check%20out%20wtfpython&hashtags=python,wtfpython
Linkedinhttps://www.linkedin.com/shareArticle?url=https://github.com/satwikkansal&title=What%20the%20f*ck%20Python!&summary=If%20you%20really%20thing%20you%20know%20Python,%20think%20once%20more!
Facebookhttps://www.facebook.com/dialog/share?app_id=536779657179021&display=page&href=https%3A%2F%2Fgithub.com%2Fsatwikkansal%2Fwtfpython"e=If%20you%20really%20think%20you%20know%20Python%2C%20think%20once%20more!
https://github.com/LiquidFun/wtfpython#need-a-pdf-version
herehttps://satwikkansal.xyz/wtfpython-pdf/
herehttps://www.satwikkansal.xyz/content-like-wtfpython/
Readme https://github.com/LiquidFun/wtfpython#readme-ov-file
WTFPL license https://github.com/LiquidFun/wtfpython#WTFPL-1-ov-file
Code of conduct https://github.com/LiquidFun/wtfpython#coc-ov-file
Contributing https://github.com/LiquidFun/wtfpython#contributing-ov-file
Please reload this pagehttps://github.com/LiquidFun/wtfpython
Activityhttps://github.com/LiquidFun/wtfpython/activity
0 starshttps://github.com/LiquidFun/wtfpython/stargazers
0 watchinghttps://github.com/LiquidFun/wtfpython/watchers
0 forkshttps://github.com/LiquidFun/wtfpython/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FLiquidFun%2Fwtfpython&report=LiquidFun+%28user%29
Releaseshttps://github.com/LiquidFun/wtfpython/releases
2 tags https://github.com/LiquidFun/wtfpython/tags
Packages 0https://github.com/users/LiquidFun/packages?repo_name=wtfpython
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.