René's URL Explorer Experiment


Title: GitHub - PythonNuts/wtfpython at development · GitHub

Open Graph Title: GitHub - PythonNuts/wtfpython at development

X Title: GitHub - PythonNuts/wtfpython at development

Description: A collection of surprising Python snippets and lesser-known features. - GitHub - PythonNuts/wtfpython at development

Open Graph Description: A collection of surprising Python snippets and lesser-known features. - PythonNuts/wtfpython

X Description: A collection of surprising Python snippets and lesser-known features. - PythonNuts/wtfpython

Opengraph URL: https://github.com/PythonNuts/wtfpython/tree/development

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/tree/*name(/*path)
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:eb4392df-b124-5af8-f471-68f991f4fb4b
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE7EE:322768:30907A:422CB4:6AFC049D
html-safe-nonce1bb64e5df42def916c17bcfefd436e21e89f424aa81821492ce28f48354f5628
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0VFOjMyMjc2ODozMDkwN0E6NDIyQ0I0OjZBRkMwNDlEIiwidmlzaXRvcl9pZCI6IjExODY4MzczNDI3MTk4MzczNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac65c9aea9d7397707997e4985d58619d5b5311a8632fbcd94c944202f755da5e5
hovercard-subject-tagrepository:119226570
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///files/disambiguate
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PythonNuts/wtfpython/tree/development
twitter:imagehttps://opengraph.githubassets.com/ef76c5e88a4b4f3bdbf29f2bf3ca373e1198d001d94996edc0a39039063a1329/PythonNuts/wtfpython
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ef76c5e88a4b4f3bdbf29f2bf3ca373e1198d001d94996edc0a39039063a1329/PythonNuts/wtfpython
og:image:altA collection of surprising Python snippets and lesser-known features. - PythonNuts/wtfpython
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
turbo-cache-controlno-cache
go-importgithub.com/PythonNuts/wtfpython git https://github.com/PythonNuts/wtfpython.git
octolytics-dimension-user_id9855267
octolytics-dimension-user_loginPythonNuts
octolytics-dimension-repository_id119226570
octolytics-dimension-repository_nwoPythonNuts/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
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/PythonNuts/wtfpython/tree/development#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonNuts%2Fwtfpython%2Ftree%2Fdevelopment
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonNuts%2Fwtfpython%2Ftree%2Fdevelopment
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Ffiles%2Fdisambiguate&source=header-repo&source_repo=PythonNuts%2Fwtfpython
Reloadhttps://redirect.github.com/PythonNuts/wtfpython/tree/development
Reloadhttps://redirect.github.com/PythonNuts/wtfpython/tree/development
Reloadhttps://redirect.github.com/PythonNuts/wtfpython/tree/development
PythonNutshttps://redirect.github.com/PythonNuts
wtfpythonhttps://redirect.github.com/PythonNuts/wtfpython
Codehttps://redirect.github.com/PythonNuts/wtfpython
Pull requestshttps://redirect.github.com/PythonNuts/wtfpython/pulls
Actionshttps://redirect.github.com/PythonNuts/wtfpython/actions
Projectshttps://redirect.github.com/PythonNuts/wtfpython/projects
Wikihttps://redirect.github.com/PythonNuts/wtfpython/wiki
Security and qualityhttps://redirect.github.com/PythonNuts/wtfpython/security
Insightshttps://redirect.github.com/PythonNuts/wtfpython/pulse
https://redirect.github.com/PythonNuts/wtfpython
wtfpythonhttps://redirect.github.com/PythonNuts/wtfpython
satwikkansal/wtfpythonhttps://redirect.github.com/satwikkansal/wtfpython
Notificationshttps://redirect.github.com/login?return_to=%2FPythonNuts%2Fwtfpython
Fork0 (0)https://redirect.github.com/login?return_to=%2FPythonNuts%2Fwtfpython
Star0 (0)https://redirect.github.com/login?return_to=%2FPythonNuts%2Fwtfpython
Readmehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#readme-ov-file
Licensehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#License-1-ov-file
Contributinghttps://redirect.github.com/PythonNuts/wtfpython/tree/development#contributing-ov-file
Activityhttps://redirect.github.com/PythonNuts/wtfpython/activity
Custom propertieshttps://redirect.github.com/PythonNuts/wtfpython/custom-properties
0 forkshttps://redirect.github.com/PythonNuts/wtfpython/forks
Report repositoryhttps://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FPythonNuts%2Fwtfpython&report=PythonNuts+%28user%29
Brancheshttps://redirect.github.com/PythonNuts/wtfpython/branches
Tagshttps://redirect.github.com/PythonNuts/wtfpython/tags
https://redirect.github.com/PythonNuts/wtfpython/branches
https://redirect.github.com/PythonNuts/wtfpython/tags
133 Commitshttps://redirect.github.com/PythonNuts/wtfpython/commits/development/
https://redirect.github.com/PythonNuts/wtfpython/commits/development/
images/tic-tac-toehttps://redirect.github.com/PythonNuts/wtfpython/tree/development/images/tic-tac-toe
images/tic-tac-toehttps://redirect.github.com/PythonNuts/wtfpython/tree/development/images/tic-tac-toe
.gitattributeshttps://redirect.github.com/PythonNuts/wtfpython/blob/development/.gitattributes
.gitattributeshttps://redirect.github.com/PythonNuts/wtfpython/blob/development/.gitattributes
.gitignorehttps://redirect.github.com/PythonNuts/wtfpython/blob/development/.gitignore
.gitignorehttps://redirect.github.com/PythonNuts/wtfpython/blob/development/.gitignore
.npmignorehttps://redirect.github.com/PythonNuts/wtfpython/blob/development/.npmignore
.npmignorehttps://redirect.github.com/PythonNuts/wtfpython/blob/development/.npmignore
CONTRIBUTING.mdhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/CONTRIBUTING.md
CONTRIBUTING.mdhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/CONTRIBUTING.md
LICENSEhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/LICENSE
LICENSEhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/LICENSE
README.mdhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/README.md
README.mdhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/README.md
mixed_tabs_and_spaces.pyhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/mixed_tabs_and_spaces.py
mixed_tabs_and_spaces.pyhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/mixed_tabs_and_spaces.py
package.jsonhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/package.json
package.jsonhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/package.json
wtfpythonhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/wtfpython
wtfpythonhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/wtfpython
READMEhttps://redirect.github.com/PythonNuts/wtfpython/tree/development
Contributinghttps://redirect.github.com/PythonNuts/wtfpython/tree/development
Licensehttps://redirect.github.com/PythonNuts/wtfpython/tree/development
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-what-the-fck-python--
http://www.wtfpl.net
https://redirect.github.com/PythonNuts/wtfpython/tree/development#table-of-contents
Structure of the Exampleshttps://redirect.github.com/PythonNuts/wtfpython/tree/development#structure-of-the-examples
Usagehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#usage
👀 Exampleshttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-examples
Skipping lines?https://redirect.github.com/PythonNuts/wtfpython/tree/development#skipping-lines
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation
Well, something is fishy...https://redirect.github.com/PythonNuts/wtfpython/tree/development#well-something-is-fishy
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-1
Time for some hash brownies!https://redirect.github.com/PythonNuts/wtfpython/tree/development#time-for-some-hash-brownies
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-2
Evaluation time discrepancyhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#evaluation-time-discrepancy
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-3
Modifying a dictionary while iterating over ithttps://redirect.github.com/PythonNuts/wtfpython/tree/development#modifying-a-dictionary-while-iterating-over-it
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation
Deleting a list item while iterating over ithttps://redirect.github.com/PythonNuts/wtfpython/tree/development#deleting-a-list-item-while-iterating-over-it
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-1
Backslashes at the end of stringhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#backslashes-at-the-end-of-string
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-4
String interninghttps://redirect.github.com/PythonNuts/wtfpython/tree/development#string-interning
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-2
Let's make a giant string!https://redirect.github.com/PythonNuts/wtfpython/tree/development#lets-make-a-giant-string
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-5
Yes, it exists!https://redirect.github.com/PythonNuts/wtfpython/tree/development#yes-it-exists
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-3
is is not what it is!https://redirect.github.com/PythonNuts/wtfpython/tree/development#is-is-not-what-it-is
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-4
is not ... is not is (not ...)https://redirect.github.com/PythonNuts/wtfpython/tree/development#is-not--is-not-is-not-
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-6
The function inside loop sticks to the same outputhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#the-function-inside-loop-sticks-to-the-same-output
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-7
Loop variables leaking out of local scope!https://redirect.github.com/PythonNuts/wtfpython/tree/development#loop-variables-leaking-out-of-local-scope
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-5
A tic-tac-toe where X wins in the first attempt!https://redirect.github.com/PythonNuts/wtfpython/tree/development#a-tic-tac-toe-where-x-wins-in-the-first-attempt
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-6
Beware of default mutable arguments!https://redirect.github.com/PythonNuts/wtfpython/tree/development#beware-of-default-mutable-arguments
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-7
Same operands, different story!https://redirect.github.com/PythonNuts/wtfpython/tree/development#same-operands-different-story
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-8
Mutating the immutable!https://redirect.github.com/PythonNuts/wtfpython/tree/development#mutating-the-immutable
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-9
Using a variable not defined in scopehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#using-a-variable-not-defined-in-scope
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-10
The disappearing variable from outer scopehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#the-disappearing-variable-from-outer-scope
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-11
Return return everywhere!https://redirect.github.com/PythonNuts/wtfpython/tree/development#return-return-everywhere
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-12
When True is actually Falsehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#when-true-is-actually-false
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-13
Be careful with chained operationshttps://redirect.github.com/PythonNuts/wtfpython/tree/development#be-careful-with-chained-operations
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-14
Name resolution ignoring class scopehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#name-resolution-ignoring-class-scope
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-8
From filled to None in one instruction...https://redirect.github.com/PythonNuts/wtfpython/tree/development#from-filled-to-none-in-one-instruction
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-9
Explicit typecast of stringshttps://redirect.github.com/PythonNuts/wtfpython/tree/development#explicit-typecast-of-strings
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-15
Class attributes and instance attributeshttps://redirect.github.com/PythonNuts/wtfpython/tree/development#class-attributes-and-instance-attributes
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-16
Catching the Exceptions!https://redirect.github.com/PythonNuts/wtfpython/tree/development#catching-the-exceptions
💡 Explanationhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-10
Midnight time doesn't exist?https://redirect.github.com/PythonNuts/wtfpython/tree/development#midnight-time-doesnt-exist
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-17
What's wrong with booleans?https://redirect.github.com/PythonNuts/wtfpython/tree/development#whats-wrong-with-booleans
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-18
Needle in a Haystackhttps://redirect.github.com/PythonNuts/wtfpython/tree/development#needle-in-a-haystack
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-19
yielding Nonehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#yielding-none
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-20
The surprising commahttps://redirect.github.com/PythonNuts/wtfpython/tree/development#the-surprising-comma
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-21
For what?https://redirect.github.com/PythonNuts/wtfpython/tree/development#for-what
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-22
not knot!https://redirect.github.com/PythonNuts/wtfpython/tree/development#not-knot
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-23
Let's see if you can guess this?https://redirect.github.com/PythonNuts/wtfpython/tree/development#lets-see-if-you-can-guess-this
💡 Explanation:https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-24
Minor Oneshttps://redirect.github.com/PythonNuts/wtfpython/tree/development#minor-ones
TODO: Hell of an example!https://redirect.github.com/PythonNuts/wtfpython/tree/development#todo-hell-of-an-example
Contributinghttps://redirect.github.com/PythonNuts/wtfpython/tree/development#contributing
Acknowledgementshttps://redirect.github.com/PythonNuts/wtfpython/tree/development#acknowledgements
Some nice Links!https://redirect.github.com/PythonNuts/wtfpython/tree/development#some-nice-links
🎓 Licensehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#-license
https://redirect.github.com/PythonNuts/wtfpython/tree/development#structure-of-the-examples
https://redirect.github.com/PythonNuts/wtfpython/tree/development#some-fancy-title
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation
https://redirect.github.com/PythonNuts/wtfpython/tree/development#usage
herehttps://github.com/satwikkansal/wtfPython
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-examples
https://redirect.github.com/PythonNuts/wtfpython/tree/development#skipping-lines
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-1
code pointhttps://en.wikipedia.org/wiki/Code_point
https://redirect.github.com/PythonNuts/wtfpython/tree/development#well-something-is-fishy
mixed_tabs_and_spaces.pyhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/mixed_tabs_and_spaces.py
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-2
https://redirect.github.com/PythonNuts/wtfpython/tree/development#time-for-some-hash-brownies
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-3
answerhttps://stackoverflow.com/a/32211042/4354153
https://redirect.github.com/PythonNuts/wtfpython/tree/development#evaluation-time-discrepancy
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-4
generatorhttps://wiki.python.org/moin/Generators
https://redirect.github.com/PythonNuts/wtfpython/tree/development#modifying-a-dictionary-while-iterating-over-it
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-5
threadhttps://stackoverflow.com/questions/44763802/bug-in-python-dict
https://redirect.github.com/PythonNuts/wtfpython/tree/development#deleting-a-list-item-while-iterating-over-it
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-6
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://redirect.github.com/PythonNuts/wtfpython/tree/development#backslashes-at-the-end-of-string
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-7
https://redirect.github.com/PythonNuts/wtfpython/tree/development#string-interning
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-8
herehttps://stackoverflow.com/questions/24245324/about-the-changing-id-of-an-immutable-string
https://redirect.github.com/PythonNuts/wtfpython/tree/development#lets-make-a-giant-string
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-9
timeithttps://docs.python.org/3/library/timeit.html
https://redirect.github.com/PythonNuts/wtfpython/tree/development#yes-it-exists
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-10
https://redirect.github.com/PythonNuts/wtfpython/tree/development#is-is-not-what-it-is
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-11
https://docs.python.org/3/c-api/long.htmlhttps://docs.python.org/3/c-api/long.html
https://redirect.github.com/PythonNuts/wtfpython/tree/development#is-not--is-not-is-not-
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-12
https://redirect.github.com/PythonNuts/wtfpython/tree/development#the-function-inside-loop-sticks-to-the-same-output
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-13
https://redirect.github.com/PythonNuts/wtfpython/tree/development#loop-variables-leaking-out-of-local-scope
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-14
What’s New In Python 3.0https://docs.python.org/3/whatsnew/3.0.html
https://redirect.github.com/PythonNuts/wtfpython/tree/development#a-tic-tac-toe-where-x-wins-in-the-first-attempt
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-15
https://redirect.github.com/PythonNuts/wtfpython/blob/development/images/tic-tac-toe/after_row_initialized.png
https://redirect.github.com/PythonNuts/wtfpython/blob/development/images/tic-tac-toe/after_board_initialized.png
https://redirect.github.com/PythonNuts/wtfpython/tree/development#beware-of-default-mutable-arguments
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-16
https://redirect.github.com/PythonNuts/wtfpython/tree/development#same-operands-different-story
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-17
https://redirect.github.com/PythonNuts/wtfpython/tree/development#mutating-the-immutable
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-18
https://docs.python.org/2/reference/datamodel.htmlhttps://docs.python.org/2/reference/datamodel.html
https://redirect.github.com/PythonNuts/wtfpython/tree/development#using-a-variable-not-defined-in-scope
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-19
thishttp://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html
https://redirect.github.com/PythonNuts/wtfpython/tree/development#the-disappearing-variable-from-outer-scope
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-20
https://docs.python.org/3/reference/compound_stmts.html#excepthttps://docs.python.org/3/reference/compound_stmts.html#except
https://redirect.github.com/PythonNuts/wtfpython/tree/development#return-return-everywhere
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-21
https://redirect.github.com/PythonNuts/wtfpython/tree/development#when-true-is-actually-false
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-22
https://redirect.github.com/PythonNuts/wtfpython/tree/development#be-careful-with-chained-operations
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-23
https://docs.python.org/2/reference/expressions.html#not-inhttps://docs.python.org/2/reference/expressions.html#not-in
https://redirect.github.com/PythonNuts/wtfpython/tree/development#name-resolution-ignoring-class-scope
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-24
https://redirect.github.com/PythonNuts/wtfpython/tree/development#from-filled-to-none-in-one-instruction
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-25
herehttp://docs.python.org/2/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list
https://redirect.github.com/PythonNuts/wtfpython/tree/development#explicit-typecast-of-strings
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-26
https://redirect.github.com/PythonNuts/wtfpython/tree/development#class-attributes-and-instance-attributes
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-27
https://redirect.github.com/PythonNuts/wtfpython/tree/development#catching-the-exceptions
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-28
https://redirect.github.com/PythonNuts/wtfpython/tree/development#midnight-time-doesnt-exist
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-29
https://redirect.github.com/PythonNuts/wtfpython/tree/development#whats-wrong-with-booleans
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-30
answerhttps://stackoverflow.com/a/8169049/4354153
https://redirect.github.com/PythonNuts/wtfpython/tree/development#needle-in-a-haystack
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-31
https://redirect.github.com/PythonNuts/wtfpython/tree/development#yielding-none
thishttps://github.com/satwikkansal/wtfpython/issues/32
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-32
https://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressionshttps://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressions
http://bugs.python.org/issue10544http://bugs.python.org/issue10544
https://redirect.github.com/PythonNuts/wtfpython/tree/development#the-surprising-comma
thishttps://github.com/satwikkansal/wtfPython/issues/1
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-33
fixed in Python 3.6https://bugs.python.org/issue9232
thishttps://bugs.python.org/issue9232#msg248399
https://redirect.github.com/PythonNuts/wtfpython/tree/development#for-what
thishttps://github.com/satwikkansal/wtfpython/issues/23
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-34
Python grammarhttps://docs.python.org/3/reference/grammar.html
thishttps://github.com/satwikkansal/wtfPython/issues/11
https://redirect.github.com/PythonNuts/wtfpython/tree/development#not-knot
thishttps://github.com/satwikkansal/wtfPython/issues/1
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-35
https://redirect.github.com/PythonNuts/wtfpython/tree/development#lets-see-if-you-can-guess-this
thishttps://github.com/satwikkansal/wtfPython/issues/9
https://redirect.github.com/PythonNuts/wtfpython/tree/development#-explanation-36
Python language referencehttps://docs.python.org/2/reference/simple_stmts.html#assignment-statements
https://redirect.github.com/PythonNuts/wtfpython/tree/development#minor-ones
sequenceshttps://docs.python.org/3/glossary.html#term-sequence
threadhttps://stackoverflow.com/questions/3654830/why-are-there-no-and-operators-in-python
thishttps://github.com/satwikkansal/wtfpython/issues/40
string literal concatenationhttps://docs.python.org/2/reference/lexical_analysis.html#string-literal-concatenation
Global Interpreter Lockhttps://wiki.python.org/moin/GlobalInterpreterLock
multiprocessinghttps://docs.python.org/2/library/multiprocessing.html
https://redirect.github.com/PythonNuts/wtfpython/tree/development#todo-hell-of-an-example
https://redirect.github.com/PythonNuts/wtfpython/tree/development#contributing
issuehttps://github.com/satwikkansal/wtfpython/issues/new
CONTRIBUTING.mdhttps://redirect.github.com/PythonNuts/wtfpython/blob/development/CONTRIBUTING.md
issuehttps://github.com/satwikkansal/wtfpython/issues/new
channelhttps://gitter.im/wtfpython/Lobby
https://redirect.github.com/PythonNuts/wtfpython/tree/development#acknowledgements
wtfjshttps://github.com/denysdovhan/wtfjs
https://redirect.github.com/PythonNuts/wtfpython/tree/development#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://redirect.github.com/PythonNuts/wtfpython/tree/development#-license
http://www.wtfpl.net
Satwik Kansalhttps://satwikkansal.xyz
https://redirect.github.com/PythonNuts/wtfpython/tree/development#donation
Readmehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#readme-ov-file
Licensehttps://redirect.github.com/PythonNuts/wtfpython/tree/development#License-1-ov-file
Contributinghttps://redirect.github.com/PythonNuts/wtfpython/tree/development#contributing-ov-file
Activityhttps://redirect.github.com/PythonNuts/wtfpython/activity
Custom propertieshttps://redirect.github.com/PythonNuts/wtfpython/custom-properties
0 forkshttps://redirect.github.com/PythonNuts/wtfpython/forks
Report repositoryhttps://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FPythonNuts%2Fwtfpython&report=PythonNuts+%28user%29
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.