|
|
|
|
|
by jakear
2327 days ago
|
|
If you’re the only one writing it and you’re the only one running it, it’s probably fine. But if I’m putting a file out there that will only work in 3.7, it’d be nice if any potential users of that file would get a good error message if they try to run it on 3.5, rather than wrong results. I could potentially assert a version, but do I really want to do that each time I wrote something that might be used somewhere else? And yes of course I could add a line of documentation, but there is a 100% chance I’d still get bug reports from people on 3.5. |
|
If you are just distributing raw python files then congratulations you’ve just realised why packaging is valuable.