News for hackers. Stuff that matters.
Re:How to Port from Python 2 to Python 3 (2019) by o_x on Thursday January 23, 2020 @08:32AM (#22127361)
Isn't it ironic that Sentry is one of the tools mentioned in py2->py3 migration? (Sentry is on py2 and as far as I remember they were not very optimistic about migrating)
Re:How to Port from Python 2 to Python 3 (2019) by zojirushibottle on Thursday January 23, 2020 @09:19AM (#22127694)
that's correct. sentry itself is on python 2.7, not the python client.

not to pick on sentry here, but you know, my experience is that people are having a hard time migrating due to them using obscure tricks and features of python 2.7. so their code is breaking because the language evolved.

the saying goes write dumb code or something because debugging is twice as hard. if there is anything to learn from all this, it's to write dumb code because maintenance is twice as hard too.

that's all that is happening really!

Re:How to Port from Python 2 to Python 3 (2019) by ggregoire on Thursday January 23, 2020 @11:03AM (#22128573)
Why would you even build a logs collector in python? Especially if it’s your core business and you know you will need scale and reliability. You kinda shoot yourself in the foot.
Re:How to Port from Python 2 to Python 3 (2019) by baq on Thursday January 23, 2020 @02:57PM (#22131214)
they're using python 2.7. perhaps started on an earlier one. maybe there was nothing except java 1.4 when they started.