@willmcgugan@MarximusMaximus How did you solve this? I had the same issue with a network packet generator that deviated too much from the desired data rate. In the end I added kind of a control control that measured the actual sleep interval with the high resolution timer
@ChadAChavez@hammer_mt@AlSweigart Probably both. As others have pointed out, Arondir (the black elf) plays a major role and is neither a coward nor a jerk - doesn't he count?
@webology@samwillis@pyscript_dev@nedbat The expecthook and restart as a subprocess was more for dramatic effect though. I want to try out something based on module __getattr__, but I still haven't figured how to map install name to import name (in case they differ)
@webology@samwillis@pyscript_dev@nedbat It should definitely be possible to create something like "from pypi import typer.v0_6_0", which is valid syntax. Pip normalizes separators in the package name to dashes anyway. The leading v and the underscores should be enough to make the version number acceptable
@webology@samwillis@pyscript_dev@nedbat A while ago I hacked together something related, minus the version specification (also inspired by twitter): https://t.co/qUFMeyNYK0
@haxor That's why I like pytest's tmp_path fixture. Given that you can use pytest and don't have issues with the fixture mechanism or pathlib's path objects, you often don't need any of those imports
@HeyChelseaTroy The "what makes this song great" episode by Rick Beato on YouTube has really helped me learn appreciate this song, its incredible production and the perfect guitar solo
@HenrySchreiner3@cs01_software I didn't want to actually suggest a name change, but just make a cheap (half)joke. As a C++ developer where I must, Python developer where I can I'm really excited about your past, present and future work, under whatever name it may be
@brianokken Sometimes I write that tiny program directly as a test (with pytest of course) - I write a test that makes assertions not about my own code, but about the library's code