Timeline for 418: I'm a teapot
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2021 at 22:10 | history | edited | Makonede | CC BY-SA 4.0 |
app.run's first argument is not the module name, but the IP address to host on
|
Jun 8, 2021 at 22:08 | history | edited | KinuTheDragon | CC BY-SA 4.0 |
"" in ungolfed -> __name__
|
Jun 8, 2021 at 22:04 | history | edited | Makonede | CC BY-SA 4.0 |
added 6 characters in body; deleted 1 character in body; added 1 character in body
|
Jun 8, 2021 at 22:02 | comment | added | KinuTheDragon | @Makonede Oops. Right again, Makonede! | |
Jun 8, 2021 at 22:02 | history | edited | KinuTheDragon | CC BY-SA 4.0 |
app -> a, ; instead of :=
|
Jun 8, 2021 at 22:01 | comment | added | Makonede |
Also -1 without := : a=Flask('');a.route('/')(lambda:abort(418));a.run('',80)
|
|
Jun 8, 2021 at 22:01 | comment | added | KinuTheDragon | @Makonede Oops! I didn't catch that either, hehe. | |
Jun 8, 2021 at 21:59 | comment | added | Makonede |
wait i'm dumb why use app when you can use a lol. Saves 4 bytes
|
|
Jun 8, 2021 at 21:56 | history | edited | KinuTheDragon | CC BY-SA 4.0 |
Makonede fix
|
Jun 8, 2021 at 21:27 | comment | added | Makonede |
You never started the server. Working 80 byte solution: from flask import*;(app:=Flask('')).route('/')(lambda:abort(418));app.run('',80)
|
|
Jun 8, 2021 at 20:39 | history | answered | KinuTheDragon | CC BY-SA 4.0 |