Introduction
Introduction Statistics Contact Development Disclaimer Help
Post AjQPgxaNAvNmfTZ5Bg by [email protected]
More posts by [email protected]
Post #AjQDPEBzUhQFVhwFvs by [email protected]
0 likes, 1 repeats
what the hell
Post #AjQDXaVkOj0p2zALdw by [email protected]
0 likes, 0 repeats
f"\\{ord(m[0]):03o}" is my face after getting jumpscared by this issue
Post #AjQDtiZ38Ws8OXGMGu by [email protected]
0 likes, 0 repeats
@whitequark that writelines list comprehension is neat!
Post #AjQDtifQknyaiKFSDY by [email protected]
0 likes, 0 repeats
@feuerrot i could have dropped outermost [] from it for marginally smaller memo…
Post #AjQGGDKZczFi5vLYFE by [email protected]
0 likes, 0 repeats
@whitequark Nightmares I forsee with the cpython strategy:- Imagine at some poi…
Post #AjQHbgPSoB3gJgR1pw by [email protected]
0 likes, 0 repeats
@whitequark Endless pain and misery for people who decide to just throw away an…
Post #AjQHbgUmUPJOaAvH7o by [email protected]
0 likes, 0 repeats
@typhon now try actually understanding the logic before commenting
Post #AjQHgzO5g0RichK4sC by [email protected]
0 likes, 0 repeats
@whitequark those octal escape sequences aren't going to run into the probl…
Post #AjQHgzTlKuz0uHybiK by [email protected]
0 likes, 0 repeats
@typeswitch in c, octal escapes are specifically 3 digits, while hex and binary…
Post #AjQHmmHnIhilj88cOu by [email protected]
0 likes, 0 repeats
@[email protected] what if instead of re.sub you used str.maketrans an…
Post #AjQHmmN6yvyTzccrgm by [email protected]
0 likes, 0 repeats
@cute_stuff why would i want to do that
Post #AjQHpFOU36ywaBRcZM by [email protected]
0 likes, 0 repeats
@bimmer lol fuck off
Post #AjQHsytfKKBGZmoHk8 by [email protected]
0 likes, 0 repeats
this post has reached some corner of fediverse where people offer unsolicited a…
Post #AjQI1AV64INAshDpya by [email protected]
0 likes, 0 repeats
@whitequark good to know 🙃 C continues to amaze
Post #AjQI1AaljCuTAHsMoi by [email protected]
0 likes, 0 repeats
@typeswitch i had a poll about that a few weeks ago, lemme see if i can find it
Post #AjQI7JyLlV9jzkq4y8 by [email protected]
0 likes, 0 repeats
@typeswitch here we go https://mastodon.social/@whitequark/112403120959273105i&…
Post #AjQIIktvz7tohNE41I by [email protected]
0 likes, 0 repeats
@mcc @whitequark there's already a python AOT compiler that strips docstrin…
Post #AjQIIkzxciih042sPg by [email protected]
0 likes, 0 repeats
@val @whitequark Oh god
Post #AjQIIl6LEzp9Jr1yMK by [email protected]
0 likes, 0 repeats
@mcc @val it also strips assertsaren't there some libraries that rely on lo…
Post #AjQIYAO5VeSo5Rg86i by [email protected]
0 likes, 0 repeats
@whitequark *squints* operating systems having a normal one again I see
Post #AjQIYAU79FHgO8UwV6 by [email protected]
0 likes, 0 repeats
@tomoyo i _think_ this one is Python's and/or GNU's fault? i honestly h…
Post #AjQIgdLli9YQEHdBse by [email protected]
0 likes, 0 repeats
@whitequark @mcc I believe Click only uses them to display help to users. My IR…
Post #AjQIgdSVJ6wSZAmZNY by [email protected]
0 likes, 0 repeats
@val @mcc but that's load-bearing! I would be very upset if an optimizing c…
Post #AjQIm1LHw5cw5VyWVE by [email protected]
0 likes, 1 repeats
@whitequark sorry, my reboggle button is a bit cursed like that
Post #AjQIoLFEuULoOSFj4C by [email protected]
0 likes, 0 repeats
@whitequark @val This is miserable and it's wild that this isn't happen…
Post #AjQIxgEuDp7E75Y8Qq by [email protected]
0 likes, 0 repeats
@0xabad1dea oh no! my condolences, living like that must be exhausting
Post #AjQLE3q2RuzLqUrB5c by [email protected]
0 likes, 1 repeats
update: for whatever cursed reason, libedit seems to consider the `_HiStOrY_V2_…
Post #AjQLMMUYymoY11lncG by [email protected]
0 likes, 0 repeats
if i remove `readline.set_history_length(1000)` that i've had working fine …
Post #AjQMc4VXiCMwpHHc36 by [email protected]
0 likes, 0 repeats
okay, at least I no longer need to do the very broken `if 'libedit' in …
Post #AjQN0JjgkHjz0OSdGa by [email protected]
0 likes, 0 repeats
this is an absolutely bonkers amount of make-work resulting from the libedit tr…
Post #AjQNMROAyLkd6ywpDU by [email protected]
0 likes, 0 repeats
@whitequark ># meow, why can't libedit do this itself ;_; am sad catThat…
Post #AjQNheMBx8VvPd8JBw by [email protected]
0 likes, 0 repeats
what the fuck is going on https://github.com/python/cpython/blob/main/Modules/r…
Post #AjQOcGwjfJKHJPE3Si by [email protected]
0 likes, 0 repeats
@whitequark in-band signaling sure sounds like the Unix philosophy 🫠
Post #AjQOjaSzUJI9scni88 by [email protected]
0 likes, 0 repeats
filed a cpython issue with detailed workarounds, please be nice if you comment …
Post #AjQPgxaNAvNmfTZ5Bg by [email protected]
0 likes, 0 repeats
@mcc @whitequark I'm probably asking myself deeper into the hole, but: if t…
Post #AjQPgxgOoWCeyANta4 by [email protected]
0 likes, 0 repeats
@Pashhur @mcc they started doing this in 3.13 (unreleased)
Post #AjQQIs4Q85kMZBhGHg by [email protected]
0 likes, 0 repeats
@whitequark Ah yes, string assert, that will never break ever
Post #AjQQIsARlgZErsW4g4 by [email protected]
0 likes, 0 repeats
@shram86 you should read the comment after it! it will be enlightening
Post #AjQSTrrNS4cZ0Xy208 by [email protected]
0 likes, 0 repeats
@whitequark indeed
Post #AjQSTrxP5fRRJEmqOW by [email protected]
0 likes, 0 repeats
@shram86 though in unreleased 3.13 there's `readline.backend` and the final…
Post #AjQtNpA7GanzfL4i24 by [email protected]
0 likes, 1 repeats
@whitequark meow
Post #AjQtbrJ45gu0N1x8lc by [email protected]
0 likes, 0 repeats
@willasaywhat meow
Post #AjTztsYRN76qeX053Y by [email protected]
0 likes, 0 repeats
@whitequark Hello!Just found your post here.It does look like the readline to l…
Post #AjUN0WbTgJCnXtYieW by [email protected]
0 likes, 0 repeats
@whitequark I commented on the issue with my CPython dev hat on. That comment i…
Post #AjUN0WhVJu1fqaNX2u by [email protected]
0 likes, 0 repeats
@encukou thank you for the detailed comment! I am not; I literally just ran hea…
Post #AjXT3c2X6kXgTSwuaO by [email protected]
0 likes, 0 repeats
@whitequark @mcc that's why no one uses -OO. or even -O because there are w…
Post #AjXT3cuPsPdzAa9wZc by [email protected]
0 likes, 0 repeats
@val @whitequark @mcc I use the standard `python -O ...` on one production syst…
Post #AjXT3d05XKBHSAoTPk by [email protected]
0 likes, 0 repeats
@shawnbrown @val @mcc wouldnt that defeat the purpose of testing
Post #AjXY77QLNXiKRwZsjQ by [email protected]
0 likes, 0 repeats
@whitequark @val @mcc By testing with optimization on, I can make sure that I&#…
Post #AjXY77WN18XCkdOh7o by [email protected]
0 likes, 0 repeats
@shawnbrown @val @mcc but you also remove the checks for consistency of interna…
Post #AjXY9aTqJoQH96OKvY by [email protected]
0 likes, 0 repeats
@shawnbrown @val @mcc (also rust has the right idea where it has both assert an…
Post #AyjvuftTz5aUupSGnI by [email protected]
0 likes, 0 repeats
@whitequark "drop-in" replacement at home
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.