Tf.signal.hann_window returns symmetric outputs for periodic = True and odd window lengths

So matlab and pytorch generally give a non symmetric output for periodic hann windows despite the window length being odd or even, I am curious why tf choses to deviate from this convention and give a symmetric output for odd windows when periodic is true

This occurs for all odd values but ive attached 2 examples aswell