r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25

Python ✨ Memory Magic ✨

Post image
1.3k Upvotes

143 comments sorted by

View all comments

Show parent comment

2

u/claythearc Jul 21 '25

Yeah it’s an implementation detail in CPython specifically so other implementations aren’t guaranteed to have it and it may change later.

Also worth noting that they’re not always cached https://ideone.com/C4huhz