kbehlers

Results 5 comments of kbehlers

@tjwalch Any chance of this PR getting accepted?

Here's a minimal reproducible example: ```python3 from celery import Celery, Task app = Celery() class CustomTask(Task): name = "custom_task" def run(self): return 'hello' app.tasks.register(CustomTask()) # broken, AttributeError: 'NoneType' object has...

Related issue and minimal reproducible example: https://github.com/celery/celery/issues/7173#issuecomment-1206584450

@LefterisJP I believe the warning is legitimate. The call to `.astimezone()` [uses your local system timezone](https://docs.python.org/3/library/datetime.html#datetime.datetime.astimezone): > If called without arguments (or with tz=None) the system local timezone is assumed...

@djmattyg007 Yes, I would agree 🙂 We have some legacy code in pytz that we aren't prepared to rewrite, but we also don't want any new usage of pytz sneaking...