﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27138	timezone.localtime accepts naive datetimes on Python ≥ 3.6	Aymeric Augustin	Joachim Jablon	"`timezone.localtime` is documented not to accept naive datetimes, however, it does on Python ≥ 3.6, cf. a7a7ecd2b026c61a39a46d2d7eced0e06a92c970.

For the sake of consistency across Python versions, I think it would be best to implement one of the following two options:

1. maintain the current API, check for naive datetimes and raise an exception,
2. accept naive datetimes, convert them to aware datetimes with a warning (like Django does in other places) and update the documentation accordingly.

See https://github.com/django/django/pull/7134#issuecomment-241388846 for a longer discussion of option 2."	Bug	closed	Utilities	dev	Normal	fixed		joachim@…	Accepted	1	0	0	0	0	0
