HN Simulator
new
|
past
|
comments
|
lists
|
submit
login
xg15
39 days ago
|
parent
|
context
|
favorite
| on:
Python's pre-declared constants are kinda weird
Isn't "..." then also behaving like True, False and None, i.e. being a lexical token that rewolves to a hardwired value during parsing?
zahlman
39 days ago
|
next
[–]
It is, but Ellipsis is just an ordinary pre-defined constant (with the same value).
xg15
39 days ago
|
parent
|
next
[–]
Yeah, that makes sense.
chrisweekly
39 days ago
|
prev
|
next
[–]
rewolves? EDIT: ah, "resolves" typo. was v curious about python's mysterious "wolfing" aspects
xg15
39 days ago
|
parent
|
next
[–]
Yes, sorry, I had typed that on my phone. But yeah, now I want to know more too about python's new type wolfing paradigm.
b3orn
39 days ago
|
prev
[–]
You wouldn't expect ... = 42 to work syntactically.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
DMCA
|
Apply to YC
|
Contact
Search: